java.lang.RuntimeException: Unable to start activity ComponentInfo{my.app.debug/my.app.ui.activity.MainActivity}: java.lang.NullPointerException: Attempt to write to field 'int android.support.v4.app.Fragment.mNextAnim' on a null object reference

GitHub | alashow | 1 month ago
  1. 0

    NPE Fragment.mNextAnim

    GitHub | 1 month ago | alashow
    java.lang.RuntimeException: Unable to start activity ComponentInfo{my.app.debug/my.app.ui.activity.MainActivity}: java.lang.NullPointerException: Attempt to write to field 'int android.support.v4.app.Fragment.mNextAnim' on a null object reference
  2. 0

    How to restore Recyclerview after rotation with onRestoreInstanteState()

    Stack Overflow | 10 months ago | CBA110
    java.lang.RuntimeException: Unable to start activity ComponentInfo{uk.co.my_package.weatherscan/uk.co.my_package.weatherscan.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v7.widget.LinearLayoutManager.onRestoreInstanceState(android.os.Parcelable)' on a null object reference
  3. 0

    How do I troubleshoot an NPE when creating my activity in android?

    Stack Overflow | 2 years ago | Dennis
    java.lang.RuntimeException: Unable to start activity ComponentInfo{}: java.lang.NullPointerException: Attempt to read from field 'boolean android.support.v4.app.BackStackRecord.mAddToBackStack' on a null object reference
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Crash in BrowseSupportFragment because of BrowseSupportFragment.setHeadersState(BrowseSupportFragment.HEADERS_DISABLED)

    GitHub | 4 months ago | michaelrhughes
    java.lang.RuntimeException: Unable to start activity ComponentInfo{my.package.name}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.View android.support.v4.app.Fragment.getView()' on a null object reference
  6. 0

    Recycler View - Null pointer exception

    Stack Overflow | 11 months ago | fizzyisdizzy
    java.lang.RuntimeException: Unable to start activity ComponentInfo{app.com.example.android.prototype/app.com.example.android.prototype.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v7.widget.RecyclerView.setHasFixedSize(boolean)' on a null object reference

  1. andreeaa marin 180 times, last 1 week ago
  2. Reich 59 times, last 7 days ago
  3. gamebusterz 28 times, last 5 hours ago
  4. Emrah Küçük 3 times, last 4 weeks ago
  5. Riyaz 2 times, last 1 month ago
43 more registered users
11 unregistered visitors
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.RuntimeException

    Unable to start activity ComponentInfo{my.app.debug/my.app.ui.activity.MainActivity}: java.lang.NullPointerException: Attempt to write to field 'int android.support.v4.app.Fragment.mNextAnim' on a null object reference

    at android.app.ActivityThread.performLaunchActivity()
  2. Android Platform
    ActivityThread.handleLaunchActivity
    1. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2665)
    2. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2726)
    2 frames