Title: App crashes when animating ActionBar · Issue #2084 · NativeScript/NativeScript · GitHub
Open Graph Title: App crashes when animating ActionBar · Issue #2084 · NativeScript/NativeScript
X Title: App crashes when animating ActionBar · Issue #2084 · NativeScript/NativeScript
Description: Did you verify this is a real problem by searching Stack Overflow and the other open issues in this repo? yes Tell us about the problem The app crashes when attempting to animate the actionbar. Which platform(s) does your issue occur on?...
Open Graph Description: Did you verify this is a real problem by searching Stack Overflow and the other open issues in this repo? yes Tell us about the problem The app crashes when attempting to animate the actionbar. Whi...
X Description: Did you verify this is a real problem by searching Stack Overflow and the other open issues in this repo? yes Tell us about the problem The app crashes when attempting to animate the actionbar. Whi...
Opengraph URL: https://github.com/NativeScript/NativeScript/issues/2084
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"App crashes when animating ActionBar","articleBody":"### Did you verify this is a real problem by searching [Stack Overflow](http://stackoverflow.com/questions/tagged/nativescript) and the [other open issues in this repo](https://github.com/NativeScript/nativescript/issues)?\n\nyes\n### Tell us about the problem\n\nThe app crashes when attempting to animate the actionbar.\n### Which platform(s) does your issue occur on?\n\niOS\n### Please provide the following version numbers that your issue occurs with:\n- CLI: 1.7.0\n- Cross-platform modules: 1.7.1\n- Runtime(s): tns-ios@1.7.0\n- Plugin(s): n/a\n### Please tell us how to recreate the issue in as much detail as possible.\n\nWhen attempting to animate the actionbar, the app crashes with the following stacktrace:\n\n```\nMay 9 12:26:10 gs app[75152]: 2 0x70ccc0 ffi_closure_inner\nMay 9 12:26:10 gs app[75152]: 3 0x70d612 ffi_closure_i386\nMay 9 12:26:10 gs app[75152]: 4 0x14d5e38 -[UIApplication sendAction:to:from:forEvent:]\nMay 9 12:26:10 gs app[75152]: 5 0x14d5db7 -[UIApplication sendAction:toTarget:fromSender:forEvent:]\nMay 9 12:26:10 gs app[75152]: 6 0x1679f3b -[UIControl sendAction:to:forEvent:]\nMay 9 12:26:10 gs app[75152]: 7 0x167a2d4 -[UIControl _sendActionsForEvents:withEvent:]\nMay 9 12:26:10 gs app[75152]: 8 0x16792c1 -[UIControl touchesEnded:withEvent:]\nMay 9 12:26:10 gs app[75152]: 9 0x155652e -[UIWindow _sendTouchesForEvent:]\nMay 9 12:26:10 gs app[75152]: 10 0x15575cc -[UIWindow sendEvent:]\nMay 9 12:26:10 gs app[75152]: 11 0x14f8be8 -[UIApplication sendEvent:]\nMay 9 12:26:10 gs app[75152]: 12 0x16686369 -[UIApplicationAccessibility sendEvent:]\nMay 9 12:26:10 gs app[75152]: 13 0x14cd769 _UIApplicationHandleEventQueue\nMay 9 12:26:10 gs app[75152]: 14 0x3739e5f __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__\nMay 9 12:26:10 gs app[75152]: 15 0x372faeb __CFRunLoopDoSources0\nMay 9 12:26:10 gs app[75152]: 16 0x372ef08 __CFRunLoopRun\nMay 9 12:26:10 gs app[75152]: 17 0x372e846 CFRunLoopRunSpecific\nMay 9 12:26:10 gs app[75152]: 18 0x372e65b CFRunLoopRunInMode\nMay 9 12:26:10 gs app[75152]: 19 0x549e664 GSEventRunModal\nMay 9 12:26:10 gs app[75152]: 20 0x549e4a1 GSEventRun\nMay 9 12:26:10 gs app[75152]: 21 0x14d3eb9 UIApplicationMain\nMay 9 12:26:10 gs app[75152]: 22 0x70d4d8 ffi_call_i386\nMay 9 12:26:10 gs app[75152]: file:///app/tns_modules/ui/animation/animation.js:135:43: JS ERROR TypeError: undefined is not an object (evaluating 'nativeView.layer')\nMay 9 12:26:10 gs com.apple.CoreSimulator.SimDevice.xxx.launchd_sim[60429] (UIKitApplication:app[0xa110][75152]): Service exited due to signal: Segmentation fault: 11\n```\n### Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.\n\nThe following crashes\n\n``` ts\n page.actionBar.animate({\n translate: {x: 0, y:-200},\n duration: 250\n })\n```\n","author":{"url":"https://github.com/the-reality-engineer","@type":"Person","name":"the-reality-engineer"},"datePublished":"2016-05-09T16:41:03Z","url":"https://github.com/NativeScript/NativeScript/issues/2084"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:69086cb2-22aa-94d3-c5f8-4e45c74f7832 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D8DC:F7C4C:144B266:1B2AB1F:6B01331C |
| html-safe-nonce | 6f08c496dbf5e481dd880b637a7887b4c8bdc2a497c2bdb4bb2eff7b5b806535 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOERDOkY3QzRDOjE0NEIyNjY6MUIyQUIxRjo2QjAxMzMxQyIsInZpc2l0b3JfaWQiOiI1OTUyOTIwNzI1Njc3MTQ1ODgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5677b047e4b7ebbd26a4c027164544483edda187c77eac1f0417975796791b52 |
| hovercard-subject-tag | issue:153818667 |
| 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/2084/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ba26e5ecc67b5a48cc18fd01b7d31d1db2785b8fdab7b5db093366ac229a92bf/NativeScript/NativeScript/issues/2084 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ba26e5ecc67b5a48cc18fd01b7d31d1db2785b8fdab7b5db093366ac229a92bf/NativeScript/NativeScript/issues/2084 |
| og:image:alt | Did you verify this is a real problem by searching Stack Overflow and the other open issues in this repo? yes Tell us about the problem The app crashes when attempting to animate the actionbar. Whi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | the-reality-engineer |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width