com.tns.NativeScriptException: Calling js method onTouch failed TypeError: Cannot read property 'android' of undefined File: "/data/data/package_name/files/app/tns_modules/ui/gestures/gestures.js, line: 97, column: 40 StackTrace: Frame: function:'Page._showNativeModalView', file:'/data/data/package_name/files/app/tns_modules/ui/page/page.js', line: 138, column: 47 Frame: function:'Page.showModal', file:'/data/data/package_name/files/app/tns_modules/ui/page/page-common.js', line: 222, column: 18 Frame: function:'buscarCliente', file:'/data/data/package_name/files/app/views/abrir/ver-cotizacion/clonar/clonar.js', line: 99, column: 14 Frame: function:'_executeCallback', file:'/data/data/package_name/files/app/tns_modules/ui/gestures/gestures.js', line: 151, column: 27 Frame: function:'TapAndDoubleTapGestureListener.onSingleTapUp', file:'/data/data/package_name/files/app/tns_modules/ui/gestures/gestures.js', line: 171, column: 17 Frame: function:'GesturesObserver.androidOnTouchEvent', file:'/data/data/package_name/files/app/tns_modules/ui/gestures/gestures.js', line: 97, column: 41 Frame: function:'onTouch', file:'/data/data/package_name/files/app/tns_modules/ui/core/view.js', line: 113, column: 37

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 Pip3r4o
, 1 year ago
Calling js method onTouch failed TypeError: Cannot read property 'android' of undefined File: "/data/data/package_name/files/app/tns_modules/ui/gestures/gestures.js, line: 97, column: 40 StackTrace: Frame: function:'Page._showNativeModalView
via GitHub by dgmaar
, 1 year ago
Calling js method onTouch failed TypeError: Cannot read property 'android' of undefined File: "/data/data/package_name/files/app/tns_modules/ui/gestures/gestures.js, line: 97, column: 40 StackTrace: Frame: function:'Page._showNativeModalView
via GitHub by abhayastudios
, 1 year ago
Calling js method onTouch failed [object Object] File: "/data/data/<app>/files/app/tns_modules/ui/gestures/gestures.js, line: 97, column: 40 StackTrace: Frame: function:'GesturesObserver.androidOnTouchEvent', file:'/data/data/<app>/files/app
via GitHub by ianhaggerty
, 11 months ago
Calling js method onClick failed [object Object] File: "file:///data/data/org.nativescript.Groceries/files/app/tns_modules/@angular/core/bundles/core.umd.js, line: 12760, column: 20 StackTrace: Frame: function:'DebugAppView
via GitHub by david-quadpro
, 4 months ago
Calling js method onClick failed [object Object] File: "file:///data/data/com.quadpro.qplusrequest/files/app/tns_modules/rxjs/Subscriber.js, line: 227, column: 12 StackTrace: Frame: function:'SafeSubscriber.__tryOrUnsub', file:'file:///data/data
via Stack Overflow by Koushik Sarkar
, 1 year ago
Calling js method onClick failed [object Object] File: "/data/data/org.nativescript.groceries/files/app/tns_modules/@angular/core/bundles/core.umd.js, line: 9427, column: 20 StackTrace: Frame: function:'DebugAppView._rethrowWithContext', file
com.tns.NativeScriptException: Calling js method onTouch failed TypeError: Cannot read property 'android' of undefined File: "/data/data/package_name/files/app/tns_modules/ui/gestures/gestures.js, line: 97, column: 40 StackTrace: Frame: function:'Page._showNativeModalView', file:'/data/data/package_name/files/app/tns_modules/ui/page/page.js', line: 138, column: 47 Frame: function:'Page.showModal', file:'/data/data/package_name/files/app/tns_modules/ui/page/page-common.js', line: 222, column: 18 Frame: function:'buscarCliente', file:'/data/data/package_name/files/app/views/abrir/ver-cotizacion/clonar/clonar.js', line: 99, column: 14 Frame: function:'_executeCallback', file:'/data/data/package_name/files/app/tns_modules/ui/gestures/gestures.js', line: 151, column: 27 Frame: function:'TapAndDoubleTapGestureListener.onSingleTapUp', file:'/data/data/package_name/files/app/tns_modules/ui/gestures/gestures.js', line: 171, column: 17 Frame: function:'GesturesObserver.androidOnTouchEvent', file:'/data/data/package_name/files/app/tns_modules/ui/gestures/gestures.js', line: 97, column: 41 Frame: function:'onTouch', file:'/data/data/package_name/files/app/tns_modules/ui/core/view.js', line: 113, column: 37
at com.tns.Runtime.callJSMethodNative(Native Method)
at com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1022)
at com.tns.Runtime.callJSMethodImpl(Runtime.java:907)
at com.tns.Runtime.callJSMethod(Runtime.java:895)
at com.tns.Runtime.callJSMethod(Runtime.java:879)
at com.tns.Runtime.callJSMethod(Runtime.java:871)
at com.tns.gen.android.view.View_OnTouchListener.onTouch(android.view.View$OnTouchListener.java)
at android.view.View.dispatchTouchEvent(View.java:8802)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2581)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2581)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2581)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2581)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2581)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2581)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2581)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2581)
at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2607)
at android.view.View.dispatchPointerEvent(View.java:9003)
at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4209)
at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4072)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3627)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3680)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3646)
at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3763)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3654)
at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3820)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3627)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3680)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3646)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3654)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3627)
at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:5910)
at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:5884)
at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:5855)
at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:6000)
at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:185)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:143)
at android.os.Looper.loop(Looper.java:122)
at android.app.ActivityThread.main(ActivityThread.java:5910)
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:1405)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1200)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 8 months ago

Write tip

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