java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.trinitygetcontact/com.trinitygetcontact.MainActivity}: java.lang.NullPointerException

Stack Overflow | Fahad Saleem | 3 months ago
  1. 0

    Null Pointer Exception while using intents with custom ListView

    Stack Overflow | 3 months ago | Fahad Saleem
    java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.trinitygetcontact/com.trinitygetcontact.MainActivity}: java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Crash after orientation change

    GitHub | 2 years ago | daniele-athome
    java.lang.NullPointerException

  1. balajivaishnav 2 times, last 9 months ago
12 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.content.ContextWrapper.getPackageName()
  2. Android Platform
    Intent.<init>
    1. android.content.ContextWrapper.getPackageName(ContextWrapper.java:135)
    2. android.content.ComponentName.<init>(ComponentName.java:75)
    3. android.content.Intent.<init>(Intent.java:3546)
    3 frames
  3. com.trinitygetcontact
    MainActivity.<init>
    1. com.trinitygetcontact.MainActivity.<init>(MainActivity.java:39)
    1 frame
  4. Java RT
    Class.newInstance
    1. java.lang.Class.newInstanceImpl(Native Method)
    2. java.lang.Class.newInstance(Class.java:1319)
    2 frames
  5. Android Platform
    ActivityThread.performLaunchActivity
    1. android.app.Instrumentation.newActivity(Instrumentation.java:1055)
    2. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2103)
    2 frames