Given this: Caused by: java.lang.NullPointerException at com.myco.myappfree.myapp.onCreate(myapp.java:53) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
What is on line 53 of your app? On Sun, Mar 13, 2011 at 8:03 PM, acr <acr...@gmail.com> wrote: > I have a relatively successful app in the android market that a very > small amount of users experience force close on start up of the app. > > It is not happening on a specific device, im not sure if it's > something these users have installed that is interfering with the app. > I've tried to troubleshoot with a few users having the problem, but > cannot get to the bottom of it. > > it happens on both rooted and non-rooted phones > > I keep getting a NullPointerException for a small number of users who > use a variety of phones that normally work. > anyone know what may be causing this, or how to get around this? I > can't figure this one out and cannot replicate the problem, please > help. > > below are the stack traces from the market (package name changed to > not spam the board) > > java.lang.RuntimeException: Unable to start activity > ComponentInfo{com.myco.myappfree/com.myco.myappfree.myapp}: > java.lang.NullPointerException > at > android.app.ActivityThread.performLaunchActivity(ActivityThread.java: > 2663) > at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java: > 2679) > at android.app.ActivityThread.access$2300(ActivityThread.java:125) > at android.app.ActivityThread$H.handleMessage(ActivityThread.java: > 2033) > at android.os.Handler.dispatchMessage(Handler.java:99) > at android.os.Looper.loop(Looper.java:123) > at android.app.ActivityThread.main(ActivityThread.java:4627) > at java.lang.reflect.Method.invokeNative(Native Method) > at java.lang.reflect.Method.invoke(Method.java:521) > at com.android.internal.os.ZygoteInit > $MethodAndArgsCaller.run(ZygoteInit.java:858) > at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) > at dalvik.system.NativeStart.main(Native Method) > Caused by: java.lang.NullPointerException > at com.myco.myappfree.myapp.onCreate(myapp.java:53) > at > android.app.Instrumentation.callActivityOnCreate(Instrumentation.java: > 1047) > at > android.app.ActivityThread.performLaunchActivity(ActivityThread.java: > 2627) > ... 11 more > > -- > 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 > -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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