java.lang.RuntimeException: Unable to start activity ComponentInfo{com.naran.whacko/com.naran.whacko.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ImageButton.setVisibility(int)' on a null object reference at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)

Stack Overflow | Vijay | 5 months ago
  1. 0

    Android View NullpointerException

    Stack Overflow | 5 months ago | Vijay
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.naran.whacko/com.naran.whacko.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ImageButton.setVisibility(int)' on a null object reference at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)
  2. 0

    Attempt to invoke virtual method 'void android.app.ActionBar.setDisplayHomeAsUpEnabled(boolean)' on a null object reference NullPointer

    Stack Overflow | 11 months ago | sushi7777
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.suzan.parentmeetme/com.example.suzan.parentmeetme.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.app.ActionBar.setDisplayHomeAsUpEnabled(boolean)' on a null object reference at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)
  3. 0

    Attempt to get length of null array error, How to solve?

    Stack Overflow | 7 months ago | ali khalife soltani
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.ali.searchfiles/com.ali.searchfiles.MainActivity}: java.lang.NullPointerException: Attempt to get length of null array at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Run time error in Android TabLayout using ViewPager and Fragments

    Stack Overflow | 4 months ago | Akhil
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.asoft.admin.anto_tab/com.asoft.admin.anto_tab.MainActivity}: java.lang.IllegalStateException: This Activity already has an action bar supplied by the window decor. Do not request Window.FEATURE_SUPPORT_ACTION_BAR and set windowActionBar to false in your theme to use a Toolbar instead. at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)
  6. 0

    I want to show multiple location in Android Google Map Activity

    Stack Overflow | 4 months ago | Mahmud Hasan
    java.lang.RuntimeException: Unable to start activity ComponentInfo{daffodilvarsity.edu.bd.studentportal/daffodilvarsity.edu.bd. studentportal.MapsActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.google.android.gms.maps.MapFragment.getMapAsync(com.google.android.gms.maps.OnMapReadyCallback)' on a null object reference at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)

  1. malhobayyeb 9 times, last 1 week ago
  2. bluebunnty 11 times, last 2 weeks ago
  3. Aria Pahlavan 733 times, last 1 week ago
  4. Alexandru Popa 12 times, last 3 weeks ago
  5. iridic 4 times, last 3 weeks ago
38 more registered users
6 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{com.naran.whacko/com.naran.whacko.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ImageButton.setVisibility(int)' on a null object reference at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)

    at android.app.ActivityThread.handleLaunchActivity()
  2. Android Platform
    ActivityThread.handleLaunchActivity
    1. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
    1 frame