java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.kaushal28.locationbasedreminder/com.example.kaushal28.locationbasedreminder.Main2Activity}: java.lang.NullPointerException

Stack Overflow | 14bce109 | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    App crashes when Intent is passed

    Stack Overflow | 6 months ago | 14bce109
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.kaushal28.locationbasedreminder/com.example.kaushal28.locationbasedreminder.Main2Activity}: java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.example.kaushal28.locationbasedreminder.Main2Activity.onCreate()
    2. com.example.kaushal28
      Main2Activity.onCreate
      1. com.example.kaushal28.locationbasedreminder.Main2Activity.onCreate(Main2Activity.java:85)
      1 frame
    3. Android Platform
      ActivityThread.performLaunchActivity
      1. android.app.Activity.performCreate(Activity.java:5182)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1081)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2270)
      3 frames