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 GitHub by Fleker
, 1 year ago
Unable to resume activity {com.felkertech.n.cumulustv/com.felkertech.n.plugins.MainPicker}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.View com.afollestad.materialdialogs.MaterialDialog.getCustomView()' on a null object reference
via GitHub by dmsherazi
, 1 year ago
Unable to resume activity {net.kindows.chitchat/net.kindows.DecoderActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.View android.view.ViewStub.inflate()' on a null object reference
via GitHub by aminecmi
, 2 weeks ago
Unable to resume activity {Activity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v7.widget.LinearLayoutCompat.removeAllViews()' on a null object reference
via Stack Overflow by Matas Bagočiūnas
, 1 year ago
Unable to resume activity {com.example.mattas.simpleaplication/com.example.mattas.simpleaplication.NotesActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ListView.setAdapter(android.widget.ListAdapter)' on a null object reference
via Stack Overflow by zainab .a.k
, 1 year ago
Unable to resume activity {com.example.myapplication/com.example.myapplication.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.os.Bundle.getString(java.lang.String)' on a null object reference
via Stack Overflow by Bartłomiej Rasztabiga
, 1 year ago
Unable to resume activity {pl.rasztabiga.klasa1a/pl.rasztabiga.klasa1a.mainAct.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ProgressBar.setVisibility(int)' on a null object reference
java.lang.RuntimeException: Unable to resume activity {com.felkertech.n.cumulustv/com.felkertech.n.plugins.MainPicker}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.View com.afollestad.materialdialogs.MaterialDialog.getCustomView()' on a null object reference	at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3154)	at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3185)	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2523)