com.tns.NativeScriptException: No weak reference found. Attempt to use cleared object reference id=2041

GitHub | palpa | 1 year 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

    Barcode plugin in conflict with TextField when ListView is present

    GitHub | 1 year ago | palpa
    com.tns.NativeScriptException: No weak reference found. Attempt to use cleared object reference id=2041
  2. 0

    Another Crashing error in 1.3

    GitHub | 2 years ago | NathanaelA
    com.tns.NativeScriptException: No weak reference found. Attempt to use cleared ob ject reference id=18872
  3. 0

    GitHub comment 856#155359864

    GitHub | 1 year ago | vchimev
    com.tns.NativeScriptException: Calling js method onReceivedError failed TypeError: error.getUrl is not a function File: "/data/data/org.nativescript.TestApp/files/app/tns_modules/ui/web-view/web-view.js, line: 47, column: 136 StackTrace: Frame: function:'WebViewClientClass.onReceivedError', file:'/data/data/org.nativescript.TestApp/files/app/tns_modules/ui/web-view/web-view.js', line: 47, column: 137
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exception during Navigation on Android

    GitHub | 1 year ago | blaketarter
    com.tns.NativeScriptException: No value for main com.tns.Module.resolvePathHelper(Module.java:164) com.tns.Module.resolvePath(Module.java:62) com.tns.Platform.callJSMethodNative(Native Method) com.tns.Platform.dispatchCallJSMethodNative(Platform.java:799) com.tns.Platform.callJSMethod(Platform.java:700) com.tns.Platform.callJSMethod(Platform.java:680) com.tns.Platform.callJSMethod(Platform.java:670) com.tns.gen.android.widget.AdapterView_OnItemClickListener_ftns_modules_ui_list-view_list-view_l63_c45__.onItemClick(android.widget.AdapterView$OnItemClickListener.java) android.widget.AdapterView.performItemClick(AdapterView.java:310) android.widget.AbsListView.performItemClick(AbsListView.java:1145) android.widget.AbsListView$PerformClick.run(AbsListView.java:3042) android.widget.AbsListView$3.run(AbsListView.java:3879) android.os.Handler.handleCallback(Handler.java:739) android.os.Handler.dispatchMessage(Handler.java:95) android.os.Looper.loop(Looper.java:148) android.app.ActivityThread.main(ActivityThread.java:5417) java.lang.reflect.Method.invoke(Native Method) com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) File: "<unknown>, line: 1, column: 119 StackTrace: Frame: function:'require', file:'', line: 1, column: 120 Frame: function:'', file:'/data/data/com.blaketarter.tnsreddit/files/app/views/comment/comment.js', line: 9, column: 17 Frame: function:'require', file:'', line: 1, column: 120 Frame: function:'resolvePageFromEntry', file:'/data/data/com.blaketarter.tnsreddit/files/app/tns_modules/ui/frame/frame-common.js', line: 61, column: 29 Frame: function:'Frame.navigate', file:'/data/data/com.blaketarter.tnsreddit/files/app/tns_modules/ui/frame/frame-common.js', line: 126, column: 20 Frame: function:'listViewItemTap', file:'/data/data/com.blaketarter.tnsreddit/files/app/views/front/front.js', line: 126, column: 11 Frame: function:'Observable.notify', file:'/data/data/com.blaketarter.tnsreddit/files/app/tns_modules/data/observable/observable.js', line: 118, column: 23 Frame: function:'ListView._createUI.android.setOnItemClickListener.android.widget.AdapterView.OnItemClickListener.onItemClick', file:'/data/data/com.blaketarter.tnsreddit/files/app/tns_modules/ui/list-view/list-view.js', line: 67, column: 27 File: "<unknown>, line: 1, column: 119 StackTrace: Frame: function:'require', file:'', line: 1, column: 120 Frame: function:'resolvePageFromEntry', file:'/data/data/com.blaketarter.tnsreddit/files/app/tns_modules/ui/frame/frame-common.js', line: 61, column: 29 Frame: function:'Frame.navigate', file:'/data/data/com.blaketarter.tnsreddit/files/app/tns_modules/ui/frame/frame-common.js', line: 126, column: 20 Frame: function:'listViewItemTap', file:'/data/data/com.blaketarter.tnsreddit/files/app/views/front/front.js', line: 126, column: 11 Frame: function:'Observable.notify', file:'/data/data/com.blaketarter.tnsreddit/files/app/tns_modules/data/observable/observable.js', line: 118, column: 23 Frame: function:'ListView._createUI.android.setOnItemClickListener.android.widget.AdapterView.OnItemClickListener.onItemClick', file:'/data/data/com.blaketarter.tnsreddit/files/app/tns_modules/ui/list-view/list-view.js', line: 67, column: 27
  6. 0

    Exception thrown in device when changin anything in app.css

    GitHub | 1 year ago | markens
    com.tns.NativeScriptException: Calling js method onCreateView failed platform cannot be initialized with different sets of providers. File: "/data/data/com.gft.appverse.showcase/files/app/tns_modules/angular2/src/core/application_ref.js, line: 78, column: 12 StackTrace: Frame: function:'platform', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/angular2/src/core/application_ref.js', line: 78, column: 13 Frame: function:'bootstrap', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/nativescript-angular/application.js', line: 51, column: 19 Frame: function:'onLoadedHandler', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/nativescript-angular/application.js', line: 67, column: 17 Frame: function:'Observable.notify', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/data/observable/observable.js', line: 155, column: 23 Frame: function:'Observable._emit', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/data/observable/observable.js', line: 174, column: 18 Frame: function:'View.onLoaded', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/ui/core/view-common.js', line: 590, column: 14 Frame: function:'View.onLoaded', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/ui/core/view.js', line: 101, column: 35 Frame: function:'Page.onLoaded', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/ui/page/page-common.js', line: 33, column: 35 Frame: function:'View._addViewCore', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/ui/core/view-common.js', line: 913, column: 18 Frame: function:'View._addViewCore', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/ui/core/view.js', line: 145, column: 39 Frame: function:'View._addView', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/ui/core/view-common.js', line: 901, column: 14 Frame: function:'onFragmentShown', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/ui/frame/frame.js', line: 89, column: 11 Frame: function:'android.app.Fragment.extend.onCreateView', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/ui/frame/frame.js', line: 36, column: 17

    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

      No weak reference found. Attempt to use cleared object reference id=2041

      at com.tns.Platform.getJavaObjectByID()
    2. com.tns
      Platform.callJSMethod
      1. com.tns.Platform.getJavaObjectByID(Platform.java:637)
      2. com.tns.Platform.callJSMethodNative(Native Method)
      3. com.tns.Platform.dispatchCallJSMethodNative(Platform.java:816)
      4. com.tns.Platform.callJSMethod(Platform.java:715)
      5. com.tns.Platform.callJSMethod(Platform.java:694)
      6. com.tns.Platform.callJSMethod(Platform.java:684)
      6 frames