Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=XDT-754 Here is an overview of the issue: --------------------------------------------------------------------- Key: XDT-754 Summary: Bug in templates? Type: Bug Status: Open Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: XDoclet Components: EJB Module Versions: 1.2 Assignee: xdoclet-devel (Use for new issues) Reporter: Martin Straus Created: Tue, 6 Jan 2004 12:05 AM Updated: Tue, 6 Jan 2004 12:05 AM Description: I recently found that if a package name is not specified for remote home and remote classes in @ejb.home and @ejb.interfaces tags, you get the following exception: [ejbdoclet] ERROR [main] (TemplateEngine.java:541) - Invoking method failed: xdoclet.tagshandler.PackageTagsHandler.pack ageOf, line=4 of template file: jar:file:C:\java\xdoclet-1.2\lib\xdoclet-ejb-module-1.2.jar!/xdoclet/modules/ejb/home/re sources/home.xdt [ejbdoclet] java.lang.reflect.InvocationTargetException [ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [ejbdoclet] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [ejbdoclet] at java.lang.reflect.Method.invoke(Method.java:324) [ejbdoclet] at xdoclet.template.TemplateEngine.invoke(TemplateEngine.java:635) [ejbdoclet] at xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java:534) ...and it goes on, of course. The flawed tags look like this: /** * @ejb.bean * view-type="remote" * type="Stateless" * @ejb.home * remote-class="SesionHome" * @ejb.interface * remote-class="Sesion" * @ejb.security-identity * use-caller-identity="true" */ Has this been reported before? I guess this should not be to hard to patch... it smells like a template bug... in fact, I detected it by examining the templates. greetings! Martin Straus --------------------------------------------------------------------- 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 ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
