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

Fatal Exception: java.lang.RuntimeException #12

Open
aditiproctur opened this issue Nov 5, 2020 · 0 comments
Open

Fatal Exception: java.lang.RuntimeException #12

aditiproctur opened this issue Nov 5, 2020 · 0 comments

Comments

@aditiproctur
Copy link

@paytabscom @AdlyPayTabs @cogtea My application is crashing. I am getting the following error. Please check and suggest a solution.

Platform

Android

Version used

"react": "16.9.0",
"react-native": "^0.61.5",
"@paytabscom/react-native-paytabs-library": "^1.0.8",

Issue

Fatal Exception: java.lang.RuntimeException
Failure delivering result ResultInfo{who=null, request=62442, result=1, data=Intent { (has extras) }} to activity {com.student.testing/com.procturelearn.MainActivity}: java.lang.RuntimeException: Illegal callback invocation from native module. This callback type only permits a single invocation from native code.

Caused by java.lang.RuntimeException
Illegal callback invocation from native module. This callback type only permits a single invocation from native code.
com.facebook.react.bridge.CallbackImpl.invoke

Caused by java.lang.RuntimeException: Illegal callback invocation from native module. This callback type only permits a single invocation from native code.
       at com.facebook.react.bridge.CallbackImpl.invoke(CallbackImpl.java:25)
       at com.reactlibrary.RNPaytabsLibraryModule.onActivityResult(RNPaytabsLibraryModule.java:102)
       at com.facebook.react.bridge.ReactContext.onActivityResult(ReactContext.java:275)
       at com.facebook.react.ReactInstanceManager.onActivityResult(ReactInstanceManager.java:703)
       at com.facebook.react.ReactDelegate.onActivityResult(ReactDelegate.java:89)
       at com.facebook.react.ReactActivityDelegate.onActivityResult(ReactActivityDelegate.java:110)
       at com.facebook.react.ReactActivity.onActivityResult(ReactActivity.java:67)
       at android.app.Activity.dispatchActivityResult(Activity.java:7355)
       at android.app.ActivityThread.deliverResults(ActivityThread.java:4331)
       at android.app.ActivityThread.handleSendResult(ActivityThread.java:4379)
       at android.app.ActivityThread.-wrap19()
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1673)
       at android.os.Handler.dispatchMessage(Handler.java:106)
       at android.os.Looper.loop(Looper.java:176)
       at android.app.ActivityThread.main(ActivityThread.java:6651)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:824)

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

1 participant