java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.ribo_b.home/com.example.ribo_b.home.MainPage}: java.lang.NullPointerException

Stack Overflow | Java Beginner | 2 months ago
  1. 0

    Intent has cause the application to stop

    Stack Overflow | 2 months ago | Java Beginner
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.ribo_b.home/com.example.ribo_b.home.MainPage}: java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. maxxi 4 times, last 1 month ago
  2. Stefan Braune 6 times, last 6 months ago
  3. Riyaz 1 times, last 6 months ago
  4. asvid 4 times, last 6 months ago
  5. tone5992 2 times, last 7 months ago
2 more registered users
5 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.NullPointerException

    No message provided

    at android.widget.Toast.<init>()
  2. Android Platform
    Toast.makeText
    1. android.widget.Toast.<init>(Toast.java:120)
    2. android.widget.Toast.makeText(Toast.java:287)
    2 frames
  3. com.example.ribo_b
    MainPage.onCreate
    1. com.example.ribo_b.home.MainPage.onCreate(MainPage.java:14)
    1 frame
  4. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:5600)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2508)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2603)
    5. android.app.ActivityThread.access$900(ActivityThread.java:174)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1321)
    7. android.os.Handler.dispatchMessage(Handler.java:102)
    8. android.os.Looper.loop(Looper.java:146)
    9. android.app.ActivityThread.main(ActivityThread.java:5752)
    9 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1291)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1107)
    2 frames
  7. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame