Announcement Announcement Module
Collapse
No announcement yet.
SAS1.2 sometimes Error: No object named 'SpringActionScriptMVCController' is defined Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • SAS1.2 sometimes Error: No object named 'SpringActionScriptMVCController' is defined

    Why SpringActionsScript 1.2-SNAPSHOT sometime throws below Error,And most time normal. any body can fix it. is MVCControllerObjectFactoryPostProcessor work wrong?


    all my SAS 1.2-SNAPSHOT and as3commons source checked from svn the newest,use flex SDK 4.5.0.20967\flexmojos 4.0-beta-7 compiled

    my application-context.xml

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <objects>	
    	<property file="global.cfg" prevent-cache="false" required="true"/>
    	<object id="mvcFactory" class="org.springextensions.actionscript.core.mvc.MVCControllerObjectFactoryPostProcessor" />
    	<context:metadata-config/>
      	<context:component-scan base-package="com.yotexs"/>
    
    	 <object id="socketHost" class="String"><constructor-arg value="${socketHost}"/></object>	
    	 <object id="socketPort" class="String"><constructor-arg value="${socketPort}"/></object>
    	 
    	<object id="channelSet" class="mx.messaging.ChannelSet">
    		<property name="heartbeatInterval" value="110000" />
    		<method-invocation name="addChannel">
    			<arg>
    				<object id="my_amf" class="mx.messaging.channels.AMFChannel">
    					<constructor-arg value="my-amf" />
    					<constructor-arg value="http://${server.name}:${server.port}${context.root}/messagebroker/amf" />
    					<property name="id" value="my-amf" />
    					<property name="pollingEnabled" value="false" />
    				</object>
    			</arg>
    		</method-invocation>
    	</object>	
    </objects>
    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.ioc.factory.support::AbstractObjectFactory/buildObject()
    	at org.springextensions.actionscript.ioc.factory.support::AbstractObjectFactory/getObject()
    	at org.springextensions.actionscript.ioc.factory.support::DefaultListableObjectFactory/preInstantiateSingletonsWithObjectDefinition()
    	at org.springextensions.actionscript.ioc.factory.support::DefaultListableObjectFactory/preInstantiateSingletons()
    	at org.springextensions.actionscript.context.support::AbstractApplicationContext/resourceLoadQueue_completeHandler()
    	at flash.events::EventDispatcher/dispatchEventFunction()
    	at flash.events::EventDispatcher/dispatchEvent()
    	at org.springextensions.actionscript.core.operation::AbstractOperation/dispatchCompleteEvent()
    	at org.springextensions.actionscript.core.operation::OperationQueue/operation_completeHandler()
    	at flash.events::EventDispatcher/dispatchEventFunction()
    	at flash.events::EventDispatcher/dispatchEvent()
    	at org.springextensions.actionscript.core.operation::AbstractOperation/dispatchCompleteEvent()
    	at org.springextensions.actionscript.core.operation::OperationQueue/operation_completeHandler()
    	at flash.events::EventDispatcher/dispatchEventFunction()
    	at flash.events::EventDispatcher/dispatchEvent()
    	at org.springextensions.actionscript.core.operation::AbstractOperation/dispatchCompleteEvent()
    	at org.springextensions.actionscript.core.io.support::LoadPropertiesOperation/properties_completeHandler()
    	at flash.events::EventDispatcher/dispatchEventFunction()
    	at flash.events::EventDispatcher/dispatchEvent()
    	at org.springextensions.actionscript.collections::Properties/LoaderComplete_handler()
    	at flash.events::EventDispatcher/dispatchEventFunction()
    	at flash.events::EventDispatcher/dispatchEvent()
    	at flash.net::URLLoader/onComplete()
Working...
X