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

Stack Overflow | Sindhuja | 2 days ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Android: Error: Unfortunately app has stopped

    Stack Overflow | 2 days ago | Sindhuja
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.priya.bigbasket/com.example.priya.bigbasket.MainActivity}: java.lang.NullPointerException
  2. 0

    method invocation may produce java.lang.nullpointerexception

    Stack Overflow | 11 months ago | Mohamad Mustafa
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.teamredrmit.weatherapp/com.example.teamredrmit.weathe app.MainActivity}: java.lang.NullPointerException at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2184) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2233) at android.app.ActivityThread.access$800(ActivityThread.java:135)
  3. 0

    Getting a NullPointerException with AppCompat

    Stack Overflow | 2 years ago | apolleitor
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.alejandrohall.myapplication/com.example.alejandrohall.myapplication.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unable to start actvity componentinfo - android app barcode scanner

    Stack Overflow | 3 years ago | user3747512
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.barcodescanningapp/com.example.barcodescanningapp.MainActivity}: java.lang.NullPointerException
  6. 0

    Pass a parameter from a text box

    Stack Overflow | 3 years ago | user2808099
    java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.example.App/com.example.App.MainActivity}: java.lang.NullPointerException

    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 com.example.priya.bigbasket.MainActivity.onCreate()
    2. com.example.priya
      MainActivity.onCreate
      1. com.example.priya.bigbasket.MainActivity.onCreate(MainActivity.java:28)
      1 frame
    3. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:5283)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1097)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2209)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2299)
      5. android.app.ActivityThread.access$700(ActivityThread.java:150)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1280)
      7. android.os.Handler.dispatchMessage(Handler.java:99)
      8. android.os.Looper.loop(Looper.java:137)
      9. android.app.ActivityThread.main(ActivityThread.java:5283)
      9 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:511)
      2 frames
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869)
      2 frames
    6. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame