Title: Android: Crash with "markingMode: none" + navigation + backgroundColor change (NS 5.4 / 6.0) · Issue #7867 · NativeScript/NativeScript · GitHub
Open Graph Title: Android: Crash with "markingMode: none" + navigation + backgroundColor change (NS 5.4 / 6.0) · Issue #7867 · NativeScript/NativeScript
X Title: Android: Crash with "markingMode: none" + navigation + backgroundColor change (NS 5.4 / 6.0) · Issue #7867 · NativeScript/NativeScript
Description: Environment CLI: 5.4.? & 6.0.2 Cross-platform modules: 5.4.2 & 6.0.1 Android Runtime: 5.4.0 & 6.0.0 NativeScript-Angular: 8.0.0 & 8.0.2 Angular: 8.0.0 & 8.0.3 Tested on Android Emulator 8.1 Describe the bug I get "Attempt to use cleared ...
Open Graph Description: Environment CLI: 5.4.? & 6.0.2 Cross-platform modules: 5.4.2 & 6.0.1 Android Runtime: 5.4.0 & 6.0.0 NativeScript-Angular: 8.0.0 & 8.0.2 Angular: 8.0.0 & 8.0.3 Tested on Android Emulator 8.1 Describ...
X Description: Environment CLI: 5.4.? & 6.0.2 Cross-platform modules: 5.4.2 & 6.0.1 Android Runtime: 5.4.0 & 6.0.0 NativeScript-Angular: 8.0.0 & 8.0.2 Angular: 8.0.0 & 8.0.3 Tested on Android ...
Opengraph URL: https://github.com/NativeScript/NativeScript/issues/7867
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Android: Crash with \"markingMode: none\" + navigation + backgroundColor change (NS 5.4 / 6.0)","articleBody":"**Environment**\r\n - CLI: 5.4.? \u0026 6.0.2\r\n - Cross-platform modules: 5.4.2 \u0026 6.0.1\r\n - Android Runtime: 5.4.0 \u0026 6.0.0\r\n - NativeScript-Angular: 8.0.0 \u0026 8.0.2\r\n - Angular: 8.0.0 \u0026 8.0.3\r\n\r\nTested on Android Emulator 8.1 \r\n\r\n**Describe the bug**\r\nI get \"Attempt to use cleared object reference\" errors in a few seconds with the MarkingMode = none. (Again: https://github.com/NativeScript/NativeScript/issues/7125)\r\n\r\nYou have to change background colors of elements while navigating to a new route several times. After a while it crash.\r\n\r\nUse case: Change background color of current route in a menu.\r\n\r\n* It don’t crash when you only navigating\r\n* It don’t crash when you only change background color\r\n* It crash when you do both\r\n* It don’t crash when you change text color instead of background color\r\n* It crash quicker when you do lot of calculations in the app\r\n\r\n**To Reproduce**\r\n\r\n* Navigate to a new route every second (router.navigate)\r\n* Change Background color of current route in the menu ([class.active]=« … »)\r\n* Overloading the app with other changes (Here other background color changes) (Necessary to accelerate the crash)\r\n\r\n**Expected behavior**\r\nNo crash.\r\n\r\n**Sample project**\r\nhttps://play.nativescript.org/?template=play-ng\u0026id=4RKa1j\u0026v=2\r\nDownload it, add \"markingMode\": \"none\" in app/package.json under « android » object\r\nYes, it don’t crash directly in PlayGround.\r\n\r\n**Additional context**\r\nObserved on my application and reproduced in a blank application.\r\nIn my app it can crash after 3 or 40 route changes.","author":{"url":"https://github.com/jpierront","@type":"Person","name":"jpierront"},"datePublished":"2019-07-26T22:08:14.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":27},"url":"https://github.com/7867/NativeScript/issues/7867"}
| 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:687bc72c-72bd-85cc-573b-09ab8f844340 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BD16:39849D:BC889B:FAED8F:697319FA |
| html-safe-nonce | 082aa3b9dd2bd4d69207b5cb798bbc9a7e3a6cd427bbfc90a5c47adea9e36c9c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDE2OjM5ODQ5RDpCQzg4OUI6RkFFRDhGOjY5NzMxOUZBIiwidmlzaXRvcl9pZCI6IjM1NjkyMDA5NTgxMzIxMzIzNDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 961296657ebb1b582783ed1d3c2dfb0acf126629740ee257980486e6084d0987 |
| hovercard-subject-tag | issue:498268072 |
| 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/7867/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bdfe367c45b616675d23f889ca2c9efd37f82ae979a821d166760480f84ba34c/NativeScript/NativeScript/issues/7867 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bdfe367c45b616675d23f889ca2c9efd37f82ae979a821d166760480f84ba34c/NativeScript/NativeScript/issues/7867 |
| og:image:alt | Environment CLI: 5.4.? & 6.0.2 Cross-platform modules: 5.4.2 & 6.0.1 Android Runtime: 5.4.0 & 6.0.0 NativeScript-Angular: 8.0.0 & 8.0.2 Angular: 8.0.0 & 8.0.3 Tested on Android Emulator 8.1 Describ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jpierront |
| hostname | github.com |
| expected-hostname | github.com |
| None | 44ab3188c1dcfe3be0f9c3feca2e04e14fb79f120939ce2395e4f15ab96ec1d4 |
| 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 | a5e2b48bd1260476599758f5d253b5d24092ab84 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width