Title: [Marking Mode: None]: Crash: Attempt to use cleared object reference · Issue #887 · NativeScript/android · GitHub
Open Graph Title: [Marking Mode: None]: Crash: Attempt to use cleared object reference · Issue #887 · NativeScript/android
X Title: [Marking Mode: None]: Crash: Attempt to use cleared object reference · Issue #887 · NativeScript/android
Description: Please, provide the details below: Via crashlytics we have been getting reports of crashes of the type com.tns.NativeScriptException: Attempt to use cleared object reference id=48048(com.tns.NativeScriptException: Attempt to use cleared ...
Open Graph Description: Please, provide the details below: Via crashlytics we have been getting reports of crashes of the type com.tns.NativeScriptException: Attempt to use cleared object reference id=48048(com.tns.Native...
X Description: Please, provide the details below: Via crashlytics we have been getting reports of crashes of the type com.tns.NativeScriptException: Attempt to use cleared object reference id=48048(com.tns.Native...
Opengraph URL: https://github.com/NativeScript/android/issues/887
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Marking Mode: None]: Crash: Attempt to use cleared object reference ","articleBody":"\u003c!-- Dear friend, we, the rest of the NativeScript community really appreciate your feedback! While we are doing all we can to take care of every issue, sometimes we get overwhelmed. Because of that, we will consider issues that are not constructive or problems that cannot be reproduced \"dead\". Additionally, we will treat feature requests or bug reports with unanswered questions regarding the behavior/reproduction for more than 20 days \"dead\". All \"dead\" issues will get closed. -->\r\n\r\n## Please, provide the details below:\r\nVia crashlytics we have been getting reports of crashes of the type \r\n``com.tns.NativeScriptException: Attempt to use cleared object reference id=48048(com.tns.NativeScriptException: Attempt to use cleared object reference id=48048\r\n com.tns.Runtime.getJavaObjectByID(Runtime.java:893)``\r\n\r\n### Did you verify this is a real problem by searching [Stack Overflow](http://stackoverflow.com/questions/tagged/nativescript) and the [other open issues in this repo](https://github.com/NativeScript/nativescript/issues)?\r\nOther closed bugs reference the same or similar issues (latest was closed for 3.0.0).\r\n\r\n### Please provide the following version numbers that your issue occurs with:\r\n- CLI: 3.2.1\r\n- Cross-platform modules: 3.2.0\r\n- Runtime(s): 3.2.0\r\n- Plugin(s): \r\n- - nativescript-angular: 4.4.1\r\n- - nativescript-fabric: 0.3.1\r\n- - nativescript-pro-ui: 3.2.0\r\n- - nativescript-google-maps-sdk: 2.3.3\r\n\r\nBuilt using webpack (```npm run ns-bundle --android --build-app --snapshot --clean --release```)\r\nAlso using in ``app/package.json``: \r\n```\r\n \"android\": {\r\n \"v8Flags\": \"--expose_gc\",\r\n \"markingMode\": \"none\"\r\n }\r\n```\r\n\r\n### Did the error happen while the app was being constructed? (buildtime error)\r\nNo\r\n\r\n### Did the error happen while the app was executing? (runtime error)\r\nYes, but I haven't reproduced it myself. Just numerous similar stack traces being sent via crashlytics/fabric.\r\n\r\ne.g.\r\n```\r\n#0. Crashed: main: 0 0 0x0000000000000000\r\n at .Error: com.tns.NativeScriptException: Attempt to use cleared object reference id=48048(com.tns.NativeScriptException: Attempt to use cleared object reference id=48048\r\n com.tns.Runtime.getJavaObjectByID(Runtime.java:893)\r\n com.tns.Runtime.callJSMethodNative(Native Method)\r\n com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1084)\r\n com.tns.Runtime.callJSMethodImpl(Runtime.java:966)\r\n com.tns.Runtime.callJSMethod(Runtime.java:953)\r\n com.tns.Runtime.callJSMethod(Runtime.java:937)\r\n com.tns.Runtime.callJSMethod(Runtime.java:929)\r\n com.tns.gen.java.lang.Runnable.run(Runnable.java:10)\r\n android.os.Handler.handleCallback(Handler.java:751)\r\n android.os.Handler.dispatchMessage(Handler.java:95)\r\n android.os.Looper.loop(Looper.java:154)\r\n android.app.ActivityThread.main(ActivityThread.java:6780)\r\n java.lang.reflect.Method.invoke(Native Method)\r\n com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1496)\r\n com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1386):1)\r\n at . ... (repeats with slight differences)\r\n```\r\nfull trace at https://pastebin.com/JEGTYrpx\r\n\r\n### Please tell us how to recreate the issue in as much detail as possible.\r\nUnknown. Possibly random.\r\n","author":{"url":"https://github.com/daveware-nv","@type":"Person","name":"daveware-nv"},"datePublished":"2017-11-28T21:07:51Z","url":"https://github.com/NativeScript/android/issues/887"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:53d837aa-91ea-fb58-d4ca-b29505d2d104 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D5D6:2652DC:1B28801:22A857E:6B013E9D |
| html-safe-nonce | 5fa8468086e51def0f1622908bcffa6a4823fa7c6f7bd3ab6a52eef1239a360e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENUQ2OjI2NTJEQzoxQjI4ODAxOjIyQTg1N0U6NkIwMTNFOUQiLCJ2aXNpdG9yX2lkIjoiNzQ1ODAyOTcyOTk2NzMyNDgyOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 55f14bf86517c7c05c59ebb6423bcf3a085172da5b0078c2d50899cf961862b8 |
| hovercard-subject-tag | issue:277538345 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/NativeScript/android/887/issue_layout |
| twitter:image | https://opengraph.githubassets.com/245dc1695ab0f39609374d2011f5d857b7e1132902cb19a661f8c94781e4f0a9/NativeScript/android/issues/887 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/245dc1695ab0f39609374d2011f5d857b7e1132902cb19a661f8c94781e4f0a9/NativeScript/android/issues/887 |
| og:image:alt | Please, provide the details below: Via crashlytics we have been getting reports of crashes of the type com.tns.NativeScriptException: Attempt to use cleared object reference id=48048(com.tns.Native... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | daveware-nv |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/NativeScript/android git https://github.com/NativeScript/android.git |
| octolytics-dimension-user_id | 7392261 |
| octolytics-dimension-user_login | NativeScript |
| octolytics-dimension-repository_id | 29137950 |
| octolytics-dimension-repository_nwo | NativeScript/android |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 29137950 |
| octolytics-dimension-repository_network_root_nwo | NativeScript/android |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width