java.lang.RuntimeException: Unable to start activity ComponentInfo{ui.activity.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.EditText.setText(java.lang.CharSequence)' on a null object reference

Stack Overflow | Esteban | 1 week ago
  1. 0

    instantiateItem not called after rotation

    Stack Overflow | 1 week ago | Esteban
    java.lang.RuntimeException: Unable to start activity ComponentInfo{ui.activity.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.EditText.setText(java.lang.CharSequence)' on a null object reference
  2. 0
    The resource was accessed after it was dismissed.
  3. 0

    Crash on Login

    GitHub | 8 months ago | davidtorcivia
    java.lang.RuntimeException: Unable to start activity ComponentInfo{rocks.paperwork.android/rocks.paperwork.android.activities.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setText(java.lang.CharSequence)' on a null object reference
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    NullPointerException on ExpandableListView

    Stack Overflow | 4 weeks ago | francesco bocci
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.bfco.bocci.androhouse/com.bfco.bocci.androhouse.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ExpandableListView.setAdapter(android.widget.ExpandableListAdapter)' on a null object reference
  6. 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

  1. andreeaa marin 19 times, last 2 weeks ago
  2. Reich 6 times, last 2 weeks ago
  3. gamebusterz 4 times, last 3 weeks ago
  4. Aria Pahlavan 206 times, last 2 months ago
  5. iridic 13 times, last 2 months ago
18 more registered users
1 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{ui.activity.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.EditText.setText(java.lang.CharSequence)' on a null object reference

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