The correct @tag attribute name is "ejb-name", and not "name" as you have.
Try that.

(Can you send ASCII mail, please?)

Aslak

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:xdoclet-user-admin@;lists.sourceforge.net]On Behalf Of Eric McIntyre
Sent: 26. oktober 2002 01:28
To: XDoclet User mailing List (E-mail)
Subject: [Xdoclet-user] 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



-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to