Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by M. Naserpour
, 1 year ago
Unable to start activity ComponentInfo{ir.naserpour.ketabsara/ir.naserpour.ketabsara.MainActivity}: java.lang.NullPointerException
via Stack Overflow by ishidaxkun
, 1 year ago
Unable to start activity ComponentInfo{com.fyp4201.universityguide/com.fyp4201.universityguide.Register}: java.lang.NullPointerException
via Stack Overflow by vidhya
, 1 year ago
Unable to start activity ComponentInfo{com.example.futuro.gplace/com.example.futuro.gplace.MainActivity}: java.lang.NullPointerException
via Stack Overflow by firstofthebadones
, 4 months ago
Unable to start activity ComponentInfo{...activities.CourseChoice}: java.lang.NullPointerException
via Stack Overflow by KHALLEF FARES
, 1 month ago
Unable to start activity ComponentInfo{ .SecondActivity20paste}: java.lang.NullPointerException
java.lang.RuntimeException: Unable to start activity ComponentInfo{ir.naserpour.ketabsara/ir.naserpour.ketabsara.MainActivity}: java.lang.NullPointerException at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2275) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2325) at android.app.ActivityThread.access$1100(ActivityThread.java:141) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1238) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5352) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:863) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:679) at dalvik.system.NativeStart.main(Native Method)Caused by: java.lang.NullPointerException at ir.naserpour.ketabsara.MainActivity.onCreate(MainActivity.java:89) at android.app.Activity.performCreate(Activity.java:5280) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2239)