[flexcoders] Re: Unloading a swf that includes a ViewStack can cause a RTE
Can anyone help on this? At the moment I am a little stuck? Thanks Rob --- In flexcoders@yahoogroups.com, rob_mcmichael rob_mcmich...@... wrote: Hi Alex, The stack is as follows: === TypeError: Error #1009: Cannot access a property or method of a null object reference. at mx.managers::HistoryManagerImpl/calcCRC()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\HistoryManagerImpl.as:392] at mx.managers::HistoryManagerImpl()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\HistoryManagerImpl.as:268] at mx.managers::HistoryManagerImpl$/getInstance()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\HistoryManagerImpl.as:215] at mx.core::Singleton$/getInstance()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\Singleton.as:113] at mx.managers::HistoryManager$/get impl()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\HistoryManager.as:96] at mx.managers::HistoryManager$/unregister()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\HistoryManager.as:144] at mx.containers::ViewStack/removedFromStageHandler()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\containers\ViewStack.as:1188] at flash.display::Loader/_unload() at flash.display::Loader/unload() at mx.controls::SWFLoader/load()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\controls\SWFLoader.as:1318] at mx.controls::SWFLoader/commitProperties()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\controls\SWFLoader.as:1167] at mx.core::UIComponent/validateProperties()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:5807] at mx.managers::LayoutManager/validateProperties()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:539] at mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:689] at Function/http://adobe.com/AS3/2006/builtin::apply() at mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8628] at mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8568] Thanks Rob --- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote: What is the exact stack trace of the RTE? Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of rob_mcmichael Sent: Tuesday, February 17, 2009 7:17 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Unloading a swf that includes a ViewStack can cause a RTE Hi all, I am sill seeing this bug when trying to unload a SWF in an AIR 1.5 project: http://bugs.adobe.com/jira/browse/SDK-17422 I have tried everything mentioned but no avail. If anyone can help, please let me know. Thanks Rob
[flexcoders] Re: Unloading a swf that includes a ViewStack can cause a RTE
--- In flexcoders@yahoogroups.com, rob_mcmichael rob_mcmich...@... wrote: Can anyone help on this? At the moment I am a little stuck? Did you try turning off history management on the inner swf and recompiling it?
[flexcoders] Re: Unloading a swf that includes a ViewStack can cause a RTE
Wow that was obvious! Silly me. Thanks Amy! Rob --- In flexcoders@yahoogroups.com, Amy amyblankens...@... wrote: --- In flexcoders@yahoogroups.com, rob_mcmichael rob_mcmichael@ wrote: Can anyone help on this? At the moment I am a little stuck? Did you try turning off history management on the inner swf and recompiling it?
[flexcoders] Re: Unloading a swf that includes a ViewStack can cause a RTE
Hi Alex, The stack is as follows: === TypeError: Error #1009: Cannot access a property or method of a null object reference. at mx.managers::HistoryManagerImpl/calcCRC()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\HistoryManagerImpl.as:392] at mx.managers::HistoryManagerImpl()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\HistoryManagerImpl.as:268] at mx.managers::HistoryManagerImpl$/getInstance()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\HistoryManagerImpl.as:215] at mx.core::Singleton$/getInstance()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\Singleton.as:113] at mx.managers::HistoryManager$/get impl()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\HistoryManager.as:96] at mx.managers::HistoryManager$/unregister()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\HistoryManager.as:144] at mx.containers::ViewStack/removedFromStageHandler()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\containers\ViewStack.as:1188] at flash.display::Loader/_unload() at flash.display::Loader/unload() at mx.controls::SWFLoader/load()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\controls\SWFLoader.as:1318] at mx.controls::SWFLoader/commitProperties()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\controls\SWFLoader.as:1167] at mx.core::UIComponent/validateProperties()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:5807] at mx.managers::LayoutManager/validateProperties()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:539] at mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:689] at Function/http://adobe.com/AS3/2006/builtin::apply() at mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8628] at mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8568] Thanks Rob --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: What is the exact stack trace of the RTE? Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of rob_mcmichael Sent: Tuesday, February 17, 2009 7:17 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Unloading a swf that includes a ViewStack can cause a RTE Hi all, I am sill seeing this bug when trying to unload a SWF in an AIR 1.5 project: http://bugs.adobe.com/jira/browse/SDK-17422 I have tried everything mentioned but no avail. If anyone can help, please let me know. Thanks Rob