Title: _onNavigatingTo TypeError: Cannot read property 'resolvedPage' of undefined · Issue #9204 · NativeScript/NativeScript · GitHub
Open Graph Title: _onNavigatingTo TypeError: Cannot read property 'resolvedPage' of undefined · Issue #9204 · NativeScript/NativeScript
X Title: _onNavigatingTo TypeError: Cannot read property 'resolvedPage' of undefined · Issue #9204 · NativeScript/NativeScript
Description: Environment tns-core-modules has 6.5.25 tns-android has 6.5.3 Describe the bug Runtime exception due to unchecked null. Somehow the variable "backstackEntry" is null at this point: NativeScript/nativescript-core/ui/frame/frame-common.ts ...
Open Graph Description: Environment tns-core-modules has 6.5.25 tns-android has 6.5.3 Describe the bug Runtime exception due to unchecked null. Somehow the variable "backstackEntry" is null at this point: NativeScript/nat...
X Description: Environment tns-core-modules has 6.5.25 tns-android has 6.5.3 Describe the bug Runtime exception due to unchecked null. Somehow the variable "backstackEntry" is null at this point: Native...
Opengraph URL: https://github.com/NativeScript/NativeScript/issues/9204
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"_onNavigatingTo TypeError: Cannot read property 'resolvedPage' of undefined","articleBody":"**Environment**\r\ntns-core-modules has 6.5.25\r\ntns-android has 6.5.3\r\n\r\n**Describe the bug**\r\nRuntime exception due to unchecked null. \r\nSomehow the variable \"backstackEntry\" is null at this point:\r\nhttps://github.com/NativeScript/NativeScript/blob/c040cb28fcca4c86f831197190a33f316af27ecd/nativescript-core/ui/frame/frame-common.ts#L398\r\n\r\nMost likely because backstack[backstack.length - 1] returns undefined here because the length is 0:\r\nhttps://github.com/NativeScript/NativeScript/blob/c040cb28fcca4c86f831197190a33f316af27ecd/nativescript-core/ui/frame/frame-common.ts#L393\r\n\r\n**To Reproduce**\r\nUnknown, it's happening to users in production. Maybe trying to go back repeatedly?\r\n\r\n**Additional context**\r\n\r\n\u003e com.tns.NativeScriptException: Calling js method run failed\r\nTypeError: Cannot read property 'resolvedPage' of undefined\r\nt._onNavigatingTo(\u003cembedded\u003e:37:1212954)\r\nt.performGoBack(\u003cembedded\u003e:37:1212451)\r\nt._processNextNavigationEntry(\u003cembedded\u003e:37:1212100)\r\nt._processNextNavigationEntry(\u003cembedded\u003e:37:107712)\r\nt._processNavigationQueue(\u003cembedded\u003e:37:1211284)\r\nt.setCurrent(\u003cembedded\u003e:37:109498)\r\n(\u003cembedded\u003e:37:2105307)\r\n(\u003cembedded\u003e:37:1207022)\r\nrun(\u003cembedded\u003e:37:1207081)\r\ncom.tns.Runtime.callJSMethodNative(Native Method)\r\ncom.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1286)\r\ncom.tns.Runtime.callJSMethodImpl(Runtime.java:1173)\r\ncom.tns.Runtime.callJSMethod(Runtime.java:1160)\r\ncom.tns.Runtime.callJSMethod(Runtime.java:1138)\r\ncom.tns.Runtime.callJSMethod(Runtime.java:1134)\r\ncom.tns.gen.java.lang.Runnable.run(Runnable.java:17)\r\nandroid.os.Handler.handleCallback(Handler.java:789)\r\nandroid.os.Handler.dispatchMessage(Handler.java:98)\r\nandroid.os.Looper.loop(Looper.java:164)\r\nandroid.app.ActivityThread.main(ActivityThread.java:6944)\r\njava.lang.reflect.Method.invoke(Native Method)\r\ncom.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)\r\ncom.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)\r\n\r\n\r\n\r\n\r\n","author":{"url":"https://github.com/hiperbou","@type":"Person","name":"hiperbou"},"datePublished":"2021-02-09T17:07:21.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/9204/NativeScript/issues/9204"}
| 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:799a66fc-019c-34df-b13c-2d96ecb8e9ac |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DF10:EEDB7:FDE8B9:14E5981:6A5BC848 |
| html-safe-nonce | 9e5e11f4f8becb4eaddd3e2b1ab12e976c230ac238330e24f8f6476144c3f3c0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERjEwOkVFREI3OkZERThCOToxNEU1OTgxOjZBNUJDODQ4IiwidmlzaXRvcl9pZCI6IjgyNTYzNTUwMDIyNzg5ODc4NDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 704e070b148e26a1c3369f374c09942c84c434d337d3ed9f42ed89b283be0469 |
| hovercard-subject-tag | issue:804741234 |
| 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/9204/issue_layout |
| twitter:image | https://opengraph.githubassets.com/149c07b88474aab195a0f06fdbf4cb5905862b7e930f7553977dfedc09bad8ee/NativeScript/NativeScript/issues/9204 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/149c07b88474aab195a0f06fdbf4cb5905862b7e930f7553977dfedc09bad8ee/NativeScript/NativeScript/issues/9204 |
| og:image:alt | Environment tns-core-modules has 6.5.25 tns-android has 6.5.3 Describe the bug Runtime exception due to unchecked null. Somehow the variable "backstackEntry" is null at this point: NativeScript/nat... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hiperbou |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| 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 | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width