Announcement Announcement Module
Collapse
No announcement yet.
Upgraded from 0.7 -> 0.8, now get lots of trace exceptions from commons.reflect Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Upgraded from 0.7 -> 0.8, now get lots of trace exceptions from commons.reflect

    Hi,
    I just upgraded from 0.7 to 0.8 and I get all sorts of trace exceptions on startup. My app still boots up OK and functions properly however, it seems like there should be an option to suppress these errors or something. This must have been some change is AS3Reflect? (or commons.reflect now)

    I looks like ClassUtils dumps exception traces when it "pre-instantiates" a class whos constructor actually depends on a parameter NOT being null. When running in Flex Builder under debug mode I see all of this output.

    org.as3commons.reflect.Type - Error while instantiating class [class MyClassName] with null arguments in order to retrieve constructor argument types: TypeError, 1009
    Message: Error #1009: Cannot access a property or method of a null object reference.
    Stack trace: TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at my.package.file.store::LocalFileStore()[my/package/flexcore/file/store/LocalFileStore.as:117]
    at org.as3commons.reflect::ClassUtils$/newInstance()[C:\workspace\as3commons\as3-commons-reflect\src\main\actionscript\org\as3commons\refle ct\ClassUtils.as:323]
    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.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]
    at my.package.spring::SpringAppContext/getObject()[/Users//src/com//context/spring/SpringAppContext.as:197]
    at org.springextensions.actionscript.ioc.factory.supp ort:efaultListableObjectFactory/preInstantiateSingletons()[C:\workspace\spring-actionscript\spring-actionscript-core\src\main\actionscript\org\springextensions\ac tionscript\ioc\factory\support\DefaultListableObje ctFactory.as:147]
    at org.springextensions.actionscript.context.support: :XMLApplicationContext/afterParse()[C:\workspace\spring-actionscript\spring-actionscript-core\src\main\actionscript\org\springextensions\ac tionscript\context\support\XMLApplicationContext.a s:172]
    at org.springextensions.actionscript.ioc.factory.xml: :XMLObjectFactory/_doParse()[C:\workspace\spring-actionscript\spring-actionscript-core\src\main\actionscript\org\springextensions\ac tionscript\ioc\factory\xml\XMLObjectFactory.as:365]
    at org.springextensions.actionscript.ioc.factory.xml: :XMLObjectFactory/_loadNextProperties()[C:\workspace\spring-actionscript\spring-actionscript-core\src\main\actionscript\org\springextensions\ac tionscript\ioc\factory\xml\XMLObjectFactory.as:336]
    at org.springextensions.actionscript.ioc.factory.xml: :XMLObjectFactory/_loadNextConfigLocation()[C:\workspace\spring-actionscript\spring-actionscript-core\src\main\actionscript\org\springextensions\ac tionscript\ioc\factory\xml\XMLObjectFactory.as:313]
    at org.springextensions.actionscript.ioc.factory.xml: :XMLObjectFactory/load()[C:\workspace\spring-actionscript\spring-actionscript-core\src\main\actionscript\org\springextensions\ac tionscript\ioc

  • #2
    Rtfm

    Hi,

    there's already been quite a few posts on this subject

    check here:

    http://forum.springsource.org/showthread.php?t=76914

    cheers,

    Roland

    Comment

    Working...
    X