[jboss-jira] [JBoss JIRA] Resolved: (EJBTHREE-2038) NPE while looking up java:comp/EJBContext in @PostConstruct method
jaikiran pai (JIRA)
jira-events at lists.jboss.org
Mon Apr 5 01:37:38 EDT 2010
[ https://jira.jboss.org/jira/browse/EJBTHREE-2038?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
jaikiran pai resolved EJBTHREE-2038.
------------------------------------
Fix Version/s: (was: as-int 1.1.23)
Resolution: Done
Component Fix Version(s): jboss-ejb3-core:1.3.0
> NPE while looking up java:comp/EJBContext in @PostConstruct method
> ------------------------------------------------------------------
>
> Key: EJBTHREE-2038
> URL: https://jira.jboss.org/jira/browse/EJBTHREE-2038
> Project: EJB 3.0
> Issue Type: Bug
> Components: core
> Affects Versions: 1.1.22, Plugin 1.0.19, EJB3_1 1.0.5
> Reporter: jaikiran pai
> Assignee: jaikiran pai
> Priority: Critical
> Fix For: EJB3_1 1.0.6
>
>
> When java:comp/EJBContext is looked up in a method marked @PostConstruct of a bean, a NullPointerException is thrown from EJBContextFactory:
> Caused by: java.lang.NullPointerException
> at org.jboss.ejb3.EJBContextFactory.getObjectInstance(EJBContextFactory.java:57)
> at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> at org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1483)
> at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1500)
> ... 70 more
> Please see the referenced forum thread for complete details. I was able to reproduce this issue with a SFSB too, so it's not specific to MDBs.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list