Announcement Announcement Module
Collapse
No announcement yet.
Error #1063: Argument count mismatch Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Error #1063: Argument count mismatch

    hi,

    i've a problem using springactionscript in my application.

    dependencies:
    - spring-actionscript-core 1.0RC1
    - as3commons-logging 1.1
    - as3commons-lang 0.2
    - as3commons-reflect 1.1

    Code:
    ArgumentError: Error #1063: Argument count mismatch on org.as3commons.reflect::Type$/forName(). Expected 1, got 2.
    	at org.springextensions.actionscript.ioc.autowire::DefaultAutowireProcessor/preprocessObjectDefinition()[/Users/martino/Documents/workspace-idea/springactionscript/spring-actionscript-core/src/main/actionscript/org/springextensions/actionscript/ioc/autowire/DefaultAutowireProcessor.as:209]
    	at org.springextensions.actionscript.ioc.factory.support::AbstractObjectFactory/buildObject()[/Users/martino/Documents/workspace-idea/springactionscript/spring-actionscript-core/src/main/actionscript/org/springextensions/actionscript/ioc/factory/support/AbstractObjectFactory.as:392]
    	at org.springextensions.actionscript.ioc.factory.support::AbstractObjectFactory/getObject()[/Users/martino/Documents/workspace-idea/springactionscript/spring-actionscript-core/src/main/actionscript/org/springextensions/actionscript/ioc/factory/support/AbstractObjectFactory.as:302]
    	at org.springextensions.actionscript.ioc.factory.support::DefaultListableObjectFactory/preInstantiateSingletons()[/Users/martino/Documents/workspace-idea/springactionscript/spring-actionscript-core/src/main/actionscript/org/springextensions/actionscript/ioc/factory/support/DefaultListableObjectFactory.as:174]
    	at org.springextensions.actionscript.context.support::AbstractApplicationContext/resourceLoadQueue_completeHandler()[/Users/martino/Documents/workspace-idea/springactionscript/spring-actionscript-core/src/main/actionscript/org/springextensions/actionscript/context/support/AbstractApplicationContext.as:353]
    	at org.springextensions.actionscript.context.support::AbstractApplicationContext/loadComplete()[/Users/martino/Documents/workspace-idea/springactionscript/spring-actionscript-core/src/main/actionscript/org/springextensions/actionscript/context/support/AbstractApplicationContext.as:272]
    	at org.springextensions.actionscript.context.support::XMLApplicationContext/parse()[/Users/martino/Documents/workspace-idea/springactionscript/spring-actionscript-core/src/main/actionscript/org/springextensions/actionscript/context/support/XMLApplicationContext.as:331]
    	at org.springextensions.actionscript.context.support::XMLApplicationContext/loadNextConfigLocation()[/Users/martino/Documents/workspace-idea/springactionscript/spring-actionscript-core/src/main/actionscript/org/springextensions/actionscript/context/support/XMLApplicationContext.as:369]
    	at org.springextensions.actionscript.context.support::XMLApplicationContext/loader_completeHandler()[/Users/martino/Documents/workspace-idea/springactionscript/spring-actionscript-core/src/main/actionscript/org/springextensions/actionscript/context/support/XMLApplicationContext.as:305]
    	at flash.events::EventDispatcher/dispatchEventFunction()
    	at flash.events::EventDispatcher/dispatchEvent()
    	at flash.net::URLLoader/onComplete()

    any ideas to fix this error?

    thanks in advance,
    br mindy

  • #2
    1.2 snapshot

    Spring Actionscript depends on the 1.2 snapshot of as3commons-reflect, download the latest snapshot here:

    http://www.as3commons.org/as3-common...ect/index.html

    That should take care of the compiler error, please let us know of any other problems.

    cheers,

    Roland

    Comment


    • #3
      thanks - that solved my problem

      Comment

      Working...
      X