Title: [App Crash] App crashes after some Http.request on ns/core above 8.6.1 · Issue #10712 · NativeScript/NativeScript · GitHub
Open Graph Title: [App Crash] App crashes after some Http.request on ns/core above 8.6.1 · Issue #10712 · NativeScript/NativeScript
X Title: [App Crash] App crashes after some Http.request on ns/core above 8.6.1 · Issue #10712 · NativeScript/NativeScript
Description: Issue Description Sometime app crashes after Http.request() with error. This crash not related with a specific url or data. One time request may be executed fine, another time app crashes with an error. Data does not contain any circular...
Open Graph Description: Issue Description Sometime app crashes after Http.request() with error. This crash not related with a specific url or data. One time request may be executed fine, another time app crashes with an e...
X Description: Issue Description Sometime app crashes after Http.request() with error. This crash not related with a specific url or data. One time request may be executed fine, another time app crashes with an e...
Opengraph URL: https://github.com/NativeScript/NativeScript/issues/10712
X: @github
Domain: redirect.github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[App Crash] App crashes after some Http.request on ns/core above 8.6.1","articleBody":"### Issue Description\n\nSometime app crashes after Http.request() with error. This crash not related with a specific url or data. One time request may be executed fine, another time app crashes with an error. Data does not contain any circular references.\nThis happens only with nativescript/core above 8.6.1\nError stack trace:\n\n\n### Reproduction\n\n_No response_\n\n### Relevant log output (if applicable)\n\n```shell\nSystem.err: An uncaught Exception occurred on \"main\" thread.\n System.err: Attempt to use cleared object reference id=7697\n System.err:\n System.err: StackTrace:\n System.err: com.tns.NativeScriptException: Attempt to use cleared object reference id=7697\n System.err: at com.tns.Runtime.getJavaObjectByID(Runtime.java:1077)\n System.err: at com.tns.Runtime.callJSMethodNative(Native Method)\n System.err: at com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1302)\n System.err: at com.tns.Runtime.callJSMethodImpl(Runtime.java:1188)\n System.err: at com.tns.Runtime.callJSMethod(Runtime.java:1175)\n System.err: at com.tns.Runtime.callJSMethod(Runtime.java:1153)\n System.err: at com.tns.Runtime.callJSMethod(Runtime.java:1149)\n System.err: at com.tns.FragmentClass.onCreateView(FragmentClass.java:55)\n System.err: at androidx.fragment.app.Fragment.performCreateView(Fragment.java:3113)\n System.err: at androidx.fragment.app.FragmentStateManager.createView(FragmentStateManager.java:524)\n System.err: at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:261)\n System.err: at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:1901)\n System.err: at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:1819)\n System.err: at androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java:1762)\n System.err: at androidx.fragment.app.FragmentManager$5.run(FragmentManager.java:547)\n System.err: at android.os.Handler.handleCallback(Handler.java:959)\n System.err: at android.os.Handler.dispatchMessage(Handler.java:100)\n System.err: at android.os.Looper.loopOnce(Looper.java:232)\n System.err: at android.os.Looper.loop(Looper.java:317)\n System.err: at android.app.ActivityThread.main(ActivityThread.java:8705)\n System.err: at java.lang.reflect.Method.invoke(Native Method)\n System.err: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580)\n System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:886)\n TypeError: Converting circular structure to JSON\n --\u003e starting at object with constructor 'TypeSelector'\n | property 'ruleset' -\u003e object with constructor 'RuleSet'\n | property 'selectors' -\u003e object with constructor 'Array'\n --- index 0 closes the circle\n```\n\n### Environment\n\n```json\n \"@nativescript/core\": \"8.6.1\",\n \"@nativescript/geolocation\": \"^9.0.0\",\n \"@nativescript/imagepicker\": \"^4.0.0\",\n \"@nativescript/iqkeyboardmanager\": \"2.0.0\",\n \"@nativescript/local-notifications\": \"^6.2.1\",\n \"@nativescript/theme\": \"^3.1.0\",\n \"@nstudio/nativescript-checkbox\": \"^2.0.5\",\n \"@triniwiz/nativescript-toasty\": \"^4.1.3\",\n \"base-64\": \"^1.0.0\",\n \"i18next\": \"^24.2.2\",\n \"jszip\": \"^3.10.1\",\n \"moment-timezone\": \"^0.5.47\",\n \"nativescript-clipboard\": \"^2.1.1\",\n \"nativescript-datetimepicker\": \"^1.2.3\",\n \"nativescript-phone\": \"^3.0.3\",\n \"nativescript-sqlite\": \"^2.8.6\",\n \"nativescript-toasty-ns-7\": \"^14.0.0\",\n \"nativescript-ui-sidedrawer\": \"^15.2.3\",\n \"nativescript-vue\": \"^2.9.3\",\n \"nativescript-vue-devtools\": \"^1.5.1\",\n \"nativescript-vue-shadow-ns-7\": \"^10.1.0\",\n \"url-parse\": \"^1.5.10\",\n \"vue-class-component\": \"^7.2.6\",\n \"vue-property-decorator\": \"^9.1.2\"\n},\n\"devDependencies\": {\n \"@babel/core\": \"^7.26.9\",\n \"@babel/preset-env\": \"^7.26.9\",\n \"@nativescript/android\": \"^8.8.6\",\n \"@nativescript/ios\": \"^8.9.0\",\n \"@nativescript/types\": \"^8.9.0\",\n \"@nativescript/webpack\": \"^5.0.22\",\n \"@types/node\": \"^22.13.5\",\n \"assert\": \"^2.1.0\",\n \"babel-loader\": \"^9.2.1\",\n \"buffer\": \"^6.0.3\",\n \"bufferutil\": \"^4.0.9\",\n \"console-browserify\": \"^1.2.0\",\n \"constants-browserify\": \"^1.0.0\",\n \"crypto-browserify\": \"^3.12.1\",\n \"domain-browser\": \"^5.7.0\",\n \"electron\": \"^34.2.0\",\n \"events\": \"^3.3.0\",\n \"https-browserify\": \"^1.0.0\",\n \"nativescript-vue-template-compiler\": \"^2.9.3\",\n \"nativescript-worker-loader\": \"^0.12.1\",\n \"net\": \"^1.0.2\",\n \"os-browserify\": \"^0.3.0\",\n \"path-browserify\": \"^1.0.1\",\n \"process\": \"^0.11.10\",\n \"punycode\": \"^2.3.1\",\n \"querystring-es3\": \"^0.2.1\",\n \"sass\": \"^1.85.1\",\n \"stream-browserify\": \"^3.0.0\",\n \"stream-http\": \"^3.2.0\",\n \"string_decoder\": \"^1.3.0\",\n \"sys\": \"^0.0.1\",\n \"timers-browserify\": \"^2.0.12\",\n \"tls\": \"^0.0.1\",\n \"tty-browserify\": \"^0.0.1\",\n \"typescript\": \"^5.7.3\",\n \"url\": \"^0.11.4\",\n \"utf-8-validate\": \"^6.0.5\",\n \"util\": \"^0.12.5\",\n \"vm-browserify\": \"^1.1.2\",\n \"vue\": \"^2.7.16\",\n \"vue-loader\": \"^17.4.2\",\n \"webpack-cli\": \"^5.1.4\",\n \"zlib-browserify\": \"^0.0.3\"\n}\n```\n\u003c!-- COPY END --\u003e\n\n\n### Please accept these terms\n\n- [x] I have searched the [existing issues](https://github.com/NativeScript/NativeScript/issues) as well as [StackOverflow](https://stackoverflow.com/questions/tagged/nativescript) and this has not been posted before\n- [x] This is a bug report\n- [x] I agree to follow this project's [Code of Conduct](https://github.com/NativeScript/NativeScript/blob/master/tools/notes/CONTRIBUTING.md#coc)","author":{"url":"https://github.com/Yauheni-Matveyenka","@type":"Person","name":"Yauheni-Matveyenka"},"datePublished":"2025-02-28T12:59:49.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/10712/NativeScript/issues/10712"}
| 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:de5afde0-2f4d-0344-b2ca-350ea6b02b1c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9106:C2480:1D77C72:28B614A:696AB177 |
| html-safe-nonce | a1ae0e44afdf900e4af1a2798ac8d4e8fcaeee0a6ec645e0fbf8372209e24e03 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MTA2OkMyNDgwOjFENzdDNzI6MjhCNjE0QTo2OTZBQjE3NyIsInZpc2l0b3JfaWQiOiI0NzYzMTQwODI1MDgxOTAwNzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 59e14020634b1307eb8bdb29bfce5194df12bd0872c7929610c88ca44d55cba0 |
| hovercard-subject-tag | issue:2887097466 |
| 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/NativeScript/10712/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6abb1467e56dfe2bac2d9211821e3d1e3a7aa1343dd82a4e43a562cb0c06624d/NativeScript/NativeScript/issues/10712 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6abb1467e56dfe2bac2d9211821e3d1e3a7aa1343dd82a4e43a562cb0c06624d/NativeScript/NativeScript/issues/10712 |
| og:image:alt | Issue Description Sometime app crashes after Http.request() with error. This crash not related with a specific url or data. One time request may be executed fine, another time app crashes with an e... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Yauheni-Matveyenka |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4fa1799b6a53c2d30c950d74230781bef9e7f61138c72c7727e4b83f0743752b |
| turbo-cache-control | no-preview |
| go-import | github.com/NativeScript/NativeScript git https://github.com/NativeScript/NativeScript.git |
| octolytics-dimension-user_id | 7392261 |
| octolytics-dimension-user_login | NativeScript |
| octolytics-dimension-repository_id | 31492490 |
| octolytics-dimension-repository_nwo | NativeScript/NativeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 31492490 |
| octolytics-dimension-repository_network_root_nwo | NativeScript/NativeScript |
| 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 | 41f276818bd204c4a30a0281fb3c576298d9474c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width