Имаме доста голямо Flex приложение и нашият QA получаваше произволни, но възпроизводими грешки, които разработчиците на Flex не можаха да възпроизведат. Някои от тези грешки бяха изхвърлени от версията за отстраняване на грешки на флаш плейъра, като например:
ReferenceError: Specified ApplicationDomain does not contain the class ::LineSeriesLegendMarker
at org.spicefactory.lib.reflect::ClassInfo$/getClassDefinitionByName()
at org.spicefactory.lib.reflect::ClassInfo$/getClassInfo()
at org.spicefactory.lib.reflect::ClassInfo$/forInstance()
at org.spicefactory.parsley.core.view.impl::DefaultViewConfigurator/getDefinitionByType()
at org.spicefactory.parsley.core.view.impl::DefaultViewConfigurator/getDefinition()
at org.spicefactory.parsley.core.view.handler::ViewAutowireHandler/processAutowireEvent()
at org.spicefactory.parsley.core.view.util::ContextAwareEventHandler/handleEvent()
at org.spicefactory.parsley.core.view.handler::ViewAutowireHandler/handleAutowireEvent()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at org.spicefactory.parsley.core.view.handler::ViewAutowireHandler/prefilterView()
at flash.display::DisplayObjectContainer/addChildAt()
at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::$addChildAt()
at mx.core::Container/addChildAt()
at mx.core::Container/addChild()
at mx.charts::Legend/addLegendItem()
at mx.charts::Legend/populateFromArray()
at mx.charts::Legend/commitProperties()
at mx.core::UIComponent/validateProperties()
at mx.managers::LayoutManager/validateProperties()
at mx.managers::LayoutManager/doPhasedInstantiation()
at mx.managers::LayoutManager/doPhasedInstantiationCallback()
Други грешки включват комбинирани полета, които не са попълнени правилно и това, което изглежда е само общи проблеми с времето.
Бих искал да подчертая, че стеснихме това до нашия основен SWF без други променливи освен параметъра mxmlc -debug=true срещу -debug=false. Някой друг срещал ли е това или знае ли защо компилациите биха довели до различно поведение?
SWFLoader
? - person Ranhiru Jude Cooray   schedule 23.06.2011