关于FLex Unit 的 Runtime Exception

关于FLex Unit 的 Runtime Exception
2010年10月21日
  Problem : Some of us encounter the Flex unit runtime issue when running the flex unit in the flash builder a few days ago, and it blocked our running the unit test without the ant script. Error: Skin for FlexUnitApplication cannot be found. at spark.components.supportClasses::SkinnableComponen t/attachSkin()[E:\dev\4.0.0\frameworks\projects\spa rk\src\spark\components\supportClasses\SkinnableCom ponent.as:631] at spark.components.supportClasses::SkinnableComponen t/validateSkinChange()[E:\dev\4.0.0\frameworks\proj ects\spark\src\spark\components\supportClasses\Skin nableComponent.as:404] at spark.components.supportClasses::SkinnableComponen t/createChildren()[E:\dev\4.0.0\frameworks\projects \spark\src\spark\components\supportClasses\Skinnabl eComponent.as:367] at spark.components::SkinnableContainer/createChildre n()[E:\dev\4.0.0\frameworks\projects\spark\src\spar k\components\SkinnableContainer.as:821] at mx.core::UIComponent/initialize()[E:\dev\4.0.0\fra meworks\projects\framework\src\mx\core\UIComponent. as:7250] at spark.components::Application/initialize()[E:\dev\ 4.0.0\frameworks\projects\spark\src\spark\component s\Application.as:916] at FlexUnitApplication/initialize() at mx.managers.systemClasses::ChildManager/childAdded ()[E:\dev\4.0.0\frameworks\projects\framework\src\m x\managers\systemClasses\ChildManager.as:189] at mx.managers.systemClasses::ChildManager/initialize TopLevelWindow()[E:\dev\4.0.0\frameworks\projects\f ramework\src\mx\managers\systemClasses\ChildManager .as:341] at mx.managers::SystemManager/initializeTopLevelWindo w()[E:\dev\4.0.0\frameworks\projects\framework\src\ mx\managers\SystemManager.as:2810] at mx.managers::SystemManager/http://www.adobe.com/20 06/flex/mx/internal::kickOff()[E:\dev\4.0.0\framewo rks\projects\framework\src\mx\managers\SystemManage r.as:2637] at mx.managers::SystemManager/http://www.adobe.com/20 06/flex/mx/internal::preloader_completeHandler()[E: \dev\4.0.0\frameworks\projects\framework\src\mx\man agers\SystemManager.as:2539] at flash.events::EventDispatcher/dispatchEventFunctio n() at flash.events::EventDispatcher/dispatchEvent() at mx.preloaders::Preloader/timerHandler()[E:\dev\4.0 .0\frameworks\projects\framework\src\mx\preloaders\ Preloader.as:515] at flash.utils::Timer/_timerDispatch() at flash.utils::Timer/tick() Summary : It is a issue of the Flex Unit framework, not relative to our test cases. I guess it was caused by the Flash Player version upgrade. Solution : If you encounter this exception again, you can modify the file FlexUnitApplication.mxml manually as following (which should be created by flex unit and not need to modify before)
  flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" xmlns:flexui="flexunit.flexui.*" creationComplete="onCreationComplete()" skinClass="spark.skins.spark.ApplicationSkin" >
  Please contact me for discussion if you have any query.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值