Message: The following issue has been re-assigned.
Assignee: Matthias Germann (mailto:[EMAIL PROTECTED]) --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-911 Here is an overview of the issue: --------------------------------------------------------------------- Key: XDT-911 Summary: NullPointerException being thown when no ejb-name attribute is defined for ejb.ejb-ref tag Type: Bug Status: Open Priority: Minor Original Estimate: 1 hour Time Spent: Unknown Remaining: 1 hour Project: XDoclet Components: EJB Module Versions: 1.2.1 Assignee: Matthias Germann Reporter: Edson Tirelli Created: Sat, 22 May 2004 1:30 PM Updated: Tue, 8 Feb 2005 8:03 AM Environment: Windows XP; Pentium 4 2.8Ghz; Java 1.4 Description: When no "ejb-name" attribute is defined for an @ejb.ejb-ref tag, a null pointer exception is thrown and no meaningful error message is shown: (XDocletMain.start 47 ) Executando <deploymentdescriptor/> Gerando descritor de instalação EJB (ejb-jar.xml). (TemplateEngine.invokeMethod 573 ) Invoking method failed: xdoclet.modules.ejb.dd.EjbRefTagsHandler.forAllEjbRefs, line=23 of template file: file:/G:/java/Netbeans36/xdoclet/modules/ejb/dd/resources/ejb-ref.xdt java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ... at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:125) Caused by: java.lang.NullPointerException at xdoclet.modules.ejb.dd.EjbRefTagsHandler.findEjb(EjbRefTagsHandler.java:192) at xdoclet.modules.ejb.dd.EjbRefTagsHandler.forAllEjbRefs(EjbRefTagsHandler.java:87) ... 97 more I found the problem in the code and I'm submiting a patch. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ xdoclet-devel mailing list xdoclet-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-devel