java.lang.RuntimeException: Unable to start activity ComponentInfo{com.ex.himan.safetyPatrol/com.ex.himan.safetyPatrol.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v4.app.ActionBarDrawerToggle.syncS tate()' on a null object reference at android.app.ActivityThread.performLaunchActivity(A ctivityThread.java:2712) at android.app.ActivityThread.handleLaunchActivity(Ac tivityThread.java:2779) at android.app.ActivityThread.access$900(ActivityThre ad.java:179) at android.app.ActivityThread$H.handleMessage(Activit yThread.java:1462) at android.os.Handler.dispatchMessage(Handler.java:10 2)

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 techonce.net by Unknown author, 2 years ago
Unable to start activity ComponentInfo{com.ex.himan.safetyPatrol/com.ex.himan.safetyPatrol.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v4.app.ActionBarDrawerToggle.syncS tate()' on a null
via techonce.net by Unknown author, 2 years ago
android.app.ActivityThread.access$800(ActivityThre ad.java:144) at android.app.ActivityThread$H.handleMessage(Activit yThread.java:1278) at android.os.Handler.dispatchMessage(Handler.java:10 2)
via queforum.com by Unknown author, 2 years ago
Unable to start activity ComponentInfo{com.h2o/com.h2o.AccountActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.Button.setOnClickListener(android.v iew.View$OnClickListener)' on a null object reference
via queforum.com by Unknown author, 2 years ago
reference at android.app.ActivityThread.performLaunchActivity(A ctivityThread.java:2209) at android.app.ActivityThread.handleLaunchActivity(Ac tivityThread.java:2360) at android.app.ActivityThread.access$800(ActivityThre ad.java:144) at android.app.ActivityThread$H.handleMessage(Activit yThread.java:1278) at android.os.Handler.dispatchMessage(Handler.java:10 2)
via xda-developers.com by Unknown author, 2 years ago
) at android.app.ActivityThread.handleLaunchActivity(Ac tivityThread.java:2386) at android.app.ActivityThread.access$900(ActivityThre ad.java:169) at android.app.ActivityThread$H.handleMessage(Activit yThread.java:1277) at android.os.Handler.dispatchMessage(Handler.java:10 2)
via java-forums.org by Unknown author, 1 year ago
android.app.ActivityThread.handleLaunchActivity(Ac tivityThread.java:2245) at android.app.ActivityThread.access$800(ActivityThre ad.java:135) at android.app.ActivityThread$H.handleMessage(Activit yThread.java:1196) at android.os.Handler.dispatchMessage(Handler.java:10 2)
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.ex.himan.safetyPatrol/com.ex.himan.safetyPatrol.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v4.app.ActionBarDrawerToggle.syncS tate()' on a null object reference at android.app.ActivityThread.performLaunchActivity(A ctivityThread.java:2712) at android.app.ActivityThread.handleLaunchActivity(Ac tivityThread.java:2779) at android.app.ActivityThread.access$900(ActivityThre ad.java:179) at android.app.ActivityThread$H.handleMessage(Activit yThread.java:1462) at android.os.Handler.dispatchMessage(Handler.java:10 2)
at android.os.Looper.loop(Looper.java:145)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.