Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 #25

Open
vivekkujur opened this issue Jul 24, 2019 · 1 comment

Comments

@vivekkujur
Copy link

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)

@vivekkujur vivekkujur changed the title 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 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 Jul 24, 2019
@anjalipankhuri
Copy link

Getting the same issue.Any solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants