Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
Apache Flex 4.10.0
-
None
-
When running mobile iOS or Android app in Air simulator on Mac
Description
On startup of my mobile app in Air simulator, the following null ptr error occurs. The application appears to run normally after dismissing the error popup, but there must have been setup steps that were skipped. This error does not occur when running on a device.
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at spark.components::Application/get http://www.adobe.com/2006/flex/mx/internal::softKeyboardRect()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/spark/src/spark/components/Application.as:2157]
at spark.components::SkinnablePopUpContainer/updateSoftKeyboardEffect()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/spark/src/spark/components/SkinnablePopUpContainer.as:1174]
at spark.components::SkinnablePopUpContainer/stateChangeComplete_handler()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/spark/src/spark/components/SkinnablePopUpContainer.as:890]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/framework/src/mx/core/UIComponent.as:13412]
at spark.skins.mobile::CalloutSkin/stateChangeComplete()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/mobiletheme/src/spark/skins/mobile/CalloutSkin.as:779]
at spark.skins.mobile::CalloutSkin/commitCurrentState()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/mobiletheme/src/spark/skins/mobile/CalloutSkin.as:526]
at spark.skins.mobile.supportClasses::MobileSkin/set currentState()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/MobileSkin.as:243]
at spark.components.supportClasses::SkinnableComponent/commitProperties()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableComponent.as:477]
at spark.components::Callout/commitProperties()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/mobilecomponents/src/spark/components/Callout.as:634]
at mx.core::UIComponent/validateProperties()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/framework/src/mx/core/UIComponent.as:8481]
at mx.managers::LayoutManager/validateProperties()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/framework/src/mx/managers/LayoutManager.as:605]
at mx.managers::LayoutManager/doPhasedInstantiation()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/framework/src/mx/managers/LayoutManager.as:791]
at mx.managers::LayoutManager/doPhasedInstantiationCallback()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/framework/src/mx/managers/LayoutManager.as:1188]