Hi there, I have a huge problem testing my app on my HTC Wildfire. It was working fine until recently, but now I always get a force close error when I run or debug a new version of the app.
When I try to run the app on the emulator it still works, when I disconnect the phone from the PC, the app also runs on the phone (including all changes)... I was working on a xml file when this happened. If someone could help me out here, that would be great...because this is really weird and I really don't know what I should do now... Thanks in advance... This is the logcat output I get from the phone: 07-28 00:54:56.707: ERROR/AndroidRuntime(14315): Uncaught handler: thread main exiting due to uncaught exception 07-28 00:54:56.727: ERROR/AndroidRuntime(14315): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mobilevideoeditor.moved/com.mobilevideoeditor.moved.GalleryView}: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mobilevideoeditor.moved/com.mobilevideoeditor.moved.EditGalleryView}: java.lang.NullPointerException 07-28 00:54:56.727: ERROR/AndroidRuntime(14315): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2596) 07-28 00:54:56.727: ERROR/AndroidRuntime(14315): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2621) 07-28 00:54:56.727: ERROR/AndroidRuntime(14315): at android.app.ActivityThread.access$2200(ActivityThread.java:126) 07-28 00:54:56.727: ERROR/AndroidRuntime(14315): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1932) 07-28 00:54:56.727: ERROR/AndroidRuntime(14315): at android.os.Handler.dispatchMessage(Handler.java:99) 07-28 00:54:56.727: ERROR/AndroidRuntime(14315): at android.os.Looper.loop(Looper.java:123) 07-28 00:54:56.727: ERROR/AndroidRuntime(14315): at android.app.ActivityThread.main(ActivityThread.java:4603) 07-28 00:54:56.727: ERROR/AndroidRuntime(14315): at java.lang.reflect.Method.invokeNative(Native Method) 07-28 00:54:56.727: ERROR/AndroidRuntime(14315): at java.lang.reflect.Method.invoke(Method.java:521) 07-28 00:54:56.727: ERROR/AndroidRuntime(14315): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860) 07-28 00:54:56.727: ERROR/AndroidRuntime(14315): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618) 07-28 00:54:56.727: ERROR/AndroidRuntime(14315): at dalvik.system.NativeStart.main(Native Method) 07-28 00:54:56.727: ERROR/AndroidRuntime(14315): Caused by: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mobilevideoeditor.moved/com.mobilevideoeditor.moved.EditGalleryView}: java.lang.NullPointerException 07-28 00:54:56.727: ERROR/AndroidRuntime(14315): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2596) 07-28 00:54:56.727: ERROR/AndroidRuntime(14315): at android.app.ActivityThread.startActivityNow(ActivityThread.java:2411) 07-28 00:54:56.727: ERROR/AndroidRuntime(14315): at android.app.LocalActivityManager.moveToState(LocalActivityManager.java:127) 07-28 00:54:56.727: ERROR/AndroidRuntime(14315): at android.app.LocalActivityManager.startActivity(LocalActivityManager.java:339) 07-28 00:54:56.727: ERROR/AndroidRuntime(14315): at android.widget.TabHost$IntentContentStrategy.getContentView(TabHost.java:648) 07-28 00:54:56.727: ERROR/AndroidRuntime(14315): at android.widget.TabHost.setCurrentTab(TabHost.java:320) 07-28 00:54:56.727: ERROR/AndroidRuntime(14315): at android.widget.TabHost.addTab(TabHost.java:213) 07-28 00:54:56.727: ERROR/AndroidRuntime(14315): at com.mobilevideoeditor.moved.GalleryView.onCreate(GalleryView.java:33) 07-28 00:54:56.727: ERROR/AndroidRuntime(14315): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047) 07-28 00:54:56.727: ERROR/AndroidRuntime(14315): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2544) 07-28 00:54:56.727: ERROR/AndroidRuntime(14315): ... 11 more 07-28 00:54:56.727: ERROR/AndroidRuntime(14315): Caused by: java.lang.NullPointerException 07-28 00:54:56.727: ERROR/AndroidRuntime(14315): at com.mobilevideoeditor.moved.EditGalleryView.init_phone_video_grid(EditGalleryView.java:78) 07-28 00:54:56.727: ERROR/AndroidRuntime(14315): at com.mobilevideoeditor.moved.EditGalleryView.onCreate(EditGalleryView.java:62) 07-28 00:54:56.727: ERROR/AndroidRuntime(14315): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047) 07-28 00:54:56.727: ERROR/AndroidRuntime(14315): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2544) -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en