Announcement Announcement Module
Collapse
No announcement yet.
Reflection API throws Error during beans instantiation Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Reflection API throws Error during beans instantiation

    Hi, I am using spring within an enterprise application.
    Some of our beans gives the following error during instantiation. The beans are still created yet we have a lot of errors in the console when the debugging the application.
    Here is the stack trace.

    Stack trace: TypeError: Error #2007: Parameter type must be non-null.
    at flash.events::Event()
    at flash.events::MouseEvent()
    at mx.events:ragEvent()[C:\autobuild\3.2.0\frameworks\projects\framework\s rc\mx\events\DragEvent.as:249]
    at org.as3commons.reflect::ClassUtils$/newInstance()[C:\workspace\as3commons\as3-commons-reflect\src\main\actionscript\org\as3commons\refle ct\ClassUtils.as:329]
    at org.as3commons.reflect::Type$/_getTypeDescription()[C:\workspace\as3commons\as3-commons-reflect\src\main\actionscript\org\as3commons\refle ct\Type.as:276]
    at org.as3commons.reflect::Type$/forClass()[C:\workspace\as3commons\as3-commons-reflect\src\main\actionscript\org\as3commons\refle ct\Type.as:156]
    at org.as3commons.reflect::Type$/forName()[C:\workspace\as3commons\as3-commons-reflect\src\main\actionscript\org\as3commons\refle ct\Type.as:125]
    at TypeXmlParser$/parseParameters()[C:\workspace\as3commons\as3-commons-reflect\src\main\actionscript\org\as3commons\refle ct\Type.as:351]
    at TypeXmlParser$/parseMethodsByModifier()[C:\workspace\as3commons\as3-commons-reflect\src\main\actionscript\org\as3commons\refle ct\Type.as:341]
    at TypeXmlParser$/parseMethods()[C:\workspace\as3commons\as3-commons-reflect\src\main\actionscript\org\as3commons\refle ct\Type.as:321]
    at org.as3commons.reflect::Type$/forClass()[C:\workspace\as3commons\as3-commons-reflect\src\main\actionscript\org\as3commons\refle ct\Type.as:165]
    at org.as3commons.reflect::Type$/forName()[C:\workspace\as3commons\as3-commons-reflect\src\main\actionscript\org\as3commons\refle ct\Type.as:125]
    at TypeXmlParser$/parseMethodsByModifier()[C:\workspace\as3commons\as3-commons-reflect\src\main\actionscript\org\as3commons\refle ct\Type.as:342]
    at TypeXmlParser$/parseMethods()[C:\workspace\as3commons\as3-commons-reflect\src\main\actionscript\org\as3commons\refle ct\Type.as:321]
    at org.as3commons.reflect::Type$/forClass()[C:\workspace\as3commons\as3-commons-reflect\src\main\actionscript\org\as3commons\refle ct\Type.as:165]
    at org.as3commons.reflect::Type$/forName()[C:\workspace\as3commons\as3-commons-reflect\src\main\actionscript\org\as3commons\refle ct\Type.as:125]
    at TypeXmlParser$/parseParameters()[C:\workspace\as3commons\as3-commons-reflect\src\main\actionscript\org\as3commons\refle ct\Type.as:351]
    at TypeXmlParser$/parseConstructor()[C:\workspace\as3commons\as3-commons-reflect\src\main\actionscript\org\as3commons\refle ct\Type.as:313]
    at org.as3commons.reflect::Type$/forClass()[C:\workspace\as3commons\as3-commons-reflect\src\main\actionscript\org\as3commons\refle ct\Type.as:163]
    at org.as3commons.reflect::Type$/forName()[C:\workspace\as3commons\as3-commons-reflect\src\main\actionscript\org\as3commons\refle ct\Type.as:125]
    at TypeXmlParser$/parseParameters()[C:\workspace\as3commons\as3-commons-reflect\src\main\actionscript\org\as3commons\refle ct\Type.as:351]
    at TypeXmlParser$/parseMethodsByModifier()[C:\workspace\as3commons\as3-commons-reflect\src\main\actionscript\org\as3commons\refle ct\Type.as:341]
    at TypeXmlParser$/parseMethods()[C:\workspace\as3commons\as3-commons-reflect\src\main\actionscript\org\as3commons\refle ct\Type.as:321]
    at org.as3commons.reflect::Type$/forClass()[C:\workspace\as3commons\as3-commons-reflect\src\main\actionscript\org\as3commons\refle ct\Type.as:165]
    at org.springextensions.actionscript.ioc.factory.supp ort::AbstractObjectFactory/getObject()[C:\workspace\spring-actionscript\spring-actionscript-core\src\main\actionscript\org\springextensions\ac tionscript\ioc\factory\support\AbstractObjectFacto ry.as:198]

  • #2
    not a bug, but a feature

    these are errors that as3common-reflect throws, its necessary to circumvent some bugs in Flash.
    You can filter out these messages, check this post for more info:

    http://forum.springsource.org/showpo...25&postcount=2

    cheers,

    Roland

    Comment

    Working...
    X