I am trying to send an image to server using the HTTP. The external libraries
httpmime-4.0-beta2.jar
commons-io-2.4.jar
apache-mime4j-0.6.jar
have been added.
I am getting the following logcat output as error,what could be the reason?
08-29 15:49:19.422: W/dalvikvm(2723): Unable to resolve superclass of Lorg/apache/http/entity/mime/content/AbstractContentBody; (849)
08-29 15:49:19.462: W/dalvikvm(2723): Link of class 'Lorg/apache/http/entity/mime/content/AbstractContentBody;' failed
08-29 15:49:19.462: W/dalvikvm(2723): Unable to resolve superclass of Lorg/apache/http/entity/mime/content/InputStreamBody; (838)
08-29 15:49:19.462: W/dalvikvm(2723): Link of class 'Lorg/apache/http/entity/mime/content/InputStreamBody;' failed
08-29 15:49:19.462: E/dalvikvm(2723): Could not find class 'org.apache.http.entity.mime.content.InputStreamBody', referenced from method com.example.photoupload.MainActivity.onCreate
08-29 15:49:19.462: W/dalvikvm(2723): VFY: unable to resolve new-instance 841 (Lorg/apache/http/entity/mime/content/InputStreamBody;) in Lcom/example/photoupload/MainActivity;
08-29 15:49:19.462: D/dalvikvm(2723): VFY: replacing opcode 0x22 at 0x0043
08-29 15:49:19.832: D/dalvikvm(2723): GC_FOR_ALLOC freed 52K, 3% free 8964K/9223K, paused 81ms
08-29 15:49:19.882: D/dalvikvm(2723): GC_FOR_ALLOC freed 4K, 4% free 9216K/9543K, paused 40ms
08-29 15:49:19.892: D/AndroidRuntime(2723): Shutting down VM
08-29 15:49:19.892: W/dalvikvm(2723): threadid=1: thread exiting with uncaught exception (group=0x40014760)
08-29 15:49:19.892: E/AndroidRuntime(2723): FATAL EXCEPTION: main
08-29 15:49:19.892: E/AndroidRuntime(2723): java.lang.NoClassDefFoundError: org.apache.http.entity.mime.content.InputStreamBody
08-29 15:49:19.892: E/AndroidRuntime(2723): at com.example.photoupload.MainActivity.onCreate(MainActivity.java:39)
08-29 15:49:19.892: E/AndroidRuntime(2723): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1048)
08-29 15:49:19.892: E/AndroidRuntime(2723): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1712)
08-29 15:49:19.892: E/AndroidRuntime(2723): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1764)
08-29 15:49:19.892: E/AndroidRuntime(2723): at android.app.ActivityThread.access$1500(ActivityThread.java:122)
08-29 15:49:19.892: E/AndroidRuntime(2723): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1002)
08-29 15:49:19.892: E/AndroidRuntime(2723): at android.os.Handler.dispatchMessage(Handler.java:99)
08-29 15:49:19.892: E/AndroidRuntime(2723): at android.os.Looper.loop(Looper.java:132)
08-29 15:49:19.892: E/AndroidRuntime(2723): at android.app.ActivityThread.main(ActivityThread.java:4025)
08-29 15:49:19.892: E/AndroidRuntime(2723): at java.lang.reflect.Method.invokeNative(Native Method)
08-29 15:49:19.892: E/AndroidRuntime(2723): at java.lang.reflect.Method.invoke(Method.java:491)
08-29 15:49:19.892: E/AndroidRuntime(2723): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
08-29 15:49:19.892: E/AndroidRuntime(2723): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
08-29 15:49:19.892: E/AndroidRuntime(2723): at dalvik.system.NativeStart.main(Native Method)
08-29 15:49:21.842: I/Process(2723): Sending signal. PID: 2723 SIG: 9
Related
I am doing DOM xml parsing,My code is working perfectly on Ginger bread while not working on Jelly Bean. showing NullPointerException . on below line got error.
NodeList n1= doc.getElementsByTagName("dua_detail");
I took xml File from assets folder perfectly on AsyncTask.
08-29 18:01:23.785: E/AndroidRuntime(3575): java.lang.NullPointerException
08-29 18:01:23.785: E/AndroidRuntime(3575): at com.example.zad_e_rah.Finalview.pinpointxml(Finalview.java:67)
08-29 18:01:23.785: E/AndroidRuntime(3575): at com.example.zad_e_rah.Finalview$GetAudiojokefromserver.onPostExecute(Finalview.java:333)
08-29 18:01:23.785: E/AndroidRuntime(3575): at com.example.zad_e_rah.Finalview$GetAudiojokefromserver.onPostExecute(Finalview.java:1)
08-29 18:01:23.785: E/AndroidRuntime(3575): at android.os.AsyncTask.finish(AsyncTask.java:631)
08-29 18:01:23.785: E/AndroidRuntime(3575): at android.os.AsyncTask.access$600(AsyncTask.java:177)
08-29 18:01:23.785: E/AndroidRuntime(3575): at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:644)
08-29 18:01:23.785: E/AndroidRuntime(3575): at android.os.Handler.dispatchMessage(Handler.java:99)
08-29 18:01:23.785: E/AndroidRuntime(3575): at android.os.Looper.loop(Looper.java:153)
08-29 18:01:23.785: E/AndroidRuntime(3575): at android.app.ActivityThread.main(ActivityThread.java:5086)
08-29 18:01:23.785: E/AndroidRuntime(3575): at java.lang.reflect.Method.invokeNative(Native Method)
08-29 18:01:23.785: E/AndroidRuntime(3575): at java.lang.reflect.Method.invoke(Method.java:511)
08-29 18:01:23.785: E/AndroidRuntime(3575): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:821)
If the above line is really the line that throws the exception, the doc-object is probably null. You should check that.
Since you didn't provide more code I cannot tell you why it is null.
private void dispatchTakeVideo() throws InterruptedException {
String path = Environment.getExternalStorageDirectory().getAbsolutePath()
+ "/balloon_launch/" + System.currentTimeMillis()+ ".3gp";
recorder = new MediaRecorder();
recorder.setVideoSource(MediaRecorder.VideoSource.CAMERA);
recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
recorder.setOutputFile(path);
recorder.setVideoEncoder(MediaRecorder.VideoEncoder.DEFAULT);
recorder.setMaxDuration(3600);
recorder.setVideoSize(320, 240);
recorder.setVideoFrameRate(15);
Thread.sleep(10000);
try {
recorder.prepare();
Thread.sleep(5000);
} catch (IOException e) {
Log.e("Recording","prepare() failed");
}
Thread.sleep(5000);
recorder.start();
Thread.sleep(5000);
}
I am trying to programmatically launch a video recording in my application, however, I am having difficulty getting the media recorder to work. I am getting an illegal state exception, and after debugging, I know the prepare() method is causing the problem for me... Several people have suggested on other questions similar to use the Thread.sleep() so I have included several places, but that isnt working either...I have included the method for the video, the logcat, and the permissions in the comments below..I am wondering if it has to do with the fact that I havnt done anything in the xml for the activity and the reason for this is that I dont want to show the video I record on the screen, I just want it to record at a certain time... Thanks for any help.
Here is the Log Cat
11-22 11:14:38.327: E/Trace(795): error opening trace file: No such file or directory (2)
11-22 11:14:39.007: D/dalvikvm(795): GC_FOR_ALLOC freed 51K, 3% free 8055K/8259K, paused 35ms, total 37ms
11-22 11:14:39.027: I/dalvikvm-heap(795): Grow heap (frag case) to 9.743MB for 1918240- byte allocation
11-22 11:14:39.097: D/dalvikvm(795): GC_CONCURRENT freed 1K, 3% free 9927K/10183K, paused 24ms+5ms, total 71ms
11-22 11:14:39.387: D/gralloc_goldfish(795): Emulator without GPU emulation detected.
11-22 11:14:52.650: E/Recording(795): prepare() failed
11-22 11:14:57.653: E/MediaRecorder(795): start called in an invalid state: 4
11-22 11:14:57.653: D/AndroidRuntime(795): Shutting down VM
11-22 11:14:57.656: W/dalvikvm(795): threadid=1: thread exiting with uncaught exception (group=0x40a13300)
11-22 11:14:57.666: E/AndroidRuntime(795): FATAL EXCEPTION: main
11-22 11:14:57.666: E/AndroidRuntime(795): java.lang.IllegalStateException
11-22 11:14:57.666: E/AndroidRuntime(795): at android.media.MediaRecorder.start(Native Method)
11-22 11:14:57.666: E/AndroidRuntime(795): at com.finding.videoing.sharing.MainActivity.dispatchTakeVideoIntent(MainActivity.java:148)
11-22 11:14:57.666: E/AndroidRuntime(795): at com.finding.videoing.sharing.MainActivity.access$0(MainActivity.java:129)
11-22 11:14:57.666: E/AndroidRuntime(795): at com.finding.videoing.sharing.MainActivity$1.onClick(MainActivity.java:61)
11-22 11:14:57.666: E/AndroidRuntime(795): at android.view.View.performClick(View.java:4084)
11-22 11:14:57.666: E/AndroidRuntime(795): at android.view.View$PerformClick.run(View.java:16966)
11-22 11:14:57.666: E/AndroidRuntime(795): at android.os.Handler.handleCallback(Handler.java:615)
11-22 11:14:57.666: E/AndroidRuntime(795): at android.os.Handler.dispatchMessage(Handler.java:92)
11-22 11:14:57.666: E/AndroidRuntime(795): at android.os.Looper.loop(Looper.java:137)
11-22 11:14:57.666: E/AndroidRuntime(795): at android.app.ActivityThread.main(ActivityThread.java:4745)
11-22 11:14:57.666: E/AndroidRuntime(795): at java.lang.reflect.Method.invokeNative(Native Method)
11-22 11:14:57.666: E/AndroidRuntime(795): at java.lang.reflect.Method.invoke(Method.java:511)
11-22 11:14:57.666: E/AndroidRuntime(795): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
11-22 11:14:57.666: E/AndroidRuntime(795): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
11-22 11:14:57.666: E/AndroidRuntime(795): at dalvik.system.NativeStart.main(Native Method)
I downloaded the full source from http://code.google.com/p/zxing/source/browse/trunk and build it into an android apk file without any problem with eclipse, but after I install the apk into my cell phone, it does not work, instead it shows: "The application Barcode Scanner(process com.google.zxing.client.android) has stopped unexpectedly, please try again"
Did I miss anything? thanks in advance
Here is the logcat: (sorry too long)
08-29 09:45:48.797: E/Trace(652): error opening trace file: No such file or directory (2)
08-29 09:45:49.027: W/dalvikvm(652): VFY: unable to resolve static field 56 (ISSUE_NUMBER) in Lcom/google/zxing/ResultMetadataType;
08-29 09:45:49.027: D/dalvikvm(652): VFY: replacing opcode 0x62 at 0x0017
08-29 09:45:49.048: W/dalvikvm(652): VFY: unable to find class referenced in signature (Lcom/google/zxing/Result;)
08-29 09:45:49.077: W/dalvikvm(652): VFY: unable to find class referenced in signature (Lcom/google/zxing/ResultPoint;)
08-29 09:45:49.077: W/dalvikvm(652): VFY: unable to find class referenced in signature (Lcom/google/zxing/ResultPoint;)
08-29 09:45:49.087: I/dalvikvm(652): Could not find method com.google.zxing.ResultPoint.getX, referenced from method com.google.zxing.client.android.CaptureActivity.drawLine
08-29 09:45:49.097: W/dalvikvm(652): VFY: unable to resolve virtual method 329: Lcom/google/zxing/ResultPoint;.getX ()F
08-29 09:45:49.097: D/dalvikvm(652): VFY: replacing opcode 0x6e at 0x0000
08-29 09:45:49.097: W/dalvikvm(652): VFY: unable to find class referenced in signature (Lcom/google/zxing/Result;)
08-29 09:45:49.107: I/dalvikvm(652): Could not find method com.google.zxing.Result.getResultPoints, referenced from method com.google.zxing.client.android.CaptureActivity.drawResultPoints
08-29 09:45:49.117: W/dalvikvm(652): VFY: unable to resolve virtual method 325: Lcom/google/zxing/Result;.getResultPoints ()[Lcom/google/zxing/ResultPoint;
08-29 09:45:49.117: D/dalvikvm(652): VFY: replacing opcode 0x6e at 0x0003
08-29 09:45:49.127: W/dalvikvm(652): VFY: unable to find class referenced in signature (Lcom/google/zxing/Result;)
08-29 09:45:49.157: I/dalvikvm(652): Could not find method com.google.zxing.Result.toString, referenced from method com.google.zxing.client.android.CaptureActivity.handleDecodeExternally
08-29 09:45:49.157: W/dalvikvm(652): VFY: unable to resolve virtual method 328: Lcom/google/zxing/Result;.toString ()Ljava/lang/String;
08-29 09:45:49.167: D/dalvikvm(652): VFY: replacing opcode 0x74 at 0x0057
08-29 09:45:49.167: I/dalvikvm(652): Could not find method com.google.zxing.Result.getText, referenced from method com.google.zxing.client.android.CaptureActivity.handleDecodeExternally
08-29 09:45:49.177: W/dalvikvm(652): VFY: unable to resolve virtual method 326: Lcom/google/zxing/Result;.getText ()Ljava/lang/String;
08-29 09:45:49.177: D/dalvikvm(652): VFY: replacing opcode 0x74 at 0x014d
08-29 09:45:49.187: W/dalvikvm(652): VFY: unable to find class referenced in signature (Lcom/google/zxing/Result;)
08-29 09:45:49.207: I/dalvikvm(652): Could not find method com.google.zxing.Result.getBarcodeFormat, referenced from method com.google.zxing.client.android.CaptureActivity.handleDecodeInternally
08-29 09:45:49.207: W/dalvikvm(652): VFY: unable to resolve virtual method 322: Lcom/google/zxing/Result;.getBarcodeFormat ()Lcom/google/zxing/BarcodeFormat;
08-29 09:45:49.207: D/dalvikvm(652): VFY: replacing opcode 0x74 at 0x004c
08-29 09:45:49.247: W/dalvikvm(652): VFY: unable to find class referenced in signature (Lcom/google/zxing/Result;)
08-29 09:45:49.277: W/dalvikvm(652): VFY: unable to find class referenced in signature (Lcom/google/zxing/Result;)
08-29 09:45:49.277: W/dalvikvm(652): VFY: unable to find class referenced in signature (Lcom/google/zxing/Result;)
08-29 09:45:49.287: W/dalvikvm(652): VFY: unable to find class referenced in signature (Lcom/google/zxing/Result;)
08-29 09:45:49.297: W/dalvikvm(652): VFY: unable to find class referenced in signature (Lcom/google/zxing/Result;)
08-29 09:45:49.307: W/dalvikvm(652): VFY: unable to find class referenced in signature (Lcom/google/zxing/Result;)
08-29 09:45:49.307: W/dalvikvm(652): VFY: unable to find class referenced in signature (Lcom/google/zxing/Result;)
08-29 09:45:49.317: W/dalvikvm(652): VFY: unable to find class referenced in signature (Lcom/google/zxing/Result;)
08-29 09:45:49.328: I/dalvikvm(652): Could not find method com.google.zxing.Result.getText, referenced from method com.google.zxing.client.android.CaptureActivity.handleDecode
08-29 09:45:49.328: W/dalvikvm(652): VFY: unable to resolve virtual method 326: Lcom/google/zxing/Result;.getText ()Ljava/lang/String;
08-29 09:45:49.328: D/dalvikvm(652): VFY: replacing opcode 0x6e at 0x0061
08-29 09:45:49.337: W/dalvikvm(652): VFY: unable to find class referenced in signature (Lcom/google/zxing/Result;)
08-29 09:45:49.349: W/dalvikvm(652): VFY: unable to find class referenced in signature (Lcom/google/zxing/Result;)
08-29 09:45:49.349: W/dalvikvm(652): VFY: unable to find class referenced in signature (Lcom/google/zxing/Result;)
08-29 09:45:49.397: W/dalvikvm(652): Exception Ljava/lang/NoClassDefFoundError; thrown while initializing Lcom/google/zxing/client/android/CaptureActivity;
08-29 09:45:49.397: W/dalvikvm(652): Class init failed in newInstance call (Lcom/google/zxing/client/android/CaptureActivity;)
08-29 09:45:49.397: D/AndroidRuntime(652): Shutting down VM
08-29 09:45:49.407: W/dalvikvm(652): threadid=1: thread exiting with uncaught exception (group=0x40a13300)
08-29 09:45:49.439: E/AndroidRuntime(652): FATAL EXCEPTION: main
08-29 09:45:49.439: E/AndroidRuntime(652): java.lang.ExceptionInInitializerError
08-29 09:45:49.439: E/AndroidRuntime(652): at java.lang.Class.newInstanceImpl(Native Method)
08-29 09:45:49.439: E/AndroidRuntime(652): at java.lang.Class.newInstance(Class.java:1319)
08-29 09:45:49.439: E/AndroidRuntime(652): at android.app.Instrumentation.newActivity(Instrumentation.java:1053)
08-29 09:45:49.439: E/AndroidRuntime(652): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1974)
08-29 09:45:49.439: E/AndroidRuntime(652): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084)
08-29 09:45:49.439: E/AndroidRuntime(652): at android.app.ActivityThread.access$600(ActivityThread.java:130)
08-29 09:45:49.439: E/AndroidRuntime(652): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)
08-29 09:45:49.439: E/AndroidRuntime(652): at android.os.Handler.dispatchMessage(Handler.java:99)
08-29 09:45:49.439: E/AndroidRuntime(652): at android.os.Looper.loop(Looper.java:137)
08-29 09:45:49.439: E/AndroidRuntime(652): at android.app.ActivityThread.main(ActivityThread.java:4745)
08-29 09:45:49.439: E/AndroidRuntime(652): at java.lang.reflect.Method.invokeNative(Native Method)
08-29 09:45:49.439: E/AndroidRuntime(652): at java.lang.reflect.Method.invoke(Method.java:511)
08-29 09:45:49.439: E/AndroidRuntime(652): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
08-29 09:45:49.439: E/AndroidRuntime(652): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
08-29 09:45:49.439: E/AndroidRuntime(652): at dalvik.system.NativeStart.main(Native Method)
08-29 09:45:49.439: E/AndroidRuntime(652): Caused by: java.lang.NoClassDefFoundError: com.google.zxing.ResultMetadataType
08-29 09:45:49.439: E/AndroidRuntime(652): at com.google.zxing.client.android.CaptureActivity.<clinit>(CaptureActivity.java:103)
08-29 09:45:49.439: E/AndroidRuntime(652): ... 15 more
It certainly does work: https://play.google.com/store/apps/details?id=com.google.zxing.client.android
You either modified the app, and that causes the crash, or you are installing on a device that can't run the app by manually side-loading.
You won't get any further help without providing the most important info of all: the stack trace!
Hello all i have an app it works fine on API 8 but i need it to work on API 7 2.1. the app launches but when i click the button on the spalsh screen to go into the app it force closes on me.
I am using the kankan wheel project if that is any help?
Also i go this from LogCat:
11-22 11:36:53.591: D/ddm-heap(3356): Got feature list request
11-22 11:36:54.071: D/dalvikvm(3356): GC freed 723 objects / 53872 bytes in 247ms
11-22 11:36:54.461: D/dalvikvm(3356): GC freed 225 objects / 10080 bytes in 55ms
11-22 11:37:02.881: D/dalvikvm(3356): GC freed 243 objects / 18368 bytes in 62ms
11-22 11:37:03.121: D/AndroidRuntime(3356): Shutting down VM
11-22 11:37:03.121: W/dalvikvm(3356): threadid=3: thread exiting with uncaught exception (group=0x40026160)
11-22 11:37:03.121: E/AndroidRuntime(3356): Uncaught handler: thread main exiting due to uncaught exception
11-22 11:37:03.121: E/AndroidRuntime(3356): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.insult.kp/kankan.wheel.demo.PasswActivity}: java.lang.ClassCastException: android.widget.ImageView
11-22 11:37:03.121: E/AndroidRuntime(3356): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2503)
11-22 11:37:03.121: E/AndroidRuntime(3356): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2519)
11-22 11:37:03.121: E/AndroidRuntime(3356): at android.app.ActivityThread.access$2200(ActivityThread.java:123)
11-22 11:37:03.121: E/AndroidRuntime(3356): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1870)
11-22 11:37:03.121: E/AndroidRuntime(3356): at android.os.Handler.dispatchMessage(Handler.java:99)
11-22 11:37:03.121: E/AndroidRuntime(3356): at android.os.Looper.loop(Looper.java:123)
11-22 11:37:03.121: E/AndroidRuntime(3356): at android.app.ActivityThread.main(ActivityThread.java:4370)
11-22 11:37:03.121: E/AndroidRuntime(3356): at java.lang.reflect.Method.invokeNative(Native Method)
11-22 11:37:03.121: E/AndroidRuntime(3356): at java.lang.reflect.Method.invoke(Method.java:521)
11-22 11:37:03.121: E/AndroidRuntime(3356): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
11-22 11:37:03.121: E/AndroidRuntime(3356): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
11-22 11:37:03.121: E/AndroidRuntime(3356): at dalvik.system.NativeStart.main(Native Method)
11-22 11:37:03.121: E/AndroidRuntime(3356): Caused by: java.lang.ClassCastException: android.widget.ImageView
11-22 11:37:03.121: E/AndroidRuntime(3356): at kankan.wheel.demo.PasswActivity.onCreate(PasswActivity.java:72)
11-22 11:37:03.121: E/AndroidRuntime(3356): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
11-22 11:37:03.121: E/AndroidRuntime(3356): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2466)
11-22 11:37:03.121: E/AndroidRuntime(3356): ... 11 more
11-22 11:37:03.131: E/SemcCheckin(3356): Get crash dump level : java.io.FileNotFoundException: /data/semc-checkin/crashdump
11-22 11:37:03.141: I/dalvikvm(3356): threadid=7: reacting to signal 3
11-22 11:37:03.151: I/dalvikvm(3356): Wrote stack trace to '/data/anr/traces.txt'
11-22 11:37:04.631: D/dalvikvm(3376): GC freed 760 objects / 55296 bytes in 78ms
11-22 11:37:04.841: D/dalvikvm(3376): GC freed 235 objects / 10552 bytes in 56ms
11-22 11:37:05.181: D/dalvikvm(3376): GC freed 337 objects / 24144 bytes in 58ms
11-22 11:37:05.421: D/AndroidRuntime(3376): Shutting down VM
11-22 11:37:05.421: W/dalvikvm(3376): threadid=3: thread exiting with uncaught exception (group=0x40026160)
11-22 11:37:05.421: E/AndroidRuntime(3376): Uncaught handler: thread main exiting due to uncaught exception
11-22 11:37:05.421: E/AndroidRuntime(3376): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.insult.kp/kankan.wheel.demo.PasswActivity}: java.lang.ClassCastException: android.widget.ImageView
11-22 11:37:05.421: E/AndroidRuntime(3376): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2503)
11-22 11:37:05.421: E/AndroidRuntime(3376): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2519)
11-22 11:37:05.421: E/AndroidRuntime(3376): at android.app.ActivityThread.access$2200(ActivityThread.java:123)
11-22 11:37:05.421: E/AndroidRuntime(3376): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1870)
11-22 11:37:05.421: E/AndroidRuntime(3376): at android.os.Handler.dispatchMessage(Handler.java:99)
11-22 11:37:05.421: E/AndroidRuntime(3376): at android.os.Looper.loop(Looper.java:123)
11-22 11:37:05.421: E/AndroidRuntime(3376): at android.app.ActivityThread.main(ActivityThread.java:4370)
11-22 11:37:05.421: E/AndroidRuntime(3376): at java.lang.reflect.Method.invokeNative(Native Method)
11-22 11:37:05.421: E/AndroidRuntime(3376): at java.lang.reflect.Method.invoke(Method.java:521)
11-22 11:37:05.421: E/AndroidRuntime(3376): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
11-22 11:37:05.421: E/AndroidRuntime(3376): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
11-22 11:37:05.421: E/AndroidRuntime(3376): at dalvik.system.NativeStart.main(Native Method)
11-22 11:37:05.421: E/AndroidRuntime(3376): Caused by: java.lang.ClassCastException: android.widget.ImageView
11-22 11:37:05.421: E/AndroidRuntime(3376): at kankan.wheel.demo.PasswActivity.onCreate(PasswActivity.java:72)
11-22 11:37:05.421: E/AndroidRuntime(3376): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
11-22 11:37:05.421: E/AndroidRuntime(3376): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2466)
11-22 11:37:05.421: E/AndroidRuntime(3376): ... 11 more
11-22 11:37:05.431: E/SemcCheckin(3376): Get crash dump level : java.io.FileNotFoundException: /data/semc-checkin/crashdump
11-22 11:37:05.441: I/dalvikvm(3376): threadid=7: reacting to signal 3
11-22 11:37:05.441: I/dalvikvm(3376): Wrote stack trace to '/data/anr/traces.txt'
11-22 11:37:07.311: D/dalvikvm(3383): GC freed 788 objects / 56384 bytes in 147ms
11-22 11:37:07.561: D/dalvikvm(3383): GC freed 240 objects / 10768 bytes in 54ms
11-22 11:37:26.111: D/dalvikvm(3436): GC freed 594 objects / 48896 bytes in 236ms
11-22 11:37:26.451: D/dalvikvm(3436): GC freed 205 objects / 9176 bytes in 55ms
11-22 11:37:34.391: D/dalvikvm(3436): GC freed 243 objects / 18336 bytes in 127ms
11-22 11:37:34.791: D/AndroidRuntime(3436): Shutting down VM
11-22 11:37:34.791: W/dalvikvm(3436): threadid=3: thread exiting with uncaught exception (group=0x40026160)
11-22 11:37:34.791: E/AndroidRuntime(3436): Uncaught handler: thread main exiting due to uncaught exception
11-22 11:37:34.791: E/AndroidRuntime(3436): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.insult.kp/kankan.wheel.demo.PasswActivity}: java.lang.ClassCastException: android.widget.ImageView
11-22 11:37:34.791: E/AndroidRuntime(3436): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2503)
11-22 11:37:34.791: E/AndroidRuntime(3436): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2519)
11-22 11:37:34.791: E/AndroidRuntime(3436): at android.app.ActivityThread.access$2200(ActivityThread.java:123)
11-22 11:37:34.791: E/AndroidRuntime(3436): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1870)
11-22 11:37:34.791: E/AndroidRuntime(3436): at android.os.Handler.dispatchMessage(Handler.java:99)
11-22 11:37:34.791: E/AndroidRuntime(3436): at android.os.Looper.loop(Looper.java:123)
11-22 11:37:34.791: E/AndroidRuntime(3436): at android.app.ActivityThread.main(ActivityThread.java:4370)
11-22 11:37:34.791: E/AndroidRuntime(3436): at java.lang.reflect.Method.invokeNative(Native Method)
11-22 11:37:34.791: E/AndroidRuntime(3436): at java.lang.reflect.Method.invoke(Method.java:521)
11-22 11:37:34.791: E/AndroidRuntime(3436): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
11-22 11:37:34.791: E/AndroidRuntime(3436): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
11-22 11:37:34.791: E/AndroidRuntime(3436): at dalvik.system.NativeStart.main(Native Method)
11-22 11:37:34.791: E/AndroidRuntime(3436): Caused by: java.lang.ClassCastException: android.widget.ImageView
11-22 11:37:34.791: E/AndroidRuntime(3436): at kankan.wheel.demo.PasswActivity.onCreate(PasswActivity.java:72)
11-22 11:37:34.791: E/AndroidRuntime(3436): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
11-22 11:37:34.791: E/AndroidRuntime(3436): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2466)
11-22 11:37:34.791: E/AndroidRuntime(3436): ... 11 more
11-22 11:37:34.801: E/SemcCheckin(3436): Get crash dump level : java.io.FileNotFoundException: /data/semc-checkin/crashdump
11-22 11:37:34.811: I/dalvikvm(3436): threadid=7: reacting to signal 3
11-22 11:37:34.831: I/dalvikvm(3436): Wrote stack trace to '/data/anr/traces.txt'
11-22 11:37:36.115: I/Process(3436): Sending signal. PID: 3436 SIG: 9
11-22 11:37:36.341: D/dalvikvm(3458): GC freed 601 objects / 49176 bytes in 89ms
11-22 11:37:36.601: D/dalvikvm(3458): GC freed 210 objects / 9400 bytes in 66ms
11-22 11:37:39.991: W/IInputConnectionWrapper(3458): showStatusIcon on inactive InputConnection
11-22 11:38:23.861: D/dalvikvm(3545): GC freed 774 objects / 55792 bytes in 515ms
11-22 11:38:24.071: D/dalvikvm(3545): GC freed 230 objects / 10368 bytes in 57ms
11-22 11:38:27.491: D/dalvikvm(3545): GC freed 243 objects / 18360 bytes in 60ms
11-22 11:38:27.731: D/AndroidRuntime(3545): Shutting down VM
11-22 11:38:27.731: W/dalvikvm(3545): threadid=3: thread exiting with uncaught exception (group=0x40026160)
11-22 11:38:27.731: E/AndroidRuntime(3545): Uncaught handler: thread main exiting due to uncaught exception
11-22 11:38:27.741: E/AndroidRuntime(3545): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.insult.kp/kankan.wheel.demo.PasswActivity}: java.lang.ClassCastException: android.widget.ImageView
11-22 11:38:27.741: E/AndroidRuntime(3545): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2503)
11-22 11:38:27.741: E/AndroidRuntime(3545): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2519)
11-22 11:38:27.741: E/AndroidRuntime(3545): at android.app.ActivityThread.access$2200(ActivityThread.java:123)
11-22 11:38:27.741: E/AndroidRuntime(3545): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1870)
11-22 11:38:27.741: E/AndroidRuntime(3545): at android.os.Handler.dispatchMessage(Handler.java:99)
11-22 11:38:27.741: E/AndroidRuntime(3545): at android.os.Looper.loop(Looper.java:123)
11-22 11:38:27.741: E/AndroidRuntime(3545): at android.app.ActivityThread.main(ActivityThread.java:4370)
11-22 11:38:27.741: E/AndroidRuntime(3545): at java.lang.reflect.Method.invokeNative(Native Method)
11-22 11:38:27.741: E/AndroidRuntime(3545): at java.lang.reflect.Method.invoke(Method.java:521)
11-22 11:38:27.741: E/AndroidRuntime(3545): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
11-22 11:38:27.741: E/AndroidRuntime(3545): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
11-22 11:38:27.741: E/AndroidRuntime(3545): at dalvik.system.NativeStart.main(Native Method)
11-22 11:38:27.741: E/AndroidRuntime(3545): Caused by: java.lang.ClassCastException: android.widget.ImageView
11-22 11:38:27.741: E/AndroidRuntime(3545): at kankan.wheel.demo.PasswActivity.onCreate(PasswActivity.java:72)
11-22 11:38:27.741: E/AndroidRuntime(3545): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
11-22 11:38:27.741: E/AndroidRuntime(3545): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2466)
11-22 11:38:27.741: E/AndroidRuntime(3545): ... 11 more
11-22 11:38:27.751: E/SemcCheckin(3545): Get crash dump level : java.io.FileNotFoundException: /data/semc-checkin/crashdump
11-22 11:38:27.761: I/dalvikvm(3545): threadid=7: reacting to signal 3
11-22 11:38:27.761: I/dalvikvm(3545): Wrote stack trace to '/data/anr/traces.txt'
11-22 11:38:32.201: D/dalvikvm(3552): GC freed 779 objects / 56024 bytes in 142ms
11-22 11:38:32.441: D/dalvikvm(3552): GC freed 230 objects / 10368 bytes in 55ms
11-22 11:41:22.251: D/dalvikvm(3552): GC freed 341 objects / 24264 bytes in 60ms
11-22 11:41:22.541: D/AndroidRuntime(3552): Shutting down VM
11-22 11:41:22.541: W/dalvikvm(3552): threadid=3: thread exiting with uncaught exception (group=0x40026160)
11-22 11:41:22.541: E/AndroidRuntime(3552): Uncaught handler: thread main exiting due to uncaught exception
11-22 11:41:22.541: E/AndroidRuntime(3552): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.insult.kp/kankan.wheel.demo.PasswActivity}: java.lang.ClassCastException: android.widget.ImageView
11-22 11:41:22.541: E/AndroidRuntime(3552): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2503)
11-22 11:41:22.541: E/AndroidRuntime(3552): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2519)
11-22 11:41:22.541: E/AndroidRuntime(3552): at android.app.ActivityThread.access$2200(ActivityThread.java:123)
11-22 11:41:22.541: E/AndroidRuntime(3552): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1870)
11-22 11:41:22.541: E/AndroidRuntime(3552): at android.os.Handler.dispatchMessage(Handler.java:99)
11-22 11:41:22.541: E/AndroidRuntime(3552): at android.os.Looper.loop(Looper.java:123)
11-22 11:41:22.541: E/AndroidRuntime(3552): at android.app.ActivityThread.main(ActivityThread.java:4370)
11-22 11:41:22.541: E/AndroidRuntime(3552): at java.lang.reflect.Method.invokeNative(Native Method)
11-22 11:41:22.541: E/AndroidRuntime(3552): at java.lang.reflect.Method.invoke(Method.java:521)
11-22 11:41:22.541: E/AndroidRuntime(3552): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
11-22 11:41:22.541: E/AndroidRuntime(3552): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
11-22 11:41:22.541: E/AndroidRuntime(3552): at dalvik.system.NativeStart.main(Native Method)
11-22 11:41:22.541: E/AndroidRuntime(3552): Caused by: java.lang.ClassCastException: android.widget.ImageView
11-22 11:41:22.541: E/AndroidRuntime(3552): at kankan.wheel.demo.PasswActivity.onCreate(PasswActivity.java:72)
11-22 11:41:22.541: E/AndroidRuntime(3552): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
11-22 11:41:22.541: E/AndroidRuntime(3552): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2466)
11-22 11:41:22.541: E/AndroidRuntime(3552): ... 11 more
11-22 11:41:22.551: E/SemcCheckin(3552): Get crash dump level : java.io.FileNotFoundException: /data/semc-checkin/crashdump
11-22 11:41:22.561: I/dalvikvm(3552): threadid=7: reacting to signal 3
11-22 11:41:22.571: I/dalvikvm(3552): Wrote stack trace to '/data/anr/traces.txt'
11-22 11:41:24.612: I/Process(3552): Sending signal. PID: 3552 SIG: 9
11-22 11:41:24.831: D/dalvikvm(3626): GC freed 579 objects / 48312 bytes in 79ms
11-22 11:41:25.031: D/dalvikvm(3626): GC freed 205 objects / 9248 bytes in 55ms
11-22 11:41:34.621: D/dalvikvm(3626): GC freed 313 objects / 22008 bytes in 55ms
11-22 11:41:35.651: D/dalvikvm(3626): GC freed 119 objects / 7392 bytes in 56ms
11-22 11:41:36.231: D/dalvikvm(3626): GC freed 86 objects / 6432 bytes in 63ms
11-22 11:41:36.641: D/dalvikvm(3626): GC freed 77 objects / 6024 bytes in 56ms
11-22 11:41:37.041: D/dalvikvm(3626): GC freed 77 objects / 6016 bytes in 56ms
11-22 11:41:38.661: D/dalvikvm(3626): GC freed 182 objects / 17224 bytes in 57ms
11-22 11:41:38.741: D/AndroidRuntime(3626): Shutting down VM
11-22 11:41:38.741: W/dalvikvm(3626): threadid=3: thread exiting with uncaught exception (group=0x40026160)
11-22 11:41:38.741: E/AndroidRuntime(3626): Uncaught handler: thread main exiting due to uncaught exception
11-22 11:41:38.751: E/AndroidRuntime(3626): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.insult.kp/kankan.wheel.demo.PasswActivity}: java.lang.ClassCastException: android.widget.ImageView
11-22 11:41:38.751: E/AndroidRuntime(3626): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2503)
11-22 11:41:38.751: E/AndroidRuntime(3626): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2519)
11-22 11:41:38.751: E/AndroidRuntime(3626): at android.app.ActivityThread.access$2200(ActivityThread.java:123)
11-22 11:41:38.751: E/AndroidRuntime(3626): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1870)
11-22 11:41:38.751: E/AndroidRuntime(3626): at android.os.Handler.dispatchMessage(Handler.java:99)
11-22 11:41:38.751: E/AndroidRuntime(3626): at android.os.Looper.loop(Looper.java:123)
11-22 11:41:38.751: E/AndroidRuntime(3626): at android.app.ActivityThread.main(ActivityThread.java:4370)
11-22 11:41:38.751: E/AndroidRuntime(3626): at java.lang.reflect.Method.invokeNative(Native Method)
11-22 11:41:38.751: E/AndroidRuntime(3626): at java.lang.reflect.Method.invoke(Method.java:521)
11-22 11:41:38.751: E/AndroidRuntime(3626): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
11-22 11:41:38.751: E/AndroidRuntime(3626): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
11-22 11:41:38.751: E/AndroidRuntime(3626): at dalvik.system.NativeStart.main(Native Method)
11-22 11:41:38.751: E/AndroidRuntime(3626): Caused by: java.lang.ClassCastException: android.widget.ImageView
11-22 11:41:38.751: E/AndroidRuntime(3626): at kankan.wheel.demo.PasswActivity.onCreate(PasswActivity.java:72)
11-22 11:41:38.751: E/AndroidRuntime(3626): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
11-22 11:41:38.751: E/AndroidRuntime(3626): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2466)
11-22 11:41:38.751: E/AndroidRuntime(3626): ... 11 more
11-22 11:41:38.751: E/SemcCheckin(3626): Get crash dump level : java.io.FileNotFoundException: /data/semc-checkin/crashdump
11-22 11:41:38.761: I/dalvikvm(3626): threadid=7: reacting to signal 3
11-22 11:41:38.771: I/dalvikvm(3626): Wrote stack trace to '/data/anr/traces.txt'
11-22 11:41:41.161: D/dalvikvm(3636): GC freed 601 objects / 49168 bytes in 71ms
11-22 11:41:41.371: D/dalvikvm(3636): GC freed 205 objects / 9248 bytes in 54ms
11-22 11:42:06.711: W/IInputConnectionWrapper(3636): showStatusIcon on inactive InputConnection
11-22 11:42:14.291: D/dalvikvm(3695): GC freed 748 objects / 54816 bytes in 203ms
11-22 11:42:14.691: D/dalvikvm(3695): GC freed 220 objects / 9968 bytes in 59ms
11-22 11:42:16.721: D/dalvikvm(3695): GC freed 243 objects / 18368 bytes in 59ms
11-22 11:42:17.161: D/AndroidRuntime(3695): Shutting down VM
11-22 11:42:17.161: W/dalvikvm(3695): threadid=3: thread exiting with uncaught exception (group=0x40026160)
11-22 11:42:17.161: E/AndroidRuntime(3695): Uncaught handler: thread main exiting due to uncaught exception
11-22 11:42:17.171: E/AndroidRuntime(3695): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.insult.kp/kankan.wheel.demo.PasswActivity}: java.lang.ClassCastException: android.widget.ImageView
11-22 11:42:17.171: E/AndroidRuntime(3695): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2503)
11-22 11:42:17.171: E/AndroidRuntime(3695): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2519)
11-22 11:42:17.171: E/AndroidRuntime(3695): at android.app.ActivityThread.access$2200(ActivityThread.java:123)
11-22 11:42:17.171: E/AndroidRuntime(3695): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1870)
11-22 11:42:17.171: E/AndroidRuntime(3695): at android.os.Handler.dispatchMessage(Handler.java:99)
11-22 11:42:17.171: E/AndroidRuntime(3695): at android.os.Looper.loop(Looper.java:123)
11-22 11:42:17.171: E/AndroidRuntime(3695): at android.app.ActivityThread.main(ActivityThread.java:4370)
11-22 11:42:17.171: E/AndroidRuntime(3695): at java.lang.reflect.Method.invokeNative(Native Method)
11-22 11:42:17.171: E/AndroidRuntime(3695): at java.lang.reflect.Method.invoke(Method.java:521)
11-22 11:42:17.171: E/AndroidRuntime(3695): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
11-22 11:42:17.171: E/AndroidRuntime(3695): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
11-22 11:42:17.171: E/AndroidRuntime(3695): at dalvik.system.NativeStart.main(Native Method)
11-22 11:42:17.171: E/AndroidRuntime(3695): Caused by: java.lang.ClassCastException: android.widget.ImageView
11-22 11:42:17.171: E/AndroidRuntime(3695): at kankan.wheel.demo.PasswActivity.onCreate(PasswActivity.java:72)
11-22 11:42:17.171: E/AndroidRuntime(3695): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
11-22 11:42:17.171: E/AndroidRuntime(3695): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2466)
11-22 11:42:17.171: E/AndroidRuntime(3695): ... 11 more
11-22 11:42:17.181: E/SemcCheckin(3695): Get crash dump level : java.io.FileNotFoundException: /data/semc-checkin/crashdump
11-22 11:42:17.181: I/dalvikvm(3695): threadid=7: reacting to signal 3
11-22 11:42:17.191: I/dalvikvm(3695): Wrote stack trace to '/data/anr/traces.txt'
11-22 11:42:21.771: D/dalvikvm(3711): GC freed 750 objects / 54904 bytes in 69ms
11-22 11:42:21.981: D/dalvikvm(3711): GC freed 220 objects / 9960 bytes in 54ms
11-22 11:42:43.901: D/dalvikvm(3711): GC freed 341 objects / 24248 bytes in 57ms
11-22 11:42:44.131: D/AndroidRuntime(3711): Shutting down VM
11-22 11:42:44.131: W/dalvikvm(3711): threadid=3: thread exiting with uncaught exception (group=0x40026160)
11-22 11:42:44.131: E/AndroidRuntime(3711): Uncaught handler: thread main exiting due to uncaught exception
11-22 11:42:44.141: E/AndroidRuntime(3711): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.insult.kp/kankan.wheel.demo.PasswActivity}: java.lang.ClassCastException: android.widget.ImageView
11-22 11:42:44.141: E/AndroidRuntime(3711): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2503)
11-22 11:42:44.141: E/AndroidRuntime(3711): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2519)
11-22 11:42:44.141: E/AndroidRuntime(3711): at android.app.ActivityThread.access$2200(ActivityThread.java:123)
11-22 11:42:44.141: E/AndroidRuntime(3711): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1870)
11-22 11:42:44.141: E/AndroidRuntime(3711): at android.os.Handler.dispatchMessage(Handler.java:99)
11-22 11:42:44.141: E/AndroidRuntime(3711): at android.os.Looper.loop(Looper.java:123)
11-22 11:42:44.141: E/AndroidRuntime(3711): at android.app.ActivityThread.main(ActivityThread.java:4370)
11-22 11:42:44.141: E/AndroidRuntime(3711): at java.lang.reflect.Method.invokeNative(Native Method)
11-22 11:42:44.141: E/AndroidRuntime(3711): at java.lang.reflect.Method.invoke(Method.java:521)
11-22 11:42:44.141: E/AndroidRuntime(3711): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
11-22 11:42:44.141: E/AndroidRuntime(3711): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
11-22 11:42:44.141: E/AndroidRuntime(3711): at dalvik.system.NativeStart.main(Native Method)
11-22 11:42:44.141: E/AndroidRuntime(3711): Caused by: java.lang.ClassCastException: android.widget.ImageView
11-22 11:42:44.141: E/AndroidRuntime(3711): at kankan.wheel.demo.PasswActivity.onCreate(PasswActivity.java:72)
11-22 11:42:44.141: E/AndroidRuntime(3711): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
11-22 11:42:44.141: E/AndroidRuntime(3711): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2466)
11-22 11:42:44.141: E/AndroidRuntime(3711): ... 11 more
11-22 11:42:44.151: E/SemcCheckin(3711): Get crash dump level : java.io.FileNotFoundException: /data/semc-checkin/crashdump
11-22 11:42:44.161: I/dalvikvm(3711): threadid=7: reacting to signal 3
11-22 11:42:44.191: I/dalvikvm(3711): Wrote stack trace to '/data/anr/traces.txt'
Either:
you are calling findViewById() on the wrong thing, and therefore are getting an ImageView when you are expecting something else
your R class is out of sync with the rest of your code, which can be fixed by cleaning your project (Project > Clean from the Eclipse main menu, or ant clean from the command line)
I am using Eclipse to write the program. I have gotten rid of the errors, and have completely compiled the code and when it launches in the emulator, it forces close. I have zipped the workspace so maybe someone can grab it and load it to see if they are able to see why its bombing out? deckertdesigns.com/Android/Todo_List.zip any help again, would be greatly appreciated. I feel once over this hump I will have some better knowledge in troubleshooting, just wish the debugger was catching this...
08-29 17:43:45.273: DEBUG/SntpClient(73): request time failed: java.net.SocketException:
Address family not supported by protocol
08-29 17:44:41.433: DEBUG/AndroidRuntime(357): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
08-29 17:44:41.433: DEBUG/AndroidRuntime(357): CheckJNI is ON
08-29 17:44:41.852: DEBUG/AndroidRuntime(357): --- registering native functions ---
08-29 17:44:43.293: DEBUG/AndroidRuntime(357): Shutting down VM
08-29 17:44:43.313: INFO/AndroidRuntime(357): NOTE: attach of thread 'Binder Thread #3' failed
08-29 17:44:43.323: DEBUG/dalvikvm(357): Debugger has detached; object registry had 1 entries
08-29 17:44:44.083: DEBUG/AndroidRuntime(365): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
08-29 17:44:44.083: DEBUG/AndroidRuntime(365): CheckJNI is ON
08-29 17:44:44.403: DEBUG/AndroidRuntime(365): --- registering native functions ---
08-29 17:44:45.573: INFO/ActivityManager(73): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.a8a.todolist/.ToDoList }
08-29 17:44:45.683: DEBUG/AndroidRuntime(365): Shutting down VM
08-29 17:44:45.713: DEBUG/dalvikvm(365): Debugger has detached; object registry had 1 entries
08-29 17:44:45.773: INFO/AndroidRuntime(365): NOTE: attach of thread 'Binder Thread #3' failed
08-29 17:44:45.843: INFO/ActivityManager(73): Start proc com.a8a.todolist for activity com.a8a.todolist/.ToDoList: pid=372 uid=10032 gids={1015}
08-29 17:44:47.013: DEBUG/AndroidRuntime(372): Shutting down VM
08-29 17:44:47.013: WARN/dalvikvm(372): threadid=1: thread exiting with uncaught exception (group=0x4001d800)
08-29 17:44:47.043: ERROR/AndroidRuntime(372): FATAL EXCEPTION: main
08-29 17:44:47.043: ERROR/AndroidRuntime(372): android.app.SuperNotCalledException: Activity {com.a8a.todolist/com.a8a.todolist.ToDoList} did not call through to super.onCreate()
08-29 17:44:47.043: ERROR/AndroidRuntime(372): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2629)
08-29 17:44:47.043: ERROR/AndroidRuntime(372): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
08-29 17:44:47.043: ERROR/AndroidRuntime(372): at android.app.ActivityThread.access$2300(ActivityThread.java:125)
08-29 17:44:47.043: ERROR/AndroidRuntime(372): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
08-29 17:44:47.043: ERROR/AndroidRuntime(372): at android.os.Handler.dispatchMessage(Handler.java:99)
08-29 17:44:47.043: ERROR/AndroidRuntime(372): at android.os.Looper.loop(Looper.java:123)
08-29 17:44:47.043: ERROR/AndroidRuntime(372): at android.app.ActivityThread.main(ActivityThread.java:4627)
08-29 17:44:47.043: ERROR/AndroidRuntime(372): at java.lang.reflect.Method.invokeNative(Native Method)
08-29 17:44:47.043: ERROR/AndroidRuntime(372): at java.lang.reflect.Method.invoke(Method.java:521)
08-29 17:44:47.043: ERROR/AndroidRuntime(372): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
08-29 17:44:47.043: ERROR/AndroidRuntime(372): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
08-29 17:44:47.043: ERROR/AndroidRuntime(372): at dalvik.system.NativeStart.main(Native Method)
08-29 17:44:47.063: WARN/ActivityManager(73): Force finishing activity com.a8a.todolist/.ToDoList
08-29 17:44:47.243: DEBUG/dalvikvm(73): GC_FOR_MALLOC freed 7176 objects / 434168 bytes in 169ms
08-29 17:44:47.633: WARN/ActivityManager(73): Activity pause timeout for HistoryRecord{43fc9668 com.a8a.todolist/.ToDoList}
08-29 17:44:53.253: INFO/Process(372): Sending signal. PID: 372 SIG: 9
08-29 17:44:53.285: INFO/ActivityManager(73): Process com.a8a.todolist (pid 372) has died.
08-29 17:44:53.323: WARN/InputManagerService(73): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy#440687c8
08-29 17:44:58.383: WARN/ActivityManager(73): Activity destroy timeout for HistoryRecord{43fc9668 com.a8a.todolist/.ToDoList}
Rohan is right, inside Eclipse you open the DDMS perspective, you'll see a tab called "Logcat" which contains all the printed logs and includes also a detailed stacktrace of the exception which caused the Force Close popup to appear.
You miss probably the the "super.onCreate(savedInstanceState)" in your onCreate method.
#Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(...);
...
}
Check out the logcat to see the error...it would be displayed against your package name in red color....This is the only method to check the Force Close type of errors....