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-754

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-754
    Summary: Exception thrown if @ejb.home or @ejb.interfaces don't specify 
package
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: XDoclet
 Components: 
             EJB Module
   Versions:
             1.2

   Assignee: Matthias Germann
   Reporter: Martin Straus

    Created: Tue, 6 Jan 2004 12:05 AM
    Updated: Sat, 26 Mar 2005 4:42 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



-------------------------------------------------------
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_id=6595&alloc_id=14396&op=click
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to