Vincent Spallek created FLEX-34006:
--------------------------------------
Summary: RTE null object reference in
ViewTransitionBase.captureEndValues() when Skin does not provide an ActionBar
Key: FLEX-34006
URL: https://issues.apache.org/jira/browse/FLEX-34006
Project: Apache Flex
Issue Type: Bug
Components: Mobile: ViewNavigator
Affects Versions: Apache Flex 4.11.0
Reporter: Vincent Spallek
Steps to reproduce:
- Create a Skin for ViewNavigator that does not provide an actionBar which is
not a required SkinPart, see ViewNavigator
- Apply that Skin to a ViewNavigator
- Add a View that navigates to another View via navigator.pushView()
- In that second View, call navigator.popView()
Expected result:
The default backward transition is played, and the first view ist diplayed
again.
Actula result:
this.actionBar is accessed, but it is null:
TypeError: Error #1009: Cannot access a property or method of a null object
reference.
at
spark.transitions::ViewTransitionBase/captureEndValues()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/mobilecomponents/src/spark/transitions/ViewTransitionBase.as:755]
at
spark.components::ViewNavigator/completeTransitionPreparations()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as:2251]
at
spark.components::ViewNavigator/prepareViewTransition()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as:2180]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.core::UIComponent/dispatchEvent()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/core/UIComponent.as:13413]
at
mx.managers::LayoutManager/doPhasedInstantiation()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/managers/LayoutManager.as:852]
at
mx.managers::LayoutManager/doPhasedInstantiationCallback()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/managers/LayoutManager.as:1188]
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)