You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Mark Struberg (Resolved) (JIRA)" <ji...@apache.org> on 2012/04/04 22:03:23 UTC
[jira] [Resolved] (OWB-574) NewBean doesn't support EJBs
[ https://issues.apache.org/jira/browse/OWB-574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Struberg resolved OWB-574.
-------------------------------
Resolution: Fixed
Fix Version/s: (was: 1.2.0)
1.1.4
OWB now provides the necessary parts. There is now an EjbNewBean in OpenEJB which handles this for us.
> 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
> Fix For: 1.1.4
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira