We attended the Flex holistic lab in September 2012. At the time we were testing a mobile app using the 3.1b Flex build without problems. We've just started looking at the actual 3.1 release for an online/offline mobile app. In the app we are serializing a feature layer for offline use. With 3.0 and the 3.1b build, we were using in the September lab, all worked well, but in 3.1 we are getting the error below. We wondered what might have changed in 3.1 to cause this error:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at com.esri.ags.layers::Layer/updateLayerIfInvalid()
at com.esri.ags.layers::Layer/updateDisplayList()
at mx.core::UIComponent/validateDisplayList()
at mx.managers::LayoutManager/validateDisplayList()
at mx.managers::LayoutManager/doPhasedInstantiation()
at mx.managers::LayoutManager/validateNow()
at mx.core::UIComponent/commitCurrentState()
at mx.core::UIComponent/setCurrentState()
at mx.core::UIComponent/set currentState()
at spark.components.supportClasses::SkinnableComponent/commitProperties()
at mx.core::UIComponent/validateProperties()
at mx.managers::LayoutManager/validateProperties()
at mx.managers::LayoutManager/doPhasedInstantiation()
at mx.managers::LayoutManager/validateNow()
at mx.core::UIComponent/commitCurrentState()
at mx.core::UIComponent/setCurrentState()
at mx.core::UIComponent/set currentState()
at spark.components.supportClasses::SkinnableComponent/commitProperties()
at mx.core::UIComponent/validateProperties()
at mx.managers::LayoutManager/validateProperties()
at mx.managers::LayoutManager/doPhasedInstantiation()
at mx.managers::LayoutManager/doPhasedInstantiationCallback()
Thanks
--Rory