Mark Saunders created FLEX-33142: ------------------------------------ Summary: 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
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