java.lang.RuntimeException

Failure delivering result ResultInfo{who=null, request=100, result=0, data=Intent { (has extras) }} to activity {com.emergency.e_place/com.emergency.e_place.LoginActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.Context android.view.ViewGroup.getContext()' on a null object reference

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web36

  • Stack trace

    • java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=100, result=0, data=Intent { (has extras) }} to activity {com.emergency.e_place/com.emergency.e_place.LoginActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.Context android.view.ViewGroup.getContext()' on a null object reference at android.app.ActivityThread.deliverResults(ActivityThread.java:4756) at android.app.ActivityThread.handleSendResult(ActivityThread.java:4799) at android.app.ActivityThread.access$1500(ActivityThread.java:211) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1754) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:145) at android.app.ActivityThread.main(ActivityThread.java:6946) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1404) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199) Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.Context android.view.ViewGroup.getContext()' on a null object reference at android.support.design.widget.Snackbar.<init>(Snackbar.java:124) at android.support.design.widget.Snackbar.make(Snackbar.java:148) at com.emergency.e_place.LoginActivity.handleSignInResult(LoginActivity.java:76) at com.emergency.e_place.LoginActivity.onActivityResult(LoginActivity.java:54) at android.app.Activity.dispatchActivityResult(Activity.java:6833) at android.app.ActivityThread.deliverResults(ActivityThread.java:4752)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Alexandru PopaAlexandru Popa
    9 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Ranjana DangolRanjana Dangol
    Once,
    Unknown visitor
    Unknown visitorOnce,
    1 more bugmates