com.tns.NativeScriptException: 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._rethrowWithContext', file:'file:///data/data/org.nativescript.Groceries/files/app/tns_modules/@angular/core/bundles/core.umd.js', line: 12760, column: 21 Frame: function:'', file:'file:///data/data/org.nativescript.Groceries/files/app/tns_modules/@angular/core/bundles/core.umd.js', line: 12777, column: 27 Frame: function:'', file:'file:///data/data/org.nativescript.Groceries/files/app/tns_modules/nativescript-angular/renderer.js', line: 213, column: 26 Frame: function:'ZoneDelegate.invoke', file:'file:///data/data/org.nativescript.Groceries/files/app/tns_modules/nativescript-angular/zone-js/dist/zone-nativescript.js', line: 190, column: 28 Frame: function:'onInvoke', file:'file:///data/data/org.nativescript.Groceries/files/app/tns_modules/@angular/core/bundles/core.umd.js', line: 4391, column: 41 Frame: function:'ZoneDelegate.invoke', file:'file:///data/data/org.nativescript.Groceries/files/app/tns_modules/nativescript-angular/zone-js/dist/zone-nativescript.js', line: 189, column: 34 Frame: function:'Zone.run', file:'file:///data/data/org.nativescript.Groceries/files/app/tns_modules/nativescript-angular/zone-js/dist/zone-nativescript.js', line: 83, column: 43 Frame: function:'NgZone.run', file:'file:///data/data/org.nativescript.Groceries/files/app/tns_modules/@angular/core/bundles/core.umd.js', line: 4260, column: 66 Frame: function:'zonedCallback', file:'file:///data/data/org.nativescript.Groceries/files/app/tns_modules/nativescript-angular/renderer.js', line: 212, column: 24 Frame: function:'Observable.notify', file:'file:///data/data/org.nativescript.Groceries/files/app/tns_modules/data/observable/observable.js', line: 149, column: 23 Frame: function:'Observable._emit', file:'file:///data/data/org.nativescript.Groceries/files/app/tns_modules/data/observable/observable.js', line: 168, column: 18 Frame: function:'onClick', file:'file:///data/data/org.nativescript.Groceries/files/app/tns_modules/ui/button/button.js', line: 35, column: 32

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 ianhaggerty
, 10 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 Stack Overflow by Koushik Sarkar
, 11 months 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
via GitHub by david-quadpro
, 3 months ago
/com.quadpro.qplusrequest/files/app/tns_modules/@angular/core/bundles/core.umd.js', line: 4394, column: 31 Frame: function:'ZoneDelegate.invoke', file:'file:///data/data/com.quadpro.qplusrequest/files/app/tns_modules/nativescript-angular/zone-js/dist/zone
via GitHub by david-quadpro
, 3 months ago
/com.quadpro.qplusrequest/files/app/tns_modules/@angular/core/bundles/core.umd.js', line: 4394, column: 31 Frame: function:'ZoneDelegate.invoke', file:'file:///data/data/com.quadpro.qplusrequest/files/app/tns_modules/nativescript-angular/zone-js/dist/zone
via Stack Overflow by John Adetutu
, 6 months ago
/tns_modules/nativescript-angular/renderer.js', line: 204, column: 26 Frame: function:'ZoneDelegate.invoke', file:'/data/data/org.nativescript.EatSafe/files/app/tns_modules/zone.js/dist/zone-node.js', line: 290, column: 29 Frame: function
via GitHub by Zengratul
, 1 year ago
Calling js method onClick failed [object Object] File: "/data/data/org.nativescript.Test/files/app/tns_modules/@angular/core/bundles/core.umd.js, line: 9464, column: 20 StackTrace: Frame: function:'DebugAppView._rethrowWithContext', file:'/data
com.tns.NativeScriptException: 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._rethrowWithContext', file:'file:///data/data/org.nativescript.Groceries/files/app/tns_modules/@angular/core/bundles/core.umd.js', line: 12760, column: 21 Frame: function:'', file:'file:///data/data/org.nativescript.Groceries/files/app/tns_modules/@angular/core/bundles/core.umd.js', line: 12777, column: 27 Frame: function:'', file:'file:///data/data/org.nativescript.Groceries/files/app/tns_modules/nativescript-angular/renderer.js', line: 213, column: 26 Frame: function:'ZoneDelegate.invoke', file:'file:///data/data/org.nativescript.Groceries/files/app/tns_modules/nativescript-angular/zone-js/dist/zone-nativescript.js', line: 190, column: 28 Frame: function:'onInvoke', file:'file:///data/data/org.nativescript.Groceries/files/app/tns_modules/@angular/core/bundles/core.umd.js', line: 4391, column: 41 Frame: function:'ZoneDelegate.invoke', file:'file:///data/data/org.nativescript.Groceries/files/app/tns_modules/nativescript-angular/zone-js/dist/zone-nativescript.js', line: 189, column: 34 Frame: function:'Zone.run', file:'file:///data/data/org.nativescript.Groceries/files/app/tns_modules/nativescript-angular/zone-js/dist/zone-nativescript.js', line: 83, column: 43 Frame: function:'NgZone.run', file:'file:///data/data/org.nativescript.Groceries/files/app/tns_modules/@angular/core/bundles/core.umd.js', line: 4260, column: 66 Frame: function:'zonedCallback', file:'file:///data/data/org.nativescript.Groceries/files/app/tns_modules/nativescript-angular/renderer.js', line: 212, column: 24 Frame: function:'Observable.notify', file:'file:///data/data/org.nativescript.Groceries/files/app/tns_modules/data/observable/observable.js', line: 149, column: 23 Frame: function:'Observable._emit', file:'file:///data/data/org.nativescript.Groceries/files/app/tns_modules/data/observable/observable.js', line: 168, column: 18 Frame: function:'onClick', file:'file:///data/data/org.nativescript.Groceries/files/app/tns_modules/ui/button/button.js', line: 35, column: 32
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)
at com.tns.Runtime.callJSMethod(Runtime.java:1018)
at com.tns.gen.android.view.View_OnClickListener.onClick(android.view.View$OnClickListener.java)
at android.view.View.performClick(View.java:5198)
at android.view.View$PerformClick.run(View.java:21147)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 7 months ago

Write tip

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