java.lang.RuntimeException: Unable to start activity ComponentInfo{org.wordpress.android/com.helpshift.support.activities.ParentActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.Context android.support.v4.app.FragmentHostCallback.getContext()' on a null object reference

GitHub | maxme | 6 months ago
  1. 0

    Crash report 5.6: HelpShift crashes, NPE in com.helpshift.activities.MainActivity.onCreate

    GitHub | 6 months ago | maxme
    java.lang.RuntimeException: Unable to start activity ComponentInfo{org.wordpress.android/com.helpshift.support.activities.ParentActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.Context android.support.v4.app.FragmentHostCallback.getContext()' on a null object reference
  2. 0

    Fatal Crash in Prod - NullPointerException in RegistrationActivity

    GitHub | 1 month ago | carlpoole
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mtesitoo/com.mtesitoo.RegistrationActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'com.tech.freak.wizardpager.model.Page com.tech.freak.wizardpager.model.AbstractWizardModel.findByKey(java.lang.String)' on a null object reference
  3. 0

    android browse images failure delivering result error

    Stack Overflow | 5 years ago | jonny
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { dat=content://media/external/images/media/73 }} to activity {ianco.test.andrei/ianco.test.andrei.BrowsePicture}: java.lang.NullPointerException 12-24 14:19:40.537: E/AndroidRuntime(5892): at android.app.ActivityThread.deliverResults(ActivityThread.java:2553) 12-24 14:19:40.537: E/AndroidRuntime(5892): at android.app.ActivityThread.handleSendResult(ActivityThread.java:2595) 12-24 14:19:40.537: E/AndroidRuntime(5892): at android.app.ActivityThread.access$2000(ActivityThread.java:121) 12-24 14:19:40.537: E/AndroidRuntime(5892): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:973)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Why is DialogFragment.onCreateView called when Activity is being Destroyed?

    Stack Overflow | 4 years ago | WindsurferOak
    java.lang.RuntimeException: Unable to destroy activity {com.myapp/com.myapp.activity.FirstFragment}: java.lang.NullPointerException

  1. rp 1 times, last 2 weeks ago
  2. Indri Yunita 74 times, last 3 weeks ago
  3. mhicauber 2 times, last 2 months ago
  4. dealloc 1 times, last 2 months ago
  5. bmacedo 1 times, last 2 months ago
77 more registered users
18 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.RuntimeException

    Unable to start activity ComponentInfo{org.wordpress.android/com.helpshift.support.activities.ParentActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.Context android.support.v4.app.FragmentHostCallback.getContext()' on a null object reference

    at android.app.ActivityThread.performLaunchActivity()
  2. Android Platform
    ActivityThread.main
    1. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3254)
    2. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3350)
    3. android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:5387)
    4. android.app.ActivityThread.access$1200(ActivityThread.java:222)
    5. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1801)
    6. android.os.Handler.dispatchMessage(Handler.java:102)
    7. android.os.Looper.loop(Looper.java:158)
    8. android.app.ActivityThread.main(ActivityThread.java:7229)
    8 frames
  3. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Method.java)
    1 frame
  4. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
    2 frames