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 user3700521
, 1 year ago
Unable to start activity ComponentInfo{com.example.app/com.example.app.ActivityMain}: java.lang.NullPointerException
via Stack Overflow by user3267656
, 2 years ago
Unable to start activity ComponentInfo{com.example.app/com.example.app.MainActivity}: java.lang.NullPointerException
via Stack Overflow by Victor Holotescu
, 2 years ago
Unable to start activity ComponentInfo{com.example.app/com.example.app.NotificareOptions}: java.lang.NullPointerException
via Stack Overflow by user1816019
, 1 year ago
Unable to start activity ComponentInfo{com.example.app/com.example.app.MainActivity}: java.lang.NullPointerException
via Stack Overflow by menu_on_top
, 2 years ago
Unable to start activity ComponentInfo{com.example.app/com.example.app.main}: java.lang.NullPointerException
via Stack Overflow by user2800980
, 2 years ago
Unable to start activity ComponentInfo{com.example.app/com.example.app.MainActivity}: java.lang.NullPointerException
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.app/com.example.app.ActivityMain}: java.lang.NullPointerException at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2180) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230) at android.app.ActivityThread.access$600(ActivityThread.java:141) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:5041) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560) at dalvik.system.NativeStart.main(Native Method)Caused by: java.lang.NullPointerException at com.example.app.taskmanager.tasks.TaskFactory.getTaskByName(TaskFactory.java:51) at com.example.app.taskmanager.TaskManager.initializeQueue(TaskManager.java:92) at com.example.app.taskmanager.TaskManager.<init>(TaskManager.java:71) at com.example.app.ActivityMain.keepAlive(ActivityMain.java:479) at com.example.app.ActivityMain.initializeVariables(ActivityMain.java:947) at com.example.app.ActivityMain.onCreate(ActivityMain.java:161) at android.app.Activity.performCreate(Activity.java:5104) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144) ... 11 more