Hi,
I have an Activity which gives me the following stack trace error and
it looks to be out of my control (I could be wrong though as I'm a
newb to Android):
02-11 00:00:44.316: ERROR/AndroidRuntime(28912): Uncaught handler:
thread main exiting due to uncaught exception
02-11 00:00:44.346: ERROR/AndroidRuntime(28912):
java.lang.RuntimeException: Unable to stop activity
{<package.ClassName.java>}: java.lang.NullPointerException
02-11 00:00:44.346: ERROR/AndroidRuntime(28912): at
android.app.ActivityThread.performStopActivityInner
(ActivityThread.java:2745)
02-11 00:00:44.346: ERROR/AndroidRuntime(28912): at
android.app.ActivityThread.handleStopActivity(ActivityThread.java:
2784)
02-11 00:00:44.346: ERROR/AndroidRuntime(28912): at
android.app.ActivityThread.access$2100(ActivityThread.java:112)
02-11 00:00:44.346: ERROR/AndroidRuntime(28912): at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1596)
02-11 00:00:44.346: ERROR/AndroidRuntime(28912): at
android.os.Handler.dispatchMessage(Handler.java:88)
02-11 00:00:44.346: ERROR/AndroidRuntime(28912): at
android.os.Looper.loop(Looper.java:123)
02-11 00:00:44.346: ERROR/AndroidRuntime(28912): at
android.app.ActivityThread.main(ActivityThread.java:3742)
02-11 00:00:44.346: ERROR/AndroidRuntime(28912): at
java.lang.reflect.Method.invokeNative(Native Method)
02-11 00:00:44.346: ERROR/AndroidRuntime(28912): at
java.lang.reflect.Method.invoke(Method.java:515)
02-11 00:00:44.346: ERROR/AndroidRuntime(28912): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run
(ZygoteInit.java:739)
02-11 00:00:44.346: ERROR/AndroidRuntime(28912): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:497)
02-11 00:00:44.346: ERROR/AndroidRuntime(28912): at
dalvik.system.NativeStart.main(Native Method)
02-11 00:00:44.346: ERROR/AndroidRuntime(28912): Caused by:
java.lang.NullPointerException
02-11 00:00:44.346: ERROR/AndroidRuntime(28912): at
android.app.Activity.performStop(Activity.java:3396)
02-11 00:00:44.346: ERROR/AndroidRuntime(28912): at
android.app.ActivityThread.performStopActivityInner
(ActivityThread.java:2742)
02-11 00:00:44.346: ERROR/AndroidRuntime(28912): ... 11 more
The bit causing it is in another package:
Caused by: java.lang.NullPointerException
02-11 00:00:44.346: ERROR/AndroidRuntime(28912): at
android.app.Activity.performStop(Activity.java:3396)
Can anyone point me in the right direction? (It happened when I
clicked on the back button)
Thank you for your time and any tips.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---