incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Tokarev (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-33142) embeddedFontRegistry Null reference error loading a module that has <s:FormItem>
Date Mon, 10 Sep 2012 12:23:07 GMT

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

Sergey Tokarev commented on FLEX-33142:
---------------------------------------

I found that if I change fontLookup in CSS of my project from "auto" to "device" all will
work correctly.
                
> 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: FTETextUtil.as, test48Mod.mxml, test48.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
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message