Announcement Announcement Module
Collapse
No announcement yet.
SAS 1.2-SNAPSHOT accidentally encounter Error: No object named 'SpringActionScriptMVC Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • SAS 1.2-SNAPSHOT accidentally encounter Error: No object named 'SpringActionScriptMVC

    when I start my app swf ,SAS 1.2-SNAPSHOT work nomal mostly but sometime encounter Error accidentally,about 10% chance

    Code:
    Error: No object named 'SpringActionScriptMVCController' is defined.
    	at org.springextensions.actionscript.ioc.autowire::DefaultAutowireProcessor/_getObjectDefinition()
    	at org.springextensions.actionscript.ioc.autowire::DefaultAutowireProcessor/determinePrimaryCandidate()
    	at org.springextensions.actionscript.ioc.autowire::DefaultAutowireProcessor/findAutowireCandidateName()
    	at org.springextensions.actionscript.ioc.autowire::DefaultAutowireProcessor/autoWireFieldByType()
    	at org.springextensions.actionscript.ioc.autowire::DefaultFlexAutowireProcessor/autoWireField()
    	at org.springextensions.actionscript.ioc.autowire::DefaultAutowireProcessor/autoWire()
    	at org.springextensions.actionscript.ioc.factory.support::AbstractObjectFactory/wire()
    	at org.springextensions.actionscript.stage::DefaultAutowiringStageProcessor/process()
    	at org.springextensions.actionscript.stage::FlexStageProcessorRegistry/processDisplayObjectWithStageProcessorRegistration()
    	at org.springextensions.actionscript.stage::FlashStageProcessorRegistry/processDisplayObject()
    	at org.springextensions.actionscript.stage::FlashStageProcessorRegistry/processDisplayObjectRecursively()
    	at org.springextensions.actionscript.stage::FlashStageProcessorRegistry/processDisplayObjectRecursively()
    	at org.springextensions.actionscript.stage::FlashStageProcessorRegistry/processDisplayObjectRecursively()
    	at org.springextensions.actionscript.stage::FlashStageProcessorRegistry/processDisplayObjectRecursively()
    	at org.springextensions.actionscript.stage::FlashStageProcessorRegistry/processDisplayObjectRecursively()
    	at org.springextensions.actionscript.stage::FlashStageProcessorRegistry/processDisplayObjectRecursively()
    	at org.springextensions.actionscript.stage::FlashStageProcessorRegistry/added_handler()
    	at flash.display::DisplayObjectContainer/addChildAt()
    	at mx.managers::SystemManager/preloader_preloaderDoneHandler()
    	at flash.events::EventDispatcher/dispatchEventFunction()
    	at flash.events::EventDispatcher/dispatchEvent()
    	at mx.preloaders::Preloader/displayClassCompleteHandler()
    	at flash.events::EventDispatcher/dispatchEventFunction()
    	at flash.events::EventDispatcher/dispatchEvent()
    	at mx.preloaders::SparkDownloadProgressBar/initCompleteHandler()
    	at flash.events::EventDispatcher/dispatchEventFunction()
    	at flash.events::EventDispatcher/dispatchEvent()
    	at mx.preloaders::Preloader/dispatchAppEndEvent()
    	at mx.preloaders::Preloader/appCreationCompleteHandler()
    	at flash.events::EventDispatcher/dispatchEventFunction()
    	at flash.events::EventDispatcher/dispatchEvent()
    	at mx.core::UIComponent/dispatchEvent()
    	at mx.core::UIComponent/set initialized()
    	at mx.managers::LayoutManager/doPhasedInstantiation()
    	at mx.managers::LayoutManager/doPhasedInstantiationCallback()
    application-context.xml
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <objects xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.springactionscript.org/schema/objects" xmlns:messaging="http://www.springactionscript.org/schema/messaging"
    	xmlns:rpc="http://www.springactionscript.org/schema/rpc" xmlns:si="http://www.springactionscript.org/schema/stageinterception" xmlns:sp="http://www.springactionscript.org/schema/stageprocessing"
    	xmlns:task="http://www.springactionscript.org/schema/task" xmlns:util="http://www.springactionscript.org/schema/util"
    	xmlns:context="http://www.springactionscript.org/schema/context"
    	xsi:schemaLocation="http://www.springactionscript.org/schema/objects http://www.springactionscript.org/schema/objects/spring-actionscript-objects-1.0.xsd
    						http://www.springactionscript.org/schema/messaging http://www.springactionscript.org/schema/messaging/spring-actionscript-messaging-1.0.xsd
                            http://www.springactionscript.org/schema/rpc http://www.springactionscript.org/schema/rpc/spring-actionscript-rpc-1.0.xsd						
    						http://www.springactionscript.org/schema/stageinterception http://www.springactionscript.org/schema/stageinterception/spring-actionscript-stageinterception-1.0.xsd						
    						http://www.springactionscript.org/schema/stageprocessing http://www.springactionscript.org/schema/stageprocessing/spring-actionscript-stageprocessing-1.0.xsd
    						http://www.springactionscript.org/schema/task http://www.springactionscript.org/schema/task/spring-actionscript-task-1.0.xsd
    						http://www.springactionscript.org/schema/util http://www.springactionscript.org/schema/util/spring-actionscript-util-1.0.xsd						
    						http://www.springactionscript.org/schema/context http://www.springactionscript.org/schema/context/spring-actionscript-context-2.0.xsd ">
    
    		
    	<!-- ContextNamespaceHandler  -->
    
    	<!-- MetadataConfigObjectDefinitionParser:							-->
    	<!-- 	RequiredMetadataProcessor:[Required] 						-->
    	<!-- 	InitDestroyMetadataProcessor:[PostConstruct] [PreDestroy] 	-->
    	<!-- 	EventHandlerMetadataProcessor:[EventHandler] 				-->
    	<!-- 	RouteEventsMetaDataProcessor:[RouteEvents] 					-->
    	<!-- 	DefaultAutowiringStageProcessor:[Autowired][Inject]			-->
    	<context:metadata-config/>
    	<!--ClassScannerObjectFactoryPostProcessor->ComponentScanObjectDefinitionParser:					-->
    	<!-- 	ComponentClassScanner:[Component][Constructor][Invoke][Property] 							-->
      	<context:component-scan base-package="com.yotexs"/>
      	
    	<!-- MVCControllerObjectFactoryPostProcessor:[Command] -->
    	<!-- MVCRouteEventsMetaDataProcessor:[RouteMVCEvents] -->
    	<object id="mvcFactory" class="org.springextensions.actionscript.core.mvc.MVCControllerObjectFactoryPostProcessor" />
    	<!--<object id="autowiringStageProcessor" class="org.springextensions.actionscript.stage.DefaultAutowiringStageProcessor"/>-->
    	
    	
    </objects>
    all my SAS and as3commons newest source code is checked out from the offical svn
    I change pom.xml , Use flexmojo 4.0-SNAPSHOT and Flex 4.5.0.19786
    to compile and test,all successfully , upgrade like:http://forum.springframework.org/sho...d.php?t=104846

    The error is encountered only sometime, not everytime,so strange
    Last edited by bencmai; May 8th, 2011, 03:30 PM.
Working...
X