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

Carol Frampton commented on FLEX-33142:
---------------------------------------

I see the same output when building with either Adobe Flex 4.6 or Apache Flex 
4.8?  Did you install the optional embedded font support?  You should have four 
jar files in your lib/external/optional directory: afe, aglj40, flex-fontkit 
and rideau
                
> 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, 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

        

Reply via email to