Title: Null reference exception in view.android.onUnloaded · Issue #8153 · NativeScript/NativeScript · GitHub
Open Graph Title: Null reference exception in view.android.onUnloaded · Issue #8153 · NativeScript/NativeScript
X Title: Null reference exception in view.android.onUnloaded · Issue #8153 · NativeScript/NativeScript
Description: NativeScript/nativescript-core/ui/core/view/view.android.ts Lines 381 to 386 in 3199a39 public onUnloaded() { if (this.touchListenerIsSet) { this.nativeViewProtected.setOnTouchListener(null); this.touchListenerIsSet = false; this.nativeV...
Open Graph Description: NativeScript/nativescript-core/ui/core/view/view.android.ts Lines 381 to 386 in 3199a39 public onUnloaded() { if (this.touchListenerIsSet) { this.nativeViewProtected.setOnTouchListener(null); this....
X Description: NativeScript/nativescript-core/ui/core/view/view.android.ts Lines 381 to 386 in 3199a39 public onUnloaded() { if (this.touchListenerIsSet) { this.nativeViewProtected.setOnTouchListener(null); this....
Opengraph URL: https://github.com/NativeScript/NativeScript/issues/8153
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Null reference exception in view.android.onUnloaded","articleBody":"https://github.com/NativeScript/NativeScript/blob/3199a392b45635606e06119845099965246395c3/nativescript-core/ui/core/view/view.android.ts#L381-L386\r\n\r\n`this.nativeViewProtected.setOnTouchListener(null);` would throw if `nativeViewProtected` is null.\r\n`this.nativeViewProtected.setClickable(this._isClickable);` would throw if `nativeViewProtected` is null.","author":{"url":"https://github.com/hamidbsd","@type":"Person","name":"hamidbsd"},"datePublished":"2019-11-30T21:07:24.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/8153/NativeScript/issues/8153"}
| 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:2f349b74-b2cc-fc1d-a372-6bbd70f6974c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D680:1BD7A5:1BCEB2B:2466B31:6974537F |
| html-safe-nonce | 45e83ed7859c28d7c0bdbf68649cf9072c68044fe805a1205def0447ef3fdcd5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENjgwOjFCRDdBNToxQkNFQjJCOjI0NjZCMzE6Njk3NDUzN0YiLCJ2aXNpdG9yX2lkIjoiNDczMzI5NjkyODI2MTE2NTk1MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3d71fa043b1fa2069ebef701589747dad571d464ec129496c393e4c7d54a6d9a |
| hovercard-subject-tag | issue:530630273 |
| 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/8153/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7314022060d6b9d8d7ae89a5495223c34728fb47a1ba8d8297cb0303d6ba43fd/NativeScript/NativeScript/issues/8153 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7314022060d6b9d8d7ae89a5495223c34728fb47a1ba8d8297cb0303d6ba43fd/NativeScript/NativeScript/issues/8153 |
| og:image:alt | NativeScript/nativescript-core/ui/core/view/view.android.ts Lines 381 to 386 in 3199a39 public onUnloaded() { if (this.touchListenerIsSet) { this.nativeViewProtected.setOnTouchListener(null); this.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hamidbsd |
| hostname | github.com |
| expected-hostname | github.com |
| None | e0b95d743b7672c9ac0e1032d5f117950182dc164a83434a7db86510e8f0b37c |
| 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 | 56fe7e2e8de6e57740bca50402351ea656f7a4bf |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width