java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=3453, result=-1, data=null} to activity {com.pantoninc.piV1/com.tns.NativeScriptActivity}: com.tns.NativeScriptException: Calling js method onActivityResult failed TypeError: Cannot read property 'getWidth' of null File: "/data/data/com.pantoninc.piV1/files/app/tns_modules/camera/camera.js, line: 53, column: 90 StackTrace: Frame: function:'appModule_1.android.onActivityResult', file:'/data/data/com.pantoninc.piV1/files/app/tns_modules/camera/camera.js', line: 53, column: 91 Frame: function:'ActivityCallbacksImplementation.onActivityResult', file:'/data/data/com.pantoninc.piV1/files/app/tns_modules/ui/frame/frame.js', line: 769, column: 13 Frame: function:'NativeScriptActivity.onActivityResult', file:'/data/data/com.pantoninc.piV1/files/app/tns_modules/ui/frame/activity.js', line: 33, column: 25

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 GitHub by Daxito
, 1 year ago
Failure delivering result ResultInfo{who=null, request=3453, result=-1, data=null} to activity {com.pantoninc.piV1/com.tns.NativeScriptActivity}: com.tns.NativeScriptException: Calling js method onActivityResult failed TypeError: Cannot read
via GitHub by egorikem
, 7 months ago
Failure delivering result ResultInfo{who=null, request=10485, result=-1, data=null} to activity {egorikem.iamfit/egorikem.iamfit.presentation.view.activities.LoginActivity}: java.lang.IllegalArgumentException: Parameter specified as non-null is null: method kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull, parameter data
via GitHub by fasteque
, 3 months ago
Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { dat=content://pl.solidexplorer.files/storage/emulated/0/DCIM/Camera/PermisVertVerso.jpg typ=image/jpeg }} to activity {com.fastebro.androidrgbtool/com.fastebro.androidrgbtool.ui.MainActivity}: android.database.CursorIndexOutOfBoundsException: Index 0 requested, with a size of 0
via GitHub by qmegas
, 5 months ago
Failure delivering result ResultInfo{who=null, request=1706816330, result=3, data=Intent { (has extras) }} to activity {com.test/com.test.MainActivity}: java.lang.RuntimeException: Cannot convert argument of type class com.braintreepayments.api.exceptions.UnexpectedException
via GitHub by Wolf00Bomber
, 2 months ago
Failure delivering result ResultInfo{who=null, request=131272, result=-1, data=Intent { dat=file:///storage/emulated/0/Pictures/**/VID_20170811_103648.mp4 flg=0x1 (has extras) }} to activity {com.**/com.**.NamedActivity}: java.lang.IllegalStateException
via GitHub by thomas-se
, 1 year ago
Failure delivering result ResultInfo{who=null, request=12, result=-1, data=Intent { cmp=com.m.b/.gui.activity.MainActivity (has extras) }} to activity {com.m.b/com.m.b.gui.activity.MainActivity}: java.lang.ClassCastException: java.util.ArrayList cannot be cast to java.lang.String
java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=3453, result=-1, data=null} to activity {com.pantoninc.piV1/com.tns.NativeScriptActivity}: com.tns.NativeScriptException: Calling js method onActivityResult failed TypeError: Cannot read property 'getWidth' of null File: "/data/data/com.pantoninc.piV1/files/app/tns_modules/camera/camera.js, line: 53, column: 90 StackTrace: Frame: function:'appModule_1.android.onActivityResult', file:'/data/data/com.pantoninc.piV1/files/app/tns_modules/camera/camera.js', line: 53, column: 91 Frame: function:'ActivityCallbacksImplementation.onActivityResult', file:'/data/data/com.pantoninc.piV1/files/app/tns_modules/ui/frame/frame.js', line: 769, column: 13 Frame: function:'NativeScriptActivity.onActivityResult', file:'/data/data/com.pantoninc.piV1/files/app/tns_modules/ui/frame/activity.js', line: 33, column: 25
at com.tns.Runtime.callJSMethodNative(Native Method)
at com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:861)
at com.tns.Runtime.callJSMethodImpl(Runtime.java:726)
at com.tns.Runtime.callJSMethod(Runtime.java:712)
at com.tns.Runtime.callJSMethod(Runtime.java:693)
at com.tns.Runtime.callJSMethod(Runtime.java:683)
at com.tns.NativeScriptActivity.onActivityResult(NativeScriptActivity.java:69)
at android.app.Activity.dispatchActivityResult(Activity.java:7137)
at android.app.ActivityThread.deliverResults(ActivityThread.java:4916)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 6 months ago

Know the solutions? Share your knowledge to help other developers to debug faster.