You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Jean-Louis MONTEIRO (JIRA)" <ji...@apache.org> on 2012/09/20 15:30:10 UTC

[jira] [Closed] (OPENEJB-1882) this can't be use in localbeans constructor

     [ https://issues.apache.org/jira/browse/OPENEJB-1882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Louis MONTEIRO closed OPENEJB-1882.
----------------------------------------

    Resolution: Fixed
    
> this can't be use in localbeans constructor
> -------------------------------------------
>
>                 Key: OPENEJB-1882
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1882
>             Project: OpenEJB
>          Issue Type: Bug
>    Affects Versions: 3.1, 4.0.0
>            Reporter: Romain Manni-Bucau
>             Fix For: 4.5.0
>
>
> Doing so is fine for the bean itself, but causes issues when the @LocalBean proxy is created.  If the parent class uses methods overridden in the child class a null pointer will happen because the proxy handlers fields in the child class haven't yet been set.  After constructors are called, no issues occur.
> Constructors should not be called for the @LocalBean proxy which will avoid the issue.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira