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

Samebug tips

  1. ,

    Create an empty public constructor in your code.

Solutions on the web

via Stack Overflow by Sujith Sizon
, 1 year ago
Unable to start activity ComponentInfo{com.sujithsizon.lzlogin3/com.sujithsizon.lzlogin3.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.Object.toString()' on a null object reference
via Stack Overflow by Mohamed Sayed
, 2 weeks ago
Unable to start activity ComponentInfo{com.example.dev_professor.chatapp/com.example.dev_professor.chatapp.Chat_Room}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.Object.toString()' on a null object reference
via Stack Overflow by Swapnil Sharma
, 2 weeks ago
Unable to start activity ComponentInfo{com.example.swapnil.chitchat/com.example.swapnil.chitchat.ProfileActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.Object.toString()' on a null object reference
via Stack Overflow by Kyle Ransom
, 2 years ago
Unable to start activity ComponentInfo{com.uplymedia.cougarhookupsplus/com.uplymedia.cougarhookupsplus.SettingMatch}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.Object.toString()' on a null object reference
via Stack Overflow by Jason
, 1 year ago
Unable to start activity ComponentInfo{com.sp.ez_mart/com.sp.ez_mart.navigation_front}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.Object.toString()' on a null object reference
via Stack Overflow by Kapparino
, 2 years ago
Unable to start activity ComponentInfo{MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.google.android.gms.maps.SupportMapFragment.getMapAsync(com.google.android.gms.maps.OnMapReadyCallback)' on a null object reference
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.sujithsizon.lzlogin3/com.sujithsizon.lzlogin3.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.Object.toString()' on a null object reference at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2426) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2490)