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 Almac3
, 10 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
via Stack Overflow by Arj44
, 1 year ago
Unable to instantiate activity ComponentInfo{com.ay44rt.dashaincountdown/com.ay44rt.dashaincountdown.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'long java.util.Date.getTime()' on a null object reference
via Stack Overflow by TheAlmac2
, 10 months ago
Unable to instantiate activity ComponentInfo{com.almac.tracker/com.almac.tracker.Dashboard}: java.lang.NullPointerException: Attempt to invoke virtual method 'double java.lang.Double.doubleValue()' 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
java.lang.RuntimeException: 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 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2817) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2892)