java.lang.RuntimeException: Unable to start activity ComponentInfo{vakili.ramin.apps.actionbartest/vakili.ramin.apps.actionbartest .MainActivity}: java.lang.NullPointerException at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1956) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981)

Stack Overflow | soeldiablo | 11 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
    samebug tip
    Try loading the text file into a WebView, then printing the contents of the WebView.
  2. 0

    Change textcolor of a custom ListView

    Stack Overflow | 11 months ago | soeldiablo
    java.lang.RuntimeException: Unable to start activity ComponentInfo{vakili.ramin.apps.actionbartest/vakili.ramin.apps.actionbartest .MainActivity}: java.lang.NullPointerException at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1956) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981)
  3. 0

    android app crashing after adding navigation drawer

    Stack Overflow | 2 years ago | Abhishek Kulshrestha
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.abhi.mymanager/com.example.abhi.mymanager.HomeActivity}: java.lang.NullPointerException at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1956) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    how to connect mysql to android

    Google Groups | 5 years ago | ramalakshmi
    java.lang.RuntimeException: Your content must have a ListView whose id attribute is 'android.R.id.list' at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1956) at
  6. 0

    Why is DialogFragment.onCreateView called when Activity is being Destroyed?

    Stack Overflow | 4 years ago | WindsurferOak
    java.lang.RuntimeException: Unable to destroy activity {com.myapp/com.myapp.activity.FirstFragment}: java.lang.NullPointerException

  1. Pierre 1 times, last 4 days ago
  2. Hiren 82 times, last 6 days ago
  3. Indri Yunita 98 times, last 3 weeks ago
  4. andreeaa marin 8 times, last 2 months ago
  5. ahmed 6 times, last 2 months ago
80 more registered users
15 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{vakili.ramin.apps.actionbartest/vakili.ramin.apps.actionbartest .MainActivity}: java.lang.NullPointerException at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1956) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981)

    at android.app.ActivityThread.access$600()
  2. Android Platform
    ActivityThread.main
    1. android.app.ActivityThread.access$600(ActivityThread.java:123)
    2. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147)
    3. android.os.Handler.dispatchMessage(Handler.java:99)
    4. android.os.Looper.loop(Looper.java:137)
    5. android.app.ActivityThread.main(ActivityThread.java:4424)
    5 frames
  3. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:511)
    2 frames