Quantcast
Channel: VMware Communities : Discussion List - vSphere Client SDK
Viewing all articles
Browse latest Browse all 2218

Error 2025 occurring when resizing browser window after instantiating htmlbridge view

$
0
0



I am getting an Error #2025 ("An internal error has occurred - Error #2025.") when resizing the browser window after instantiating an html-bridge view. This doesn't seem to happen when loading the vSphere client without instantiating the html-bridge.


It seems to occur more reliably if you load the vsphere client to the specific html-bridge view link and then try resizing the browser repeatedly. It seems to happen less often if you load the vSphere client on the non-html-bridge url and then navigate to the html-bridge and resize the window. Furthermore, if you load vSphere to the html-bridge view URL and navigate elsewhere to a non-html-bridge page in vsphere, resizing the window will still trigger the error.


According to what I find online, this error occurs when trying to removeChild is called with a referenced to an object that is not a child of the caller object.


Getting this in the debug console (afraid it doesn;t seem terribly helpful, will try to get some better info):


ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.



at flash.display::DisplayObjectContainer/getChildIndex()



at mx.core::Container/getChildIndex()



at mx.core::Application/getChildIndex()



at com.google.code.flexiframe::IFrame/buildContainerList()



at Function/<anonymous>()



at flash.display::DisplayObjectContainer/addChild()




at mx.core::Container/createOrDestroyScrollbars()



at mx.core::Container/createScrollbarsIfNeeded()



at mx.core::Container/createContentPaneAndScrollbarsIfNeeded()



at mx.core::Container/validateDisplayList()



at mx.managers::LayoutManager/validateDisplayList()



at mx.managers::LayoutManager/doPhasedInstantiation()



at mx.managers::LayoutManager/validateNow()



at mx.core::Application/resizeHandler()



at mx.core::Application/commitProperties()



at mx.core::UIComponent/validateProperties()



at mx.managers::LayoutManager/validateProperties()



at mx.managers::LayoutManager/doPhasedInstantiation()



at mx.managers::LayoutManager/validateNow()



at mx.core::Application/resizeHandler()



at flash.events::EventDispatcher/dispatchEventFunction()



at flash.events::EventDispatcher/dispatchEvent()



at mx.managers::SystemManager/Stage_resizeHandler()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\SystemManager.as:3227]



Viewing all articles
Browse latest Browse all 2218

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>