I'm trying to figure out a java.lang.RuntimeException problem in my app. When I look at the logcat, it will show something like this: 12-19 09:29:38.055: WARN/dalvikvm(716): threadid=3: thread exiting with uncaught exception (group=0x4000fe70) 12-19 09:29:38.065: ERROR/AndroidRuntime(716): Uncaught handler: thread main exiting due to uncaught exception 12-19 09:29:38.075: ERROR/AndroidRuntime(716): java.lang.RuntimeException: Unable to start activity ComponentInfo{test.app/test.app.CameraPreview}: java.lang.NullPointerException 12-19 09:29:38.075: ERROR/AndroidRuntime(716): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2268) 12-19 09:29:38.075: ERROR/AndroidRuntime(716): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2284) 12-19 09:29:38.075: ERROR/AndroidRuntime(716): at android.app.ActivityThread.access$1800(ActivityThread.java:112) 12-19 09:29:38.075: ERROR/AndroidRuntime(716): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1692) 12-19 09:29:38.075: ERROR/AndroidRuntime(716): at android.os.Handler.dispatchMessage(Handler.java:99) 12-19 09:29:38.075: ERROR/AndroidRuntime(716): at android.os.Looper.loop(Looper.java:123) 12-19 09:29:38.075: ERROR/AndroidRuntime(716): at android.app.ActivityThread.main(ActivityThread.java:3948) 12-19 09:29:38.075: ERROR/AndroidRuntime(716): at java.lang.reflect.Method.invokeNative(Native Method) 12-19 09:29:38.075: ERROR/AndroidRuntime(716): at java.lang.reflect.Method.invoke(Method.java:521) 12-19 09:29:38.075: ERROR/AndroidRuntime(716): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:7 82) 12-19 09:29:38.075: ERROR/AndroidRuntime(716): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540) 12-19 09:29:38.075: ERROR/AndroidRuntime(716): at dalvik.system.NativeStart.main(Native Method) 12-19 09:29:38.075: ERROR/AndroidRuntime(716): Caused by: java.lang.NullPointerException 12-19 09:29:38.075: ERROR/AndroidRuntime(716): at test.app.CameraPreview.onCreate(CameraPreview.java:42) 12-19 09:29:38.075: ERROR/AndroidRuntime(716): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1123) 12-19 09:29:38.075: ERROR/AndroidRuntime(716): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2231) 12-19 09:29:38.075: ERROR/AndroidRuntime(716): ... 11 more
I want to see the "11 more" lines in the error logging. How do I view those? Thanks. -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en