[
https://issues.apache.org/jira/browse/OWB-574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13038975#comment-13038975
]
Mark Struberg commented on OWB-574:
-----------------------------------
This sounds like a good idea. The spec only says: for each Bean another
New-Bean must exist. But EJBs are not being handled as Beans anyway.
> 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