Title: Failure saving state crash with nested frame navigation and app suspend/resume · Issue #6629 · NativeScript/NativeScript · GitHub
Open Graph Title: Failure saving state crash with nested frame navigation and app suspend/resume · Issue #6629 · NativeScript/NativeScript
X Title: Failure saving state crash with nested frame navigation and app suspend/resume · Issue #6629 · NativeScript/NativeScript
Description: Environment CLI: 5.1.0 Cross-platform modules: 5.1.0 Android Runtime: 5.1.0 Describe the bug Error: java.lang.IllegalStateException: Failure saving state: active fragment1[1]
Open Graph Description: Environment CLI: 5.1.0 Cross-platform modules: 5.1.0 Android Runtime: 5.1.0 Describe the bug Error: java.lang.IllegalStateException: Failure saving state: active fragment1[1] X Description: Environment CLI: 5.1.0 Cross-platform modules: 5.1.0 Android Runtime: 5.1.0 Describe the bug Error: java.lang.IllegalStateException: Failure saving state: active fragment1[1]<Page(10)@file:///ap...
Opengraph URL: https://github.com/NativeScript/NativeScript/issues/6629
X: @github
Domain: github.com
Links:
Viewport: width=device-width
Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Failure saving state crash with nested frame navigation and app suspend/resume","articleBody":"**Environment**\r\n - CLI: 5.1.0\r\n - Cross-platform modules: 5.1.0\r\n - Android Runtime: 5.1.0\r\n\r\n**Describe the bug**\r\n```\r\nError: java.lang.IllegalStateException: Failure saving state: active fragment1[1]\u003cPage(10)@file:///app/players/players-items-page.xml:1:1;\u003e has cleared index: -1\r\n android.support.v4.app.FragmentManagerImpl.saveAllState(FragmentManager.java:2960)\r\n android.support.v4.app.Fragment.performSaveInstanceState(Fragment.java:2628)\r\n android.support.v4.app.FragmentManagerImpl.saveFragmentBasicState(FragmentManager.java:2910)\r\n android.support.v4.app.FragmentManagerImpl.saveAllState(FragmentManager.java:2971)\r\n android.support.v4.app.FragmentController.saveAllState(FragmentController.java:134)\r\n android.support.v4.app.FragmentActivity.onSaveInstanceState(FragmentActivity.java:591)\r\n android.support.v7.app.AppCompatActivity.onSaveInstanceState(AppCompatActivity.java:510)\r\n com.tns.Runtime.callJSMethodNative(Native Method)\r\n com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1116)\r\n com.tns.Runtime.callJSMethodImpl(Runtime.java:996)\r\n com.tns.Runtime.callJSMethod(Runtime.java:983)\r\n```\r\n\r\nAfter a specific set of navigation actions in a nested frame scenario with app suspend/resume.\r\n\r\n**To Reproduce**\r\n1. Tap \"Player Two\" (nested frame navigation)\r\n2. Tap \"navigate to some page\" button (parent frame navigation)\r\n3. Go back via hardware button (parent frame back navigation)\r\n4. Go back via \"arrow\" button to the players list (nested frame back navigation)\r\n5. Tap \"Player Two\" again (nested frame navigation)\r\n6. Try to suspend the app -- app crashes with the exception above.\r\n\r\n\r\n**Sample project**\r\nhttps://play.nativescript.org/?template=play-tsc\u0026id=BZfk8A NOTE: playground sample crashes with a different exception as it is not using the latest binaries -- use just the source files for reference! \r\n\r\nUse the attached zip to debug: [NSPlayground.zip](https://github.com/NativeScript/NativeScript/files/2620270/NSPlayground.zip)\r\n","author":{"url":"https://github.com/manoldonev","@type":"Person","name":"manoldonev"},"datePublished":"2018-11-27T14:02:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/6629/NativeScript/issues/6629"}
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:ac79d5f2-ae85-901b-eaa0-ae35e706c9d1 current-catalog-service-hash 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 request-id 9A02:2C24EC:134C47D:1AAB023:697774C2 html-safe-nonce dd712a6da0208f6e0bdc63dc22ceb761105f1da52f231e62f86f768914b95ee3 visitor-payload eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QTAyOjJDMjRFQzoxMzRDNDdEOjFBQUIwMjM6Njk3Nzc0QzIiLCJ2aXNpdG9yX2lkIjoiNzA0ODA3NDM3MTM5Mzg3NzE4NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 visitor-hmac 38b259c0d8414666b4cdc96b71eed03318d64c6a89e0e87f3bb19eb7b126dee2 hovercard-subject-tag issue:384809273 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/6629/issue_layout twitter:image https://opengraph.githubassets.com/efa1a0e0bcfb3792b8c56a254c8360f74b84a8b53ee2338820d8eab47eccfa3e/NativeScript/NativeScript/issues/6629 twitter:card summary_large_image og:image https://opengraph.githubassets.com/efa1a0e0bcfb3792b8c56a254c8360f74b84a8b53ee2338820d8eab47eccfa3e/NativeScript/NativeScript/issues/6629 og:image:alt Environment CLI: 5.1.0 Cross-platform modules: 5.1.0 Android Runtime: 5.1.0 Describe the bug Error: java.lang.IllegalStateException: Failure saving state: active fragment1[1] og:image:width 1200 og:image:height 600 og:site_name GitHub og:type object og:author:username manoldonev hostname github.com expected-hostname github.com None 9fea6af76c6e24ca5c5728a18d4220d768790d04abe1ba6aafa18526daff96e7 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 6c4a3fa336c0d96309887d0be819777cadd37121 ui-target full theme-color #1e2327 color-scheme light dark
URLs of crawlers that visited me.