Hi Alex-

Just checked.  Yes, I do....

-Naga

--- In flexcoders@yahoogroups.com, Alex Harui <aharui@...> wrote:
>
> If you use the default adobe skins do you have the same problem?
> 
> 
> On 8/4/11 11:35 AM, "nagaofthesea" <nagaofthesea@...> wrote:
> 
> 
> 
> 
> 
> 
> 
> 
> Hi Alex-
> 
> Thanks for looking at this.  I chopped the dump because it looked like a call 
> from Timer.tick().
> 
> Here is the whole dump:
> 
> August 4, 2011 11:33 AMclick here to add tags Tags:
> [SWF] iForesee.swf - 250,192 bytes after decompression
> TypeError: Error #1009: Cannot access a property or method of a null object 
> reference.
> at 
> _iForesee_mx_managers_SystemManager/callInContext()[_iForesee_mx_managers_SystemManager.as:38]
> at 
> mx.core::EmbeddedFontRegistry/getAssociatedModuleFactory()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core\EmbeddedFontRegistry.as:469]
> at 
> mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::getFontContext()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core\UIComponent.as:12682]
> at 
> mx.core::UIComponent/createInFontContext()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core\UIComponent.as:12740]
> at 
> TitleDisplayComponent/createChildren()[/Users/srd3/Documents/codeline/iForesee-4-5-1/src/assets/skins/FActionBarSkin.as:573]
> at 
> mx.core::UIComponent/initialize()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core\UIComponent.as:7624]
> at 
> mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core\UIComponent.as:7485]
> at 
> mx.core::UIComponent/addChild()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core\UIComponent.as:7166]
> at 
> assets.skins::FActionBarSkin/createChildren()[/Users/srd3/Documents/codeline/iForesee-4-5-1/src/assets/skins/FActionBarSkin.as:272]
> at 
> mx.core::UIComponent/initialize()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core\UIComponent.as:7624]
> at 
> mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core\UIComponent.as:7485]
> at 
> mx.core::UIComponent/addChild()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core\UIComponent.as:7166]
> at 
> spark.components.supportClasses::SkinnableComponent/attachSkin()[E:\dev\4.5.1\frameworks\projects\spark\src\spark\components\supportClasses\SkinnableComponent.as:692]
> at 
> spark.components.supportClasses::SkinnableComponent/validateSkinChange()[E:\dev\4.5.1\frameworks\projects\spark\src\spark\components\supportClasses\SkinnableComponent.as:443]
> at 
> spark.components.supportClasses::SkinnableComponent/createChildren()[E:\dev\4.5.1\frameworks\projects\spark\src\spark\components\supportClasses\SkinnableComponent.as:406]
> at 
> mx.core::UIComponent/initialize()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core\UIComponent.as:7624]
> at 
> mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core\UIComponent.as:7485]
> at 
> mx.core::UIComponent/addChild()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core\UIComponent.as:7166]
> at 
> assets.skins::FViewNavigatorSkin/createChildren()[/Users/srd3/Documents/codeline/iForesee-4-5-1/src/assets/skins/FViewNavigatorSkin.as:59]
> at 
> mx.core::UIComponent/initialize()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core\UIComponent.as:7624]
> at 
> mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core\UIComponent.as:7485]
> at 
> mx.core::UIComponent/addChild()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core\UIComponent.as:7166]
> at 
> spark.components.supportClasses::SkinnableComponent/attachSkin()[E:\dev\4.5.1\frameworks\projects\spark\src\spark\components\supportClasses\SkinnableComponent.as:692]
> at 
> spark.components.supportClasses::SkinnableComponent/validateSkinChange()[E:\dev\4.5.1\frameworks\projects\spark\src\spark\components\supportClasses\SkinnableComponent.as:443]
> at 
> spark.components.supportClasses::SkinnableComponent/createChildren()[E:\dev\4.5.1\frameworks\projects\spark\src\spark\components\supportClasses\SkinnableComponent.as:406]
> at 
> spark.components::SkinnableContainer/createChildren()[E:\dev\4.5.1\frameworks\projects\spark\src\spark\components\SkinnableContainer.as:879]
> at 
> mx.core::UIComponent/initialize()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core\UIComponent.as:7624]
> at 
> spark.components.supportClasses::ViewNavigatorBase/initialize()[E:\dev\4.5.1\frameworks\projects\mobilecomponents\src\spark\components\supportClasses\ViewNavigatorBase.as:642]
> at 
> mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core\UIComponent.as:7485]
> at 
> mx.core::UIComponent/addChild()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core\UIComponent.as:7166]
> at 
> assets.skins::FViewNavigatorApplicationSkin/createChildren()[/Users/srd3/Documents/codeline/iForesee-4-5-1/src/assets/skins/FViewNavigatorApplicationSkin.as:71]
> at 
> mx.core::UIComponent/initialize()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core\UIComponent.as:7624]
> at 
> mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core\UIComponent.as:7485]
> at 
> mx.core::UIComponent/addChild()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core\UIComponent.as:7166]
> at 
> spark.components.supportClasses::SkinnableComponent/attachSkin()[E:\dev\4.5.1\frameworks\projects\spark\src\spark\components\supportClasses\SkinnableComponent.as:692]
> at 
> spark.components.supportClasses::SkinnableComponent/validateSkinChange()[E:\dev\4.5.1\frameworks\projects\spark\src\spark\components\supportClasses\SkinnableComponent.as:443]
> at 
> spark.components.supportClasses::SkinnableComponent/createChildren()[E:\dev\4.5.1\frameworks\projects\spark\src\spark\components\supportClasses\SkinnableComponent.as:406]
> at 
> spark.components::SkinnableContainer/createChildren()[E:\dev\4.5.1\frameworks\projects\spark\src\spark\components\SkinnableContainer.as:879]
> at 
> spark.components::Application/createChildren()[E:\dev\4.5.1\frameworks\projects\spark\src\spark\components\Application.as:1480]
> at 
> mx.core::UIComponent/initialize()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core\UIComponent.as:7624]
> at 
> spark.components::Application/initialize()[E:\dev\4.5.1\frameworks\projects\spark\src\spark\components\Application.as:1334]
> at 
> spark.components.supportClasses::ViewNavigatorApplicationBase/initialize()[E:\dev\4.5.1\frameworks\projects\mobilecomponents\src\spark\components\supportClasses\ViewNavigatorApplicationBase.as:796]
> at iForesee/initialize()
> at 
> mx.managers.systemClasses::ChildManager/childAdded()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\managers\systemClasses\ChildManager.as:189]
> at 
> mx.managers.systemClasses::ChildManager/initializeTopLevelWindow()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\managers\systemClasses\ChildManager.as:359]
> at 
> mx.managers::SystemManager/initializeTopLevelWindow()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\managers\SystemManager.as:3063]
> at 
> mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::kickOff()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\managers\SystemManager.as:2849]
> at 
> mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::preloader_completeHandler()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\managers\SystemManager.as:2729]
> at 
> mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::preloader_completeHandler()
> at flash.events::EventDispatcher/dispatchEvent()
> at 
> mx.preloaders::Preloader/timerHandler()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\preloaders\Preloader.as:542]
> at mx.preloaders::Preloader/timerHandler()
> at flash.utils::Timer/tick()
> at flash.utils::Timer/tick()
> 
> 
> --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , 
> Alex Harui <aharui@> wrote:
> >
> > CreateChildren is the end of the stack trace?  That doesn't make sense.  
> > When does it really get called?
> >
> >
> >
> >
> > On 8/3/11 9:26 PM, "nagaofthesea" <nagaofthesea@> wrote:
> >
> >
> >
> >
> >
> >
> > Howdy Alex (or anyone else)-
> >
> > SCENARIO:
> > Flex 4.5.1 mobile application targeting Android and iOS (no pad) only.
> > Works flawlessly on desktop emulations (all profiles) and on all Android 
> > devices.
> >
> > Started testing on iOS 3GS and I get the following error (only top-most 
> > relevant lines are displayed) after the app hangs at the splash screen:
> >
> > TypeError: Error #1009: Cannot access a property or method of a null object 
> > reference.
> > at 
> > _iForesee_mx_managers_SystemManager/callInContext()[_iForesee_mx_managers_SystemManager.as:38]
> > at 
> > mx.core::EmbeddedFontRegistry/getAssociatedModuleFactory()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core\EmbeddedFontRegistry.as:469]
> > at 
> > mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::getFontContext()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core\UIComponent.as:12682]
> > at 
> > mx.core::UIComponent/createInFontContext()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core\UIComponent.as:12740]
> > at 
> > TitleDisplayComponent/createChildren()[/Users/srd3/Documents/codeline/iForesee-4-5-1/src/assets/skins/FActionBarSkin.as:573]
> > at 
> > mx.core::UIComponent/initialize()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core\UIComponent.as:7624]
> > at 
> > mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core\UIComponent.as:7485]
> > at 
> > mx.core::UIComponent/addChild()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core\UIComponent.as:7166]
> > at 
> > assets.skins::FActionBarSkin/createChildren()[/Users/srd3/Documents/codeline/iForesee-4-5-1/src/assets/skins/FActionBarSkin.as:272]
> >
> > COMMENT ON DEBUG OUTPUT.
> > I have made custom skins based on Adobe mobile skins.  The custom skins 
> > have "F" prepended to the Adobe mobile skin name.  They are clones of the 
> > mobile theme skins with my custom art etc as hard-coded ActinScript and FXG 
> > skins.
> >
> > I have four very narrow range nonCFF embedded fonts declared appropriately 
> > at the top.  My data renderers use _sans.
> >
> > When I mentally step through the code starting at UIComponent line 12739 I 
> > don't see the problem(!?!).  There are no NULLS.
> >
> > I understand that the relevant lines of code causing the problem are mostly 
> > for debug purposes, but I just can't see what the problem is.  All the way 
> > up to the call to SystemManager.callInContext() there are no NULLS that I 
> > can find checking the variables -- save for the `this` argument which is 
> > NULL as it should be.
> >
> > The fonts are in the registry as:
> > embed_font_cine_bold_normal_899163827;
> > embed_font_cine_medium_normal_597874558;
> > embed_font_serpe_bold_normal_1790603002;
> > embed_font_serpe_medium_normal_1688454721;
> >
> > >:-/
> >
> > Alex, should I just write an uncaught error handler for this?
> >
> > Regards,
> > Naga
> >
> >
> >
> >
> >
> >
> > --
> > Alex Harui
> > Flex SDK Team
> > Adobe System, Inc.
> > http://blogs.adobe.com/aharui
> >
> 
> 
> 
> 
> 
> 
> --
> Alex Harui
> Flex SDK Team
> Adobe System, Inc.
> http://blogs.adobe.com/aharui
>


Reply via email to