Title: NullPointerException in deploymentDescriptor task

This seems to be related to the @ejb:ejb-ref tag, XDoclet 1.1.2. Everything works until I add the following lines to my SessionBean comment:

 * @ejb:ejb-ref
 *   name="UniLeftOneToOne"
 *   view-type="local"
 *   ref-name="ejb/UniLeftOneToOne"
 * @ejb:ejb-ref
 *   name="UniRightOneToOne"
 *   view-type="local"
 *   ref-name="ejb/UniRightOneToOne"

Then XDoclet crashes. Both refs are to local EntityBeans that are being processed at the same time. The root error is
"Caused by: java.lang.NullPointerException
at xdoclet.ejb.tags.EjbRefTagsHandler.findEjb(EjbRefTagsHandler.java:103)
at xdoclet.ejb.tags.EjbRefTagsHandler.forAllEjbRefs(EjbRefTagsHandler.java:67)
... 69 more"

I hesitate to include more code because I don't know what's relevant. Can someone get me started on the right track?

Eric McIntyre

Reply via email to