Skip to content

App crashes when animating ActionBar #2084

@the-reality-engineer

Description

@the-reality-engineer

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?

iOS

Please provide the following version numbers that your issue occurs with:

  • CLI: 1.7.0
  • Cross-platform modules: 1.7.1
  • Runtime(s): tns-ios@1.7.0
  • Plugin(s): n/a

Please tell us how to recreate the issue in as much detail as possible.

When attempting to animate the actionbar, the app crashes with the following stacktrace:

May  9 12:26:10 gs app[75152]: 2   0x70ccc0 ffi_closure_inner
May  9 12:26:10 gs app[75152]: 3   0x70d612 ffi_closure_i386
May  9 12:26:10 gs app[75152]: 4   0x14d5e38 -[UIApplication sendAction:to:from:forEvent:]
May  9 12:26:10 gs app[75152]: 5   0x14d5db7 -[UIApplication sendAction:toTarget:fromSender:forEvent:]
May  9 12:26:10 gs app[75152]: 6   0x1679f3b -[UIControl sendAction:to:forEvent:]
May  9 12:26:10 gs app[75152]: 7   0x167a2d4 -[UIControl _sendActionsForEvents:withEvent:]
May  9 12:26:10 gs app[75152]: 8   0x16792c1 -[UIControl touchesEnded:withEvent:]
May  9 12:26:10 gs app[75152]: 9   0x155652e -[UIWindow _sendTouchesForEvent:]
May  9 12:26:10 gs app[75152]: 10  0x15575cc -[UIWindow sendEvent:]
May  9 12:26:10 gs app[75152]: 11  0x14f8be8 -[UIApplication sendEvent:]
May  9 12:26:10 gs app[75152]: 12  0x16686369 -[UIApplicationAccessibility sendEvent:]
May  9 12:26:10 gs app[75152]: 13  0x14cd769 _UIApplicationHandleEventQueue
May  9 12:26:10 gs app[75152]: 14  0x3739e5f __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
May  9 12:26:10 gs app[75152]: 15  0x372faeb __CFRunLoopDoSources0
May  9 12:26:10 gs app[75152]: 16  0x372ef08 __CFRunLoopRun
May  9 12:26:10 gs app[75152]: 17  0x372e846 CFRunLoopRunSpecific
May  9 12:26:10 gs app[75152]: 18  0x372e65b CFRunLoopRunInMode
May  9 12:26:10 gs app[75152]: 19  0x549e664 GSEventRunModal
May  9 12:26:10 gs app[75152]: 20  0x549e4a1 GSEventRun
May  9 12:26:10 gs app[75152]: 21  0x14d3eb9 UIApplicationMain
May  9 12:26:10 gs app[75152]: 22  0x70d4d8 ffi_call_i386
May  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')
May  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

Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.

The following crashes

        page.actionBar.animate({
            translate: {x: 0, y:-200},
            duration: 250
        })

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions