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

GitHub | ccrama | 9 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to poroszd . Or join the community to write better ones.
  1. 0

    GitHub comment 1912#232510281

    GitHub | 9 months ago | ccrama
    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
  2. 0
    samebug tip
    The resource was accessed after it was dismissed.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    How to get GPS back to show another process?

    Stack Overflow | 3 years ago | user3737339
    java.lang.NullPointerException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. me.ccrama.redditslide
      SubmissionsView.onResume
      1. me.ccrama.redditslide.Adapters.SubmissionAdapter.performClick(SubmissionAdapter.java:416)
      2. me.ccrama.redditslide.Fragments.SubmissionsView.onResume(SubmissionsView.java:361)
      2 frames
    3. Android Support v4
      FragmentActivity.onPostResume
      1. android.support.v4.app.Fragment.performResume(Fragment.java:2020)
      2. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1107)
      3. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1252)
      4. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1234)
      5. android.support.v4.app.FragmentManagerImpl.dispatchResume(FragmentManager.java:2056)
      6. android.support.v4.app.FragmentController.dispatchResume(FragmentController.java:196)
      7. android.support.v4.app.FragmentActivity.onResumeFragments(FragmentActivity.java:505)
      8. android.support.v4.app.FragmentActivity.onPostResume(FragmentActivity.java:494)
      8 frames
    4. Android v7
      AppCompatActivity.onPostResume
      1. android.support.v7.app.AppCompatActivity.onPostResume(AppCompatActivity.java:168)
      1 frame
    5. Android Platform
      ActivityThread.performResumeActivity
      1. android.app.Activity.performResume(Activity.java:6362)
      2. android.app.ActivityThread.performResumeActivity(ActivityThread.java:3336)
      2 frames