Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by E-Place
, 1 year ago
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
via GitHub by BishopGIS
, 2 years ago
Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { (has extras) }} to activity {com.nextgis.mobile/com.nextgis.mobile.activity.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.nextgis.maplib.map.VectorLayer.showFeature(long)' on a null object reference
via Stack Overflow by Gionne Lapuz
, 1 year ago
Failure delivering result ResultInfo{who=null, request=7, result=-1, data=Intent { (has extras) }} to activity {com.example.gin.login/com.example.gin.login.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.net.Uri.toString()' on a null object reference
via GitHub by dmitriev-alexey
, 1 month ago
Failure delivering result ResultInfo{who=null, request=1000, result=-1, data=Intent { flg=0x43 }} to activity {*** /com.marchinram.rxgallery.RxGalleryActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.content.ClipData.getItemCount()' on a null object reference
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)