Hi, I'm using the current cvs with my project and I have the following 
error:

[webdoclet] Generating web.xml.
[webdoclet] (TemplateEngine.invokeMethod         490 ) Invoking method 
failed: xdoclet.modules.ejb.home.HomeTagsHandler.homeInterface, line=5 
of template file: 
file:/home2/kiuma/Appuntamenti/webappointments/xdoclet/modules/ejb/dd/resources/ejb-ref.xdt
[webdoclet] java.lang.reflect.InvocationTargetException
[webdoclet]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
[webdoclet]     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[webdoclet]     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[webdoclet]     at java.lang.reflect.Method.invoke(Method.java:324)
.............
[webdoclet]     at org.apache.tools.ant.Main.main(Main.java:235)
[webdoclet] Caused by: java.lang.NullPointerException
[webdoclet]     at 
xdoclet.DocletContext.getSubTaskBy(DocletContext.java:226)
[webdoclet]     at 
xdoclet.modules.ejb.home.HomeTagsHandler.getHomeClassPattern(HomeTagsHandler.java:386)
[webdoclet]     at 
xdoclet.modules.ejb.home.HomeTagsHandler.getHomeInterface(HomeTagsHandler.java:94)
[webdoclet]     at 
xdoclet.modules.ejb.home.HomeTagsHandler.homeInterface(HomeTagsHandler.java:418)
[webdoclet]     ... 63 more
[webdoclet] (XDocletMain.start                   51  ) Running XDoclet 
failed.
[webdoclet] (XDocletMain.start                   52  ) <<Running XDoclet 
failed.>>


my generated web xml is truncated like this in attach !

Please help!!!
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd";>

<web-app >
 <display-name>Web Appointments</display-name>
<description>Appuntamenti via web</description>

    <!--
      To use non XDoclet filters, create a filters.xml file that
    contains the additional filters (eg Sitemesh) and place it in your
    projects merge dir.  Don't include filter-mappings in this file,
    include them in a file called filter-mappings.xml and put that in
    the same directory.
    -->

 <servlet>
	<servlet-name>struts</servlet-name>
	<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
	<init-param>
		<param-name>config</param-name>
		<param-value>/WEB-INF/struts-config.xml</param-value>
	</init-param>
	<init-param>
		<param-name>debug</param-name>
		<param-value>3</param-value>
	</init-param>
	<init-param>
		<param-name>detail</param-name>
		<param-value>3</param-value>
	</init-param>
	<init-param>
		<param-name>validating</param-name>
		<param-value>true</param-value>
	</init-param>
<!--	
	<init-param>
		<param-name>application</param-name>
		<param-value>com.wingstech.webappointments.MessageResources</param-value>
	</init-param>
-->	
	<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
	<servlet-name>login</servlet-name>
	<servlet-class>com.wingstech.webappointments.LoginServlet</servlet-class>
	<init-param>
		<param-name>root</param-name>
		<param-value>java:comp/env/ejb/webappointments/</param-value>
	</init-param>
	<load-on-startup>1</load-on-startup>
</servlet>

  <servlet-mapping>
	<servlet-name>struts</servlet-name>
	<url-pattern>*.do</url-pattern>
</servlet-mapping>
<servlet-mapping>
	<servlet-name>login</servlet-name>
	<url-pattern>action.login</url-pattern>
</servlet-mapping>

   <!--
   To specify mime mappings, create a file named mime-mappings.xml, put it in your project's mergedir.
   Organize mime-mappings.xml following this DTD slice:

   <!ELEMENT mime-mapping (extension, mime-type)>
   -->

   <!--
   To specify error pages, create a file named error-pages.xml, put it in your project's mergedir.
   Organize error-pages.xml following this DTD slice:

   <!ELEMENT error-page ((error-code | exception-type), location)>
   -->

  <taglib>
    <taglib-uri>/WEB-INF/c.tld</taglib-uri>
    <taglib-location>/WEB-INF/c.tld</taglib-location>
</taglib>
<taglib>
    <taglib-uri>/WEB-INF/x.tld</taglib-uri>
    <taglib-location>/WEB-INF/x.tld</taglib-location>
</taglib>
<taglib>
    <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
</taglib>
<taglib>
    <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>    
</taglib>
<taglib>
    <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>    
