Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1180 Here is an overview of the issue: --------------------------------------------------------------------- Key: XDT-1180 Summary: [PATCH] EjbRefTagsHandler should be more verbose Type: Improvement Status: Open Priority: Minor Original Estimate: 10 minutes Time Spent: Unknown Remaining: 10 minutes Project: XDoclet Components: EJB Module Versions: 1.2.2 Assignee: xdoclet-devel (Use for new issues) Reporter: Felipe Leme Created: Mon, 6 Dec 2004 11:23 AM Updated: Mon, 6 Dec 2004 11:23 AM Description: If you are using EJB inheritance and accidentally adds an ejb-ref with the same name on both the super and sub-classes, EJBDoclet will crash will a NPE, without giving you clues about which class was wrong. Example: [ejbdoclet] INFO: Running <deploymentdescriptor/> [ejbdoclet] Generating EJB deployment descriptor (ejb-jar.xml). [ejbdoclet] Dec 6, 2004 12:58:29 PM xdoclet.template.TemplateEngine invokeMethod [ejbdoclet] SEVERE: Invoking method failed: xdoclet.modules.ejb.dd.EjbRefTagsHandler.forAllEjbRefs, line=23 of template file: file:/S:/cbill50e/billing/modulos/sup/componentes/company/telecom/implementacao/xdoclet/modules/ejb/dd/resources/ejb-ref.xdt .... ..... [ejbdoclet] Caused by: java.lang.NullPointerException [ejbdoclet] at xdoclet.modules.ejb.dd.EjbRefTagsHandler.forAllEjbRefs(EjbRefTagsHandler.java:102) So, I will provide a patch that add a couple of logging calls. Something like this: --------------------------------------------------------------------- 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://productguide.itmanagersjournal.com/ _______________________________________________ xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel