java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.sensorlist/com.example.sensorlist.MainActivity}: java.lang.NullPointerException

  1. 0

    java.lang.NullPointerException in File creation error

    Stack Overflow | 2 months ago | rockybalboa123
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.sensorlist/com.example.sensorlist.MainActivity}: java.lang.NullPointerException
  2. 0

    Fatal Error On main Thread

    Stack Overflow | 3 years ago | Epistemologist
    java.lang.IllegalStateException: Could not execute method of the activity
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    IBM JSSE error on solaris

    Google Groups | 1 decade ago | ningjun wang
    java.lang.NullPointerException
  5. 0

    Servlet Compile Error (NullPointerException)

    Google Groups | 1 decade ago | lazlo fruvous
    java.lang.NullPointerException

  1. Vladimir Dmie 1 times, last 4 months ago
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

    No message provided

    at java.io.File.fixSlashes()
  2. Java RT
    FileOutputStream.<init>
    1. java.io.File.fixSlashes(File.java:185)
    2. java.io.File.<init>(File.java:134)
    3. java.io.FileOutputStream.<init>(FileOutputStream.java:128)
    4. java.io.FileOutputStream.<init>(FileOutputStream.java:117)
    4 frames
  3. com.example.sensorlist
    MainActivity.onCreate
    1. com.example.sensorlist.MainActivity.onCreate(MainActivity.java:64)
    1 frame
  4. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:5122)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1081)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2307)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2395)
    5. android.app.ActivityThread.access$600(ActivityThread.java:162)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1364)
    7. android.os.Handler.dispatchMessage(Handler.java:107)
    8. android.os.Looper.loop(Looper.java:194)
    9. android.app.ActivityThread.main(ActivityThread.java:5371)
    9 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:525)
    2 frames
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
    2 frames
  7. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame