flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gaius Coffey (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-33478) Including resource bundle in main app MXML causes unfixable crash in iOS StandardMode compile
Date Thu, 22 Aug 2013 12:02:51 GMT

    [ https://issues.apache.org/jira/browse/FLEX-33478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13747455#comment-13747455
] 

Gaius Coffey commented on FLEX-33478:
-------------------------------------

Hi,
I can confirm that the number of keys is the issue: I can compile fine if I halve the size
of my properties file.

This seems quite arbitrary, would dearly love to get the limitation fixed.
G
                
> Including resource bundle in main app MXML causes unfixable crash in iOS StandardMode
compile
> ---------------------------------------------------------------------------------------------
>
>                 Key: FLEX-33478
>                 URL: https://issues.apache.org/jira/browse/FLEX-33478
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Mobile: ViewNavigator
>         Environment: FB4.7, AIR3.6, Windows 64, iOS
>            Reporter: Gaius Coffey
>              Labels: air, crash, flex_mobile, ios
>
> Hi,
> 1. Build an application using Flex for mobile targetted at iOS
> 2. Use ResourceBundle to provide all strings
> 3. Add a metadata tag to the main application .mxml as per the below:
> 	<fx:Metadata>
> 		[ResourceBundle("Messages")]
> 	</fx:Metadata>	
> 4. Compile in the different modes:
> - For ad hoc release; compiles and runs
> - For fast mode debug; compiles and runs
> - For STANDARD mode debug; CRASHES HORRIBLY before executing user code
> NB: I have tried using a test project where I comment out _ALL_ code and display classes
and use an empty view. It is _DEFINITELY_ the metadata declaration that causes the bug.
> NB2: I have just attempted moving the metadata declaration elsewhere in my code (to the
first view) and the same results are found.
> [SWF] gustavo_mobile_as_app.swf - 35,408,264 bytes after decompression
> TypeError: Error #1009: Cannot access a property or method of a null object reference.
>           at en_US$Messages_properties/getContent()
>           at mx.resources::ResourceBundle()[C:\svn\4.y\frameworks\projects\framewo rk\src\mx\resources\ResourceBundle.as:121]
>           at mx.resources::ResourceBundle()
>           at en_US$Messages_properties()
>           at en_US$Messages_properties()
>           at mx.resources::ResourceManagerImpl/installCompiledResourceBundle()[E:\ dev\4.y\frameworks\projects\framework\src\mx\resources\ResourceManager
Impl.as:396]
>           at mx.resources::ResourceManagerImpl/installCompiledResourceBundles()[E: \dev\4.y\frameworks\projects\framework\src\mx\resources\ResourceManage
rImpl.as:306]
>           at mx.resources::ResourceManagerImpl/processInfo()[E:\dev\4.y\frameworks \projects\framework\src\mx\resources\ResourceManagerImpl.as:450]
>           at mx.resources::ResourceManagerImpl()[E:\dev\4.y\frameworks\projects\fr amework\src\mx\resources\ResourceManagerImpl.as:133]
>           at mx.resources::ResourceManager$/getInstance()[E:\dev\4.y\frameworks\pr ojects\framework\src\mx\resources\ResourceManager.as:117]
>           at mx.styles::StyleManagerImpl()[E:\dev\4.y\frameworks\projects\framewor k\src\mx\styles\StyleManagerImpl.as:380]
>           at _gustavo_mobile_as_app_FlexInit$/init()
>           at _gustavo_mobile_as_app_FlexInit$/init()
>           at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::kickOff()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\SystemMana
ger.as:2815]
>           at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::preloader_completeHandler()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\SystemMana
ger.as:2723]
>           at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::preloader_completeHandler()
>           at flash.events::EventDispatcher/dispatchEvent()
>           at mx.preloaders::Preloader/timerHandler()[E:\dev\4.y\frameworks\project s\framework\src\mx\preloaders\Preloader.as:542]
>           at mx.preloaders::Preloader/timerHandler()
>           at flash.utils::Timer/tick()
>           at flash.utils::Timer/tick()
> See also: http://forums.adobe.com/message/5215450#5215450 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message