java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.pmss/com.pmss.Login}: java.lang.NullPointerException

Stack Overflow | Nick | 3 years ago
  1. 0

    I see no error in my coding but when run on my apps it force closed

    Stack Overflow | 3 years ago | Nick
    java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.pmss/com.pmss.Login}: java.lang.NullPointerException
  2. 0

    "Unable to instantiate activity" when running app

    Stack Overflow | 2 years ago | novice
    java.lang.NullPointerException
  3. 0

    App crash due to NullPointerException

    Stack Overflow | 3 years ago | Pora Puski
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unable to instantiate activity:java.lang.NullPointerException

    Stack Overflow | 3 years ago | Joe Richard
    java.lang.NullPointerException
  6. 0

    Android: dynamically loading different layouts of choice into another layout

    Stack Overflow | 5 years ago | mike666234
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.cep/com.cep.MapricotActivity}: java.lang.NullPointerException

  1. ivotje50 3 times, last 3 months ago
  2. brunosatriani 1 times, last 5 months ago
  3. shameer 1 times, last 8 months ago
3 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.app.Activity.findViewById()
  2. Android Platform
    Activity.findViewById
    1. android.app.Activity.findViewById(Activity.java:1647)
    1 frame
  3. com.pmss
    Login.<init>
    1. com.pmss.Login.<init>(Login.java:14)
    1 frame
  4. Java RT
    Class.newInstance
    1. java.lang.Class.newInstanceImpl(Native Method)
    2. java.lang.Class.newInstance(Class.java:1409)
    2 frames
  5. Android Platform
    ActivityThread.main
    1. android.app.Instrumentation.newActivity(Instrumentation.java:1021)
    2. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1565)
    3. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1667)
    4. android.app.ActivityThread.access$1500(ActivityThread.java:117)
    5. android.app.ActivityThread$H.handleMessage(ActivityThread.java:935)
    6. android.os.Handler.dispatchMessage(Handler.java:99)
    7. android.os.Looper.loop(Looper.java:130)
    8. android.app.ActivityThread.main(ActivityThread.java:3687)
    8 frames
  6. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:507)
    2 frames
  7. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625)
    2 frames
  8. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame