[jboss-jira] [JBoss JIRA] Closed: (JBAOP-307) Instantiating a proxy for a class that has no default constructors throws NPE

Kabir Khan (JIRA) jira-events at jboss.com
Mon Nov 13 19:44:41 EST 2006


     [ http://jira.jboss.com/jira/browse/JBAOP-307?page=all ]

Kabir Khan closed JBAOP-307.
----------------------------

    Resolution: Done

> Instantiating a proxy for a class that has no default constructors throws NPE
> -----------------------------------------------------------------------------
>
>                 Key: JBAOP-307
>                 URL: http://jira.jboss.com/jira/browse/JBAOP-307
>             Project: JBoss AOP
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>            Reporter: Kabir Khan
>         Assigned To: Kabir Khan
>             Fix For: 2.0.0.alpha2
>
>
> This happens if instantiated via ctor injection in the mc, and the proxied class tries to use the null parameters passed in by the aop proxy.
> Solution:
> Make the AOPConstructorJoinPoint and the GeneratedAOPProxyFactory use the ctor passed in by the MC. Add all ctors from proxied class to proxy.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list