Unable to resume activity: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=8888, result=0, data=Intent { (has extras) }} to activity java.lang.NullPointerException: Attempt to invoke interface method 'void io.flutter.plugin.common.MethodChannel$Result.success(java.lang.Object)' on a null object reference
vivekkujur opened this issue · 1 comments
Hi,
catch this crash on crashlytics.:-
RazorpayPlugin.java line 48
com.hashbnm.razorpayplugin.RazorpayPlugin.onActivityResult
Flutter version 1.5.4
Stacktrace catch on crashlytics:
Fatal Exception: java.lang.RuntimeException: Unable to resume activity : java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=8888, result=0, data=Intent { (has extras) }} to activity {com.foodmonk.androidapp/com.foodmonk.customer_app_v2.MainActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'void io.flutter.plugin.common.MethodChannel$Result.success(java.lang.Object)' on a null object reference
at android.app.ActivityThread.performResumeActivity + 3657(ActivityThread.java:3657)
at android.app.ActivityThread.handleResumeActivity + 3697(ActivityThread.java:3697)
at android.app.ActivityThread.handleLaunchActivity + 2927(ActivityThread.java:2927)
at android.app.ActivityThread.-wrap11(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage + 1639(ActivityThread.java:1639)
at android.os.Handler.dispatchMessage + 106(Handler.java:106)
at android.os.Looper.loop + 176(Looper.java:176)
at android.app.ActivityThread.main + 6662(ActivityThread.java:6662)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run + 547(RuntimeInit.java:547)
at com.android.internal.os.ZygoteInit.main + 873(ZygoteInit.java:873)
Caused by java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=8888, result=0, data=Intent { (has extras) }} to activity : java.lang.NullPointerException: Attempt to invoke interface method 'void io.flutter.plugin.common.MethodChannel$Result.success(java.lang.Object)' on a null object reference
at android.app.ActivityThread.deliverResults + 4365(ActivityThread.java:4365)
at android.app.ActivityThread.performResumeActivity + 3629(ActivityThread.java:3629)
at android.app.ActivityThread.handleResumeActivity + 3697(ActivityThread.java:3697)
at android.app.ActivityThread.handleLaunchActivity + 2927(ActivityThread.java:2927)
at android.app.ActivityThread.-wrap11(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage + 1639(ActivityThread.java:1639)
at android.os.Handler.dispatchMessage + 106(Handler.java:106)
at android.os.Looper.loop + 176(Looper.java:176)
at android.app.ActivityThread.main + 6662(ActivityThread.java:6662)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run + 547(RuntimeInit.java:547)
Getting the same issue.Any solution?