java.lang.RuntimeException: Unable to resume activity {me.ccrama.redditslide.debug/me.ccrama.redditslide.Activities.MainActivity}: java.lang.NullPointerException: Attempt to read from field 'android.view.View android.support.v7.widget.RecyclerView$ViewHolder.itemView' on a null object reference

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 GitHub by ccrama
, 1 year ago
Unable to resume activity {me.ccrama.redditslide.debug/me.ccrama.redditslide.Activities.MainActivity}: java.lang.NullPointerException: Attempt to read from field 'android.view.View android.support.v7.widget.RecyclerView$ViewHolder.itemView' on a null object reference
via GitHub by ojarabo
, 1 year ago
Unable to resume activity {Screens.DetailActivity}: java.lang.NullPointerException: Attempt to read from field 'io.realm.HandlerController io.realm.BaseRealm.handlerController' on a null object reference
via GitHub by andrew-davie
, 1 year ago
Unable to resume activity {net.osmand/net.osmand.plus.activities.MapActivity}: java.lang.NullPointerException: Attempt to read from field 'int net.osmand.plus.GPXUtilities$GPXTrackAnalysis.wptPoints' on a null object reference
via GitHub by SwayChen
, 1 year ago
Unable to resume activity {com.bumptech.glide.samples.giphy/com.bumptech.glide.samples.giphy.MainActivity}: java.lang.NullPointerException: Attempt to read from field 'int com.bumptech.glide.gifdecoder.GifHeader.frameCount' 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 huteri
, 6 months ago
Unable to resume activity {com.sweetescape.android.staging/com.midtrans.sdk.uikit.activities.CreditDebitCardFlowActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.midtrans.sdk.corekit.models.TransactionResponse.getOrderId()' on a null object reference
java.lang.RuntimeException: Unable to resume activity {me.ccrama.redditslide.debug/me.ccrama.redditslide.Activities.MainActivity}: java.lang.NullPointerException: Attempt to read from field 'android.view.View android.support.v7.widget.RecyclerView$ViewHolder.itemView' on a null object reference
at me.ccrama.redditslide.Adapters.SubmissionAdapter.performClick(SubmissionAdapter.java:416)
at me.ccrama.redditslide.Fragments.SubmissionsView.onResume(SubmissionsView.java:361)
at android.support.v4.app.Fragment.performResume(Fragment.java:2020)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1107)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1252)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1234)
at android.support.v4.app.FragmentManagerImpl.dispatchResume(FragmentManager.java:2056)
at android.support.v4.app.FragmentController.dispatchResume(FragmentController.java:196)
at android.support.v4.app.FragmentActivity.onResumeFragments(FragmentActivity.java:505)
at android.app.Activity.performResume(Activity.java:6362)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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