incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Saunders (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLEX-33142) embeddedFontRegistry Null reference error loading a module that has <s:FormItem>
Date Fri, 20 Jul 2012 19:49:34 GMT

     [ https://issues.apache.org/jira/browse/FLEX-33142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mark Saunders updated FLEX-33142:
---------------------------------

    Attachment: test48Mod.mxml
                test48.mxml

SAMPLE CODE TO RECREATE ISSUE.  The Application test48 loads the module test48Mod.
                
> embeddedFontRegistry Null reference error loading a module that has <s:FormItem>
> --------------------------------------------------------------------------------
>
>                 Key: FLEX-33142
>                 URL: https://issues.apache.org/jira/browse/FLEX-33142
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Spark: FTETextField
>    Affects Versions: Apache Flex 4.8 (parity release)
>         Environment: Windows 7 64 bit; FlashBuilder 4.5
>            Reporter: Mark Saunders
>         Attachments: test48.mxml, test48Mod.mxml
>
>
> Error below occurs when a module is loaded that has a <s:FormItem>.  The error
is in class FTETextUtil method getEmbeddedFontContext() line 214.  The property embeddedFontRegistry
is null
> Main Thread (Suspended: TypeError: Error #1009: Cannot access a property or method of
a null object reference.)	
> 	spark.utils::FTETextUtil$/getEmbeddedFontContext	
> 	spark.utils::FTETextUtil$/calculateFontBaseline	
> 	spark.components.supportClasses::GroupBase/get baselinePosition	
> 	spark.components::Group/get baselinePosition	
> 	spark.layouts::ConstraintLayout/parseElementConstraints	
> 	spark.layouts::ConstraintLayout/parseConstraints	
> 	spark.layouts::ConstraintLayout/measure	
> 	spark.components.supportClasses::GroupBase/measure	
> 	mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::measureSizes	
> 	mx.core::UIComponent/validateSize	
> 	spark.components::Group/validateSize	
> 	mx.managers::LayoutManager/validateSize	
> 	mx.managers::LayoutManager/doPhasedInstantiation	
> 	mx.managers::LayoutManager/doPhasedInstantiationCallback	

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message