com.tns.NativeScriptException: Calling js method onTouch failed [object Object] File: "file:///data/data/org.nativescript.HelloWorld/files/app/tns_modules/tns-core-modules/ui/gestures/gestures.js, line: 97, column: 40 StackTrace: Frame: function:'GesturesObserver.androidOnTouchEvent', file:'file:///data/data/org.nativescript.HelloWorld/files/app/tns_modules/tns-core-modules/ui/gestures/gestures.js', line: 97, column: 41 Frame: function:'onTouch', file:'file:///data/data/org.nativescript.HelloWorld/files/app/tns_modules/tns-core-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 Stack Overflow by Fonix
, 9 months ago
Calling js method onTouch failed [object Object] File: "file:///data/data/org.nativescript.HelloWorld/files/app/tns_modules/tns-core-modules/ui/gestures/gestures.js, line: 97, column: 40 StackTrace: Frame: function
via GitHub by zaszlo
, 2 months ago
Calling js method getView failed TypeError: Cannot read property 'getItem' of null File: "file:///data/data/org.nativescript.iAngulAndro/files/app/tns_modules/tns-core-modules/ui/list-view/list-view-common.js, line: 97, column: 24 StackTrace
via GitHub by idomaz00
, 2 months ago
Calling js method onClick failed >TypeError: this._mapbox.nativeElement.downloadOfflineRegion is not a function File: "file:///data/data/org.nativescript.testingmapplugin/files/app/tns_modules/@angular/core/bundles/core.umd.js, line: 13024, column
via GitHub by Zetazzz
, 1 year ago
Calling js method onInfo failed TypeError: Cannot read property 'msg' of undefined File: "/data/data/org.nativescript.audio/files/app/main-view-model.js, line: 119, column: 50 StackTrace: Frame: function:'playerOptions.infoCallback', file:'/data
via Stack Overflow by user2094257
, 11 months ago
: "/data/data/org.nativescript.barcodescanner/files/app/tns_modules/nativescript-angular/resource-loader.js, line: 22, column: 12 StackTrace: Frame: function:'FileSystemResourceLoader.get', file:'/data/data/org.nativescript.barcodescanner/files/app
via GitHub by alexziskind1
, 7 months ago
18848 18848 W System.err: Frame: function:'checkCodeIntercept', file:'file:///data/data/org.nativescript.nativescriptapps/files/app/tns_modules/nativescript-oauth/tns-oauth.js', line: 81, column: 40 04-11 21:58:59.660 18848 18848 W System.err: Frame
com.tns.NativeScriptException: Calling js method onTouch failed [object Object] File: "file:///data/data/org.nativescript.HelloWorld/files/app/tns_modules/tns-core-modules/ui/gestures/gestures.js, line: 97, column: 40 StackTrace: Frame: function:'GesturesObserver.androidOnTouchEvent', file:'file:///data/data/org.nativescript.HelloWorld/files/app/tns_modules/tns-core-modules/ui/gestures/gestures.js', line: 97, column: 41 Frame: function:'onTouch', file:'file:///data/data/org.nativescript.HelloWorld/files/app/tns_modules/tns-core-modules/ui/core/view.js', line: 113, column: 37
at com.tns.Runtime.callJSMethodNative(Native Method)
at com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1197)
at com.tns.Runtime.callJSMethodImpl(Runtime.java:1061)
at com.tns.Runtime.callJSMethod(Runtime.java:1047)
at com.tns.Runtime.callJSMethod(Runtime.java:1028)

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.