flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Krastev (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLEX-34835) When popUp is closed application crashes on Android
Date Tue, 12 May 2015 09:03:59 GMT
Alexander Krastev created FLEX-34835:
----------------------------------------

             Summary: When popUp is closed application crashes on Android
                 Key: FLEX-34835
                 URL: https://issues.apache.org/jira/browse/FLEX-34835
             Project: Apache Flex
          Issue Type: Bug
          Components: Mobile: SplitViewNavigator
    Affects Versions: Apache Flex 4.14.0, Apache Flex 4.14.1
         Environment: Android (works perfectly fine on iOS and was working on android with
older Apache Flex).
            Reporter: Alexander Krastev


undefined
	at mx.styles::StyleProtoChain$/getTypeHierarchy()[/Users/erik/Documents/ApacheFlex/git/flex-sdk4.14.1/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as:844]
	at mx.styles::StyleProtoChain$/matchesCSSType()[/Users/erik/Documents/ApacheFlex/git/flex-sdk4.14.1/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as:791]
	at mx.core::UIComponent/matchesCSSType()[/Users/erik/Documents/ApacheFlex/git/flex-sdk4.14.1/frameworks/projects/framework/src/mx/core/UIComponent.as:11434]
	at mx.styles::CSSSelector/matchesStyleClient()[/Users/erik/Documents/ApacheFlex/git/flex-sdk4.14.1/frameworks/projects/framework/src/mx/styles/CSSSelector.as:250]
	at mx.styles::CSSStyleDeclaration/matchesStyleClient()[/Users/erik/Documents/ApacheFlex/git/flex-sdk4.14.1/frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.as:522]
	at mx.styles::StyleProtoChain$/matchStyleDeclarations()[/Users/erik/Documents/ApacheFlex/git/flex-sdk4.14.1/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as:929]
	at mx.styles::StyleProtoChain$/getClassStyleDeclarations()[/Users/erik/Documents/ApacheFlex/git/flex-sdk4.14.1/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as:122]
	at mx.core::UIComponent/getClassStyleDeclarations()[/Users/erik/Documents/ApacheFlex/git/flex-sdk4.14.1/frameworks/projects/framework/src/mx/core/UIComponent.as:11479]
	at mx.styles::StyleProtoChain$/getMatchingStyleDeclarations()[/Users/erik/Documents/ApacheFlex/git/flex-sdk4.14.1/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as:831]
	at mx.styles::StyleProtoChain$/initProtoChain()[/Users/erik/Documents/ApacheFlex/git/flex-sdk4.14.1/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as:252]
	at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::initProtoChain()[/Users/erik/Documents/ApacheFlex/git/flex-sdk4.14.1/frameworks/projects/framework/src/mx/core/UIComponent.as:11458]
	at mx.core::UIComponent/regenerateStyleCache()[/Users/erik/Documents/ApacheFlex/git/flex-sdk4.14.1/frameworks/projects/framework/src/mx/core/UIComponent.as:11521]
	at spark.components::Group/regenerateStyleCache()[/Users/erik/Documents/ApacheFlex/git/flex-sdk4.14.1/frameworks/projects/spark/src/spark/components/Group.as:1300]
	at mx.core::UIComponent/regenerateStyleCache()[/Users/erik/Documents/ApacheFlex/git/flex-sdk4.14.1/frameworks/projects/framework/src/mx/core/UIComponent.as:11542]
	at mx.core::UIComponent/regenerateStyleCache()[/Users/erik/Documents/ApacheFlex/git/flex-sdk4.14.1/frameworks/projects/framework/src/mx/core/UIComponent.as:11542]
	at mx.core::UIComponent/set styleName()[/Users/erik/Documents/ApacheFlex/git/flex-sdk4.14.1/frameworks/projects/framework/src/mx/core/UIComponent.as:6764]
	at spark.components::ActionBar/styleChanged()[/Users/erik/Documents/ApacheFlex/git/flex-sdk4.14.1/frameworks/projects/mobilecomponents/src/spark/components/ActionBar.as:911]
	at mx.core::UIComponent/set styleName()[/Users/erik/Documents/ApacheFlex/git/flex-sdk4.14.1/frameworks/projects/framework/src/mx/core/UIComponent.as:6768]



//Example code:
LogInView (View with login form);
[Bindable] public var transition1:CrossFadeViewTransition = new CrossFadeViewTransition();


protected function logIn_clickHandler(event:MouseEvent):void {
        popupView.popView();
        popupView.pushView(LogInView);
        splitNavigator.showFirstViewNavigatorInPopUp(buttonLogIn);
}

protected function popupView_hideHandler(event:FlexEvent):void
{
         popupView.popAll();
}

	<s:SplitViewNavigator id="splitNavigator"
						  width="0" height="0">
		<s:ViewNavigator id="popupView" width="{Utils.getPixels(320)}" height="{Utils.getPixels(400)}"
visible="false" 
						 defaultPopTransition="{transition1}" defaultPushTransition="{transition1}" hide="popupView_hideHandler(event)">
		</s:ViewNavigator>
	</s:SplitViewNavigator>
............
	<s:actionContent>
			<s:HGroup gap="0">
				<s:Image buttonMode="true" id="buttonLogIn" click="logIn_clickHandler(event);" 
						 visible="{!model.meetingId}" includeInLayout="{!model.meetingId}" source="{AssetsManager.images.login}"
/>
			</s:HGroup>
	</s:actionContent>  

.............  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message