</taglib>

  <security-constraint>
	<web-resource-collection>
		<web-resource-name>Secure Web Appointments</web-resource-name>
		<description>Secure areas of the application</description>
		<url-pattern>/secure/*</url-pattern>                
                <url-pattern>*.do</url-pattern>                
		<http-method>GET</http-method>
		<http-method>POST</http-method>
	</web-resource-collection>                
	<auth-constraint>
		<role-name>Admin</role-name>
	</auth-constraint>
	<user-data-constraint>
		<description>Web Application</description>
		<transport-guarantee>NONE</transport-guarantee>
	</user-data-constraint>
</security-constraint>
<login-config>
   <!-- 
        <auth-method>CLIENT-CERT</auth-method>	
   -->
   	<auth-method>FORM</auth-method>	
        <!-- <realm-name>appointmentsApp</realm-name> -->
   	<realm-name>Web Appointments Realm</realm-name>
        <form-login-config>
		<form-login-page>/login-jetty.jsp</form-login-page>
		<form-error-page>/error.html</form-error-page>
	</form-login-config>
   <!--       
	<auth-method>BASIC</auth-method>
	<realm-name>appointmentsApp</realm-name>
   -->
</login-config>

 <security-role>   
    <role-name>Admin</role-name>
</security-role>

   <ejb-ref >
      <ejb-ref-name>ejb/webappointments/UserSession</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      <home>com.wingstech.webappointments.interfaces.UserSessionHome</home>
      <remote>com.wingstech.webappointments.interfaces.UserSession</remote>
   </ejb-ref>
   <ejb-ref >
      <ejb-ref-name>ejb/webappointments/CustomerSession</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      <home>com.wingstech.webappointments.interfaces.CustomerSessionHome</home>
      <remote>com.wingstech.webappointments.interfaces.CustomerSession</remote>
   </ejb-ref>
   <ejb-ref >
      <ejb-ref-name>ejb/webappointments/UserSession</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      <home>com.wingstech.webappointments.interfaces.UserSessionHome</home>
      <remote>com.wingstech.webappointments.interfaces.UserSession</remote>
   </ejb-ref>
   <ejb-ref >
      <ejb-ref-name>ejb/webappointments/CustomerSession</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      <home>com.wingstech.webappointments.interfaces.CustomerSessionHome</home>
      <remote>com.wingstech.webappointments.interfaces.CustomerSession</remote>
   </ejb-ref>
   <ejb-ref >
      <ejb-ref-name>ejb/webappointments/UserSession</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      <home>com.wingstech.webappointments.interfaces.UserSessionHome</home>
      <remote>com.wingstech.webappointments.interfaces.UserSession</remote>
   </ejb-ref>
   <ejb-ref >
      <ejb-ref-name>ejb/webappointments/CustomerSession</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      <home>com.wingstech.webappointments.interfaces.CustomerSessionHome</home>
      <remote>com.wingstech.webappointments.interfaces.CustomerSession</remote>
   </ejb-ref>
   <ejb-ref >
      <ejb-ref-name>ejb/webappointments/UserSession</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      <home>com.wingstech.webappointments.interfaces.UserSessionHome</home>
      <remote>com.wingstech.webappointments.interfaces.UserSession</remote>
   </ejb-ref>
   <ejb-ref >
      <ejb-ref-name>ejb/webappointments/CustomerSession</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      <home>com.wingstech.webappointments.interfaces.CustomerSessionHome</home>
      <remote>com.wingstech.webappointments.interfaces.CustomerSession</remote>
   </ejb-ref>
   <ejb-ref >
      <ejb-ref-name>ejb/webappointments/UserSession</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      <home>com.wingstech.webappointments.interfaces.UserSessionHome</home>
      <remote>com.wingstech.webappointments.interfaces.UserSession</remote>
   </ejb-ref>
   <ejb-ref >
      <ejb-ref-name>ejb/webappointments/CustomerSession</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      <home>com.wingstech.webappointments.interfaces.CustomerSessionHome</home>
      <remote>com.wingstech.webappointments.interfaces.CustomerSession</remote>
   </ejb-ref>
   <ejb-ref >
      <ejb-ref-name>ejb/webappointments/UserSession</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      <home>com.wingstech.webappointments.interfaces.UserSessionHome</home>
      <remote>com.wingstech.webappointments.interfaces.UserSession</remote>
   </ejb-ref>
   <ejb-ref >
      <ejb-ref-name>ejb/webappointments/CustomerSession</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      <home>com.wingstech.webappointments.interfaces.CustomerSessionHome</home>
      <remote>com.wingstech.webappointments.interfaces.CustomerSession</remote>
   </ejb-ref>
   <ejb-ref >
      <ejb-ref-name>ejb/webappointments/UserSession</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      <home>com.wingstech.webappointments.interfaces.UserSessionHome</home>
      <remote>com.wingstech.webappointments.interfaces.UserSession</remote>
   </ejb-ref>
   <ejb-ref >
      <ejb-ref-name>ejb/webappointments/CustomerSession</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      <home>com.wingstech.webappointments.interfaces.CustomerSessionHome</home>
      <remote>com.wingstech.webappointments.interfaces.CustomerSession</remote>
   </ejb-ref>
   <ejb-ref >
      <ejb-ref-name>ejb/webappointments/UserSession</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      <home>com.wingstech.webappointments.interfaces.UserSessionHome</home>
      <remote>com.wingstech.webappointments.interfaces.UserSession</remote>
   </ejb-ref>
   <ejb-ref >
      <ejb-ref-name>ejb/webappointments/CustomerSession</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      <home>com.wingstech.webappointments.interfaces.CustomerSessionHome</home>
      <remote>com.wingstech.webappointments.interfaces.CustomerSession</remote>
   </ejb-ref>
   <ejb-ref >
      <ejb-ref-name>ejb/webappointments/UserSession</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      <home>com.wingstech.webappointments.interfaces.UserSessionHome</home>
      <remote>com.wingstech.webappointments.interfaces.UserSession</remote>
   </ejb-ref>
   <ejb-ref >
      <ejb-ref-name>ejb/webappointments/CustomerSession</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      <home>com.wingstech.webappointments.interfaces.CustomerSessionHome</home>
      <remote>com.wingstech.webappointments.interfaces.CustomerSession</remote>
   </ejb-ref>
   <ejb-ref >
      <ejb-ref-name>ejb/webappointments/UserSession</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      <home>com.wingstech.webappointments.interfaces.UserSessionHome</home>
      <remote>com.wingstech.webappointments.interfaces.UserSession</remote>
   </ejb-ref>
   <ejb-ref >
      <ejb-ref-name>ejb/webappointments/CustomerSession</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      <home>com.wingstech.webappointments.interfaces.CustomerSessionHome</home>
      <remote>com.wingstech.webappointments.interfaces.CustomerSession</remote>
   </ejb-ref>
   <ejb-ref >
      <ejb-ref-name>ejb/webappointments/UserSession</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      <home>com.wingstech.webappointments.interfaces.UserSessionHome</home>
      <remote>com.wingstech.webappointments.interfaces.UserSession</remote>
   </ejb-ref>
   <ejb-ref >
      <ejb-ref-name>ejb/webappointments/CustomerSession</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      <home>com.wingstech.webappointments.interfaces.CustomerSessionHome</home>
      <remote>com.wingstech.webappointments.interfaces.CustomerSession</remote>
   </ejb-ref>
   <ejb-ref >
      <ejb-ref-name>ejb/webappointments/UserSession</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      <home>com.wingstech.webappointments.interfaces.UserSessionHome</home>
      <remote>com.wingstech.webappointments.interfaces.UserSession</remote>
   </ejb-ref>
   <ejb-ref >
      <ejb-ref-name>ejb/webappointments/CustomerSession</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      <home>com.wingstech.webappointments.interfaces.CustomerSessionHome</home>
      <remote>com.wingstech.webappointments.interfaces.CustomerSession</remote>
   </ejb-ref>
   <ejb-ref >
      <ejb-ref-name>ejb/webappointments/UserSession</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      <home>com.wingstech.webappointments.interfaces.UserSessionHome</home>
      <remote>com.wingstech.webappointments.interfaces.UserSession</remote>
   </ejb-ref>
   <ejb-ref >
      <ejb-ref-name>ejb/webappointments/CustomerSession</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      <home>com.wingstech.webappointments.interfaces.CustomerSessionHome</home>
      <remote>com.wingstech.webappointments.interfaces.CustomerSession</remote>
   </ejb-ref>
   <ejb-ref >
      <ejb-ref-name>ejb/webappointments/UserSession</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      <home>com.wingstech.webappointments.interfaces.UserSessionHome</home>
      <remote>com.wingstech.webappointments.interfaces.UserSession</remote>
   </ejb-ref>
   <ejb-ref >
      <ejb-ref-name>ejb/webappointments/CustomerSession</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      <home>com.wingstech.webappointments.interfaces.CustomerSessionHome</home>
      <remote>com.wingstech.webappointments.interfaces.CustomerSession</remote>
   </ejb-ref>

         <ejb-ref >
            <ejb-ref-name>ejb/webappointments/SequenceGenerator</ejb-ref-name>
            <ejb-ref-type>Session</ejb-ref-type>

Reply via email to