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

GitHub | ianhaggerty | 3 weeks ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    firebase.login() throwing onclick error

    GitHub | 3 weeks ago | ianhaggerty
    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
  2. 0

    Nativescript View.animate( ) not working

    Stack Overflow | 2 months ago | Koushik Sarkar
    com.tns.NativeScriptException: 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:'/data/data/org.nativescript.groceries/files/app/tns_modules/@angular/core/bundles/core.umd.js', line: 9427, column: 21 Frame: function:'', file:'/data/data/org.nativescript.groceries/files/app/tns_modules/@angular/core/bundles/core.umd.js', line: 9440, column: 27 Frame: function:'', file:'/data/data/org.nativescript.groceries/files/app/tns_modules/nativescript-angular/renderer.js', line: 221, column: 26 Frame: function:'ZoneDelegate.invoke', 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:'/data/data/org.nativescript.groceries/files/app/tns_modules/@angular/core/bundles/core.umd.js', line: 6206, column: 41 Frame: function:'ZoneDelegate.invoke', 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:'/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:'/data/data/org.nativescript.groceries/files/app/tns_modules/@angular/core/bundles/core.umd.js', line: 6096, column: 66 Frame: function:'zonedCallback', file:'/data/data/org.nativescript.groceries/files/app/tns_modules/nativescript-angular/renderer.js', line: 220, column: 24 Frame: function:'Observable.notify', file:'/data/data/org.nativescript.groceries/files/app/tns_modules/data/observable/observable.js', line: 149, column: 23 Frame: function:'Observable._emit', file:'/data/data/org.nativescript.groceries/files/app/tns_modules/data/observable/observable.js', line: 168, column: 18 Frame: function:'onClick', file:'/data/data/org.nativescript.groceries/files/app/tns_modules/ui/button/button.js', line: 33, column: 32
  3. 0

    GitHub comment 46#266690823

    GitHub | 2 months ago | Zengratul
    com.tns.NativeScriptException: 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/data/org.nativescript.Test/files/app/tns_modules/@angular/core/bundles/core.umd.js', line: 9464, column: 21 Frame: function:'', file:'/data/data/org.nativescript.Test/files/app/tns_modules/@angular/core/bundles/core.umd.js', line: 9477, column: 27 Frame: function:'', file:'/data/data/org.nativescript.Test/files/app/tns_modules/nativescript-angular/renderer.js', line: 219, column: 26 Frame: function:'ZoneDelegate.invoke', file:'/data/data/org.nativescript.Test/files/app/tns_modules/nativescript-angular/zone.js/dist/zone-nativescript.js', line: 190, column: 28 Frame: function:'onInvoke', file:'/data/data/org.nativescript.Test/files/app/tns_modules/@angular/core/bundles/core.umd.js', line: 5975, column: 41 Frame: function:'ZoneDelegate.invoke', file:'/data/data/org.nativescript.Test/files/app/tns_modules/nativescript-angular/zone.js/dist/zone-nativescript.js', line: 189, column: 34 Frame: function:'Zone.run', file:'/data/data/org.nativescript.Test/files/app/tns_modules/nativescript-angular/zone.js/dist/zone-nativescript.js', line: 83, column: 43 Frame: function:'NgZone.run', file:'/data/data/org.nativescript.Test/files/app/tns_modules/@angular/core/bundles/core.umd.js', line: 5865, column: 66 Frame: function:'zonedCallback', file:'/data/data/org.nativescript.Test/files/app/tns_modules/nativescript-angular/renderer.js', line: 218, column: 24 Frame: function:'Observable.notify', file:'/data/data/org.nativescript.Test/files/app/tns_modules/data/observable/observable.js', line: 149, column: 23 Frame: function:'Observable._emit', file:'/data/data/org.nativescript.Test/files/app/tns_modules/data/observable/observable.js', line: 168, column: 18 Frame: function:'onClick', file:'/data/data/org.nativescript.Test/files/app/tns_modules/ui/button/button.js', line: 33, column: 32
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Sidedrawer in Telerik's UI for Nativescript is not working on Angular2 project

    Stack Overflow | 5 months ago | Gonzalo Diaz Ailan
    com.tns.NativeScriptException: Calling js method onClick failed Error: Error in app.component.html:26:35 caused by: self.context.openDrawer is not a function File: "/data/data/org.nativescript.nbapp/files/app/tns_modules/@angular/core/bundles/core.umd.js, line: 9668, column: 20 StackTrace: Frame: function:'DebugAppView._rethrowWithContext', file:'/data/data/org.nativescript.nbapp/files/app/tns_modules/@angular/core/bundles/core.umd.js', line: 9668, column: 21 Frame: function:'', file:'/data/data/org.nativescript.nbapp/files/app/tns_modules/@angular/core/bundles/core.umd.js', line: 9681, column: 27 Frame: function:'', file:'/data/data/org.nativescript.nbapp/files/app/tns_modules/nativescript-angular/renderer.js', line: 221, column: 26 Frame: function:'ZoneDelegate.invoke', file:'/data/data/org.nativescript.nbapp/files/app/tns_modules/nativescript-angular/zone.js/dist/zone-nativescript.js', line: 190, column: 28 Frame: function:'NgZoneImpl.inner.inner.fork.onInvoke', file:'/data/data/org.nativescript.nbapp/files/app/tns_modules/@angular/core/bundles/core.umd.js', line: 6220, column: 41 Frame: function:'ZoneDelegate.invoke', file:'/data/data/org.nativescript.nbapp/files/app/tns_modules/nativescript-angular/zone.js/dist/zone-nativescript.js', line: 189, column: 34 Frame: function:'Zone.run', file:'/data/data/org.nativescript.nbapp/files/app/tns_modules/nativescript-angular/zone.js/dist/zone-nativescript.js', line: 83, column: 43 Frame: function:'NgZoneImpl.runInner', file:'/data/data/org.nativescript.nbapp/files/app/tns_modules/@angular/core/bundles/core.umd.js', line: 6247, column: 75 Frame: function:'NgZone.run', file:'/data/data/org.nativescript.nbapp/files/app/tns_modules/@angular/core/bundles/core.umd.js', line: 6477, column: 70 Frame: function:'zonedCallback', file:'/data/data/org.nativescript.nbapp/files/app/tns_modules/nativescript-angular/renderer.js', line: 220, column: 24 Frame: function:'Observable.notify', file:'/data/data/org.nativescript.nbapp/files/app/tns_modules/data/observable/observable.js', line: 149, column: 23 Frame: function:'Observable._emit', file:'/data/data/org.nativescript.nbapp/files/app/tns_modules/data/observable/observable.js', line: 168, column: 18 Frame: function:'_android.setOnClickListener.android.view.View.OnClickListener.onClick', file:'/data/data/org.nativescript.nbapp/files/app/tns_modules/ui/button/button.js', line: 33, column: 32
  6. 0

    Nativescript and angular 2 app breaks when making http calls

    Stack Overflow | 6 months ago | John Adetutu
    com.tns.NativeScriptException: Calling js method onClick failed EXCEPTION: Error in /data/data/org.nativescript.EatSafe/files/app/pages/login/login.html:5:75 ORIGINAL EXCEPTION: Error: not implemented ORIGINAL STACKTRACE: Error: not implemented at NativeScriptDomAdapter.Parse5DomAdapter.getCookie (/data/data/org.nativescript.EatSafe/files/app/tns_modules/@angular/platform-server/src/parse5_adapter.js:619:68) at CookieXSRFStrategy.configureRequest (/data/data/org.nativescript.EatSafe/files/app/tns_modules/@angular/http/src/backends/xhr_backend.js:150:82) at XHRBackend.createConnection (/data/data/org.nativescript.EatSafe/files/app/tns_modules/@angular/http/src/backends/xhr_backend.js:165:28) at httpRequest (/data/data/org.nativescript.EatSafe/files/app/tns_modules/@angular/http/src/http.js:22:20) at Http.post (/data/data/org.nativescript.EatSafe/files/app/tns_modules/@angular/http/src/http.js:78:16) at UserService.signin (/data/data/org.nativescript.EatSafe/files/app/shared/services/user.service.js:13:27) at LoginComponent.login (/data/data/org.nativescript.EatSafe/files/app/pages/login/login.component.js:31:27) at DebugAppView._View_LoginComponent0._handle_tap_8_0 (LoginComponent.template.js:355:28) at /data/data/org.nativescript.EatSafe/files/app/tns_modules/@angular/core/src/linker/view.js:375:24 at /data/data/org.nativescript.EatSafe/files/app/tns_modules/nativescript-angular/renderer.js:204:26 ERROR CONTEXT: [object Object] File: "/data/data/org.nativescript.EatSafe/files/app/tns_modules/@angular/core/src/linker/view.js, line: 365, column: 16 StackTrace: Frame: function:'DebugAppView._rethrowWithContext', file:'/data/data/org.nativescript.EatSafe/files/app/tns_modules/@angular/core/src/linker/view.js', line: 365, column: 17 Frame: function:'', file:'/data/data/org.nativescript.EatSafe/files/app/tns_modules/@angular/core/src/linker/view.js', line: 378, column: 23 Frame: function:'', file:'/data/data/org.nativescript.EatSafe/files/app/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:'NgZoneImpl.inner.inner.fork.onInvoke', file:'/data/data/org.nativescript.EatSafe/files/app/tns_modules/@angular/core/src/zone/ng_zone_impl.js', line: 53, column: 41 Frame: function:'ZoneDelegate.invoke', file:'/data/data/org.nativescript.EatSafe/files/app/tns_modules/zone.js/dist/zone-node.js', line: 289, column: 35 Frame: function:'Zone.run', file:'/data/data/org.nativescript.EatSafe/files/app/tns_modules/zone.js/dist/zone-node.js', line: 183, column: 44 Frame: function:'NgZoneImpl.runInner', file:'/data/data/org.nativescript.EatSafe/files/app/tns_modules/@angular/core/src/zone/ng_zone_impl.js', line: 84, column: 71 Frame: function:'NgZone.run', file:'/data/data/org.nativescript.EatSafe/files/app/tns_modules/@angular/core/src/zone/ng_zone.js', line: 235, column: 66 Frame: function:'zonedCallback', file:'/data/data/org.nativescript.EatSafe/files/app/tns_modules/nativescript-angular/renderer.js', line: 203, column: 24 Frame: function:'Observable.notify', file:'/data/data/org.nativescript.EatSafe/files/app/tns_modules/data/observable/observable.js', line: 174, column: 23 Frame: function:'Observable._emit', file:'/data/data/org.nativescript.EatSafe/files/app/tns_modules/data/observable/observable.js', line: 193, column: 18 Frame: function:'_android.setOnClickListener.android.view.View.OnClickListener.onClick', file:'/data/data/org.nativescript.EatSafe/files/app/tns_modules/ui/button/button.js', line: 33, column: 32

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. com.tns
      Runtime.callJSMethod
      1. com.tns.Runtime.callJSMethodNative(Native Method)
      2. com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1197)
      3. com.tns.Runtime.callJSMethodImpl(Runtime.java:1061)
      4. com.tns.Runtime.callJSMethod(Runtime.java:1047)
      5. com.tns.Runtime.callJSMethod(Runtime.java:1028)
      6. com.tns.Runtime.callJSMethod(Runtime.java:1018)
      6 frames
    3. com.tns.gen
      View_OnClickListener.onClick
      1. com.tns.gen.android.view.View_OnClickListener.onClick(android.view.View$OnClickListener.java)
      1 frame
    4. Android Platform
      ActivityThread.main
      1. android.view.View.performClick(View.java:5198)
      2. android.view.View$PerformClick.run(View.java:21147)
      3. android.os.Handler.handleCallback(Handler.java:739)
      4. android.os.Handler.dispatchMessage(Handler.java:95)
      5. android.os.Looper.loop(Looper.java:148)
      6. android.app.ActivityThread.main(ActivityThread.java:5417)
      6 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    6. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
      2 frames