[
https://issues.apache.org/jira/browse/GERONIMO-6302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13230883#comment-13230883
]
David Jencks commented on GERONIMO-6302:
----------------------------------------
ps. the NPE looks like this
Caused by: java.lang.NullPointerException
at org.apache.openejb.jee.EjbLocalRef.getType(EjbLocalRef.java:187)
at
org.apache.geronimo.openejb.deployment.EjbRefBuilder.addRefs(EjbRefBuilder.java:407)
at
org.apache.geronimo.openejb.deployment.EjbRefBuilder.buildNaming(EjbRefBuilder.java:132)
at
org.apache.geronimo.j2ee.deployment.NamingBuilderCollection.buildNaming(NamingBuilderCollection.java:98)
at
org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.addGBeans(JspModuleBuilderExtension.java:167)
> bad ejb-ref code in EjbRefBuilder
> ---------------------------------
>
> Key: GERONIMO-6302
> URL: https://issues.apache.org/jira/browse/GERONIMO-6302
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: OpenEJB
> Affects Versions: 3.0-beta-1
> Reporter: David Jencks
> Fix For: 3.0, 3.0-beta-2
>
>
> There's some code that wasn't updated properly when we started using jaxb to
> parse the spec dds. It copies the values from the ejbRef and ejbLocalRef
> objects onto themselves. Worse, the local ref code doesn't deal properly
> with a ref with unspecified type: this leads to an NPE from openejb.
--
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