TypeError: Error #1009
Hi,
We're using FlexMojos to build a rather complex AIR application that uses RSLs and Modules.
We successfully created a FlexMojos build with Flex SDK 4.0. We're trying to update to 4.1 (and eventually 4.5).
Running the debug, Flash Builder compiled version of our application, we are able to run successfully with 4.1. However, we are continually running into the attached error with the FlexMojos 4.1 build. [Frankly, getting a release AIR build in either 4.0 or 4.1 from Flash builder has been a nightmare.]
In FlexMojos (as well as the Flash Builder debug build), we are using TLF as an externally linked library. We are using the Adobe libraries in the order in which they're listed in the [SDK]//frameworks/flex-config.xml file, which includes TextLayout at the top of the list.
We're not using anything in the TLF directly in our pared down version that still throws the errors, just a few Spark components that are loading within a Module.
Any help is greatly appreciated. Thanks!
Kirk
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at flashx.textLayout.compose::ParcelList/getParcelAtIndex()
at flashx.textLayout.compose::ParcelList/adjustForScroll()
at flashx.textLayout.compose::ParcelList/beginCompose()
at flashx.textLayout.compose::BaseCompose/initializeForComposer()
at flashx.textLayout.compose::SimpleCompose/initializeForComposer()
at flashx.textLayout.compose::BaseCompose/composeTextFlow()
at flashx.textLayout.compose::SimpleCompose/composeTextFlow()
at FactoryDisplayComposer/http://ns.adobe.com/textLayout/internal/2008::callTheComposer()
at flashx.textLayout.compose::StandardFlowComposer/internalCompose()
at flashx.textLayout.compose::StandardFlowComposer/compose()
at flashx.textLayout.factory::TextFlowTextLineFactory/createTextLines()
at spark.components::RichText/createTextLines()
at spark.components::RichText/http://www.adobe.com/2006/flex/mx/internal::composeTextLines()
at spark.components.supportClasses::TextBase/measure()
at mx.core::UIComponent/measureSizes()
at mx.core::UIComponent/validateSize()
at mx.managers::LayoutManager/validateSize()
at mx.managers::LayoutManager/doPhasedInstantiation()
at mx.managers::LayoutManager/doPhasedInstantiationCallback()
