[ 
https://issues.apache.org/jira/browse/OWB-574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13038937#comment-13038937
 ] 

Joe Bergmark commented on OWB-574:
----------------------------------

Given the current code in EJBUtility's fireEvents that leads to the NPE, does 
anyone have a concern over taking this out of EJBUtility, and letting the 
OpenWebBeansEJBPlugin's defineSessionBean implementation take care of this work 
of creating a new version of the Bean with the @New qualifier, Dependent Scope, 
etc?  It seems to be its going to be dependent on the EJB implementation.

> NewBean doesn't support EJBs
> ----------------------------
>
>                 Key: OWB-574
>                 URL: https://issues.apache.org/jira/browse/OWB-574
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1.0
>            Reporter: Joe Bergmark
>            Assignee: Joe Bergmark
>
> I need to do some more investigation, but I believe OWB has a problem with 
> @New is used with an EJB.  It attempts to use a NewBean, which extends 
> ManagedBean, but never sets a constructor (which it shouldn't, given its an 
> EJB).  I believe the lack of constructor leads to an NPE when 
> super.createInstance is called.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to