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 Bayu Wibawa
, 1 year ago
Unable to start activity ComponentInfo{probypro.posv2/probypro.posv2.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'probypro.posv2.Bill probypro.posv2.DatabaseHelper.getBill(long)' on a null object reference
via GitHub by Traumhaftt
, 1 year ago
Unable to start activity ComponentInfo{MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference
via Stack Overflow by Kapparino
, 1 year 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
via GitHub by billmeek
, 2 years ago
Unable to start activity ComponentInfo{org.mythtv.android/org.mythtv.android.presentation.view.activity.AppProgramDetailsActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'long org.joda.time.DateTime.getMillis()' on a null object reference
via Stack Overflow by Almac3
, 5 months ago
Unable to start activity ComponentInfo{com.almac.tracker/com.almac.tracker.CreateLine}: java.lang.NullPointerException: Attempt to invoke virtual method 'long java.util.Date.getTime()' on a null object reference
via Stack Overflow by Noopur
, 1 year ago
Unable to start activity ComponentInfo{com.yapsody.yapstats/com.yapsody.yapstats.Activities.EventsActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'long java.util.Date.getTime()' on a null object reference
java.lang.RuntimeException: Unable to start activity ComponentInfo{probypro.posv2/probypro.posv2.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'probypro.posv2.Bill probypro.posv2.DatabaseHelper.getBill(long)' on a null object reference	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)