I also tried it with xdoclet version 1.2.2 with the same result. The files are generated correctly but I always get those exceptions

From: "coupeborgward coupeborgward" <[EMAIL PROTECTED]>
Reply-To: xdoclet-user@lists.sourceforge.net
To: xdoclet-user@lists.sourceforge.net
Subject: [Xdoclet-user] engine is null exception
Date: Tue, 31 Jan 2006 03:41:52 +0000

Hi

I try to use the ejbdoclet, which generates the files but I always receive an engine is null exception (see below) I use version 1.2.3 and have all jar file in my classpath and use ant 1.6.1.

Any help is very much appreciated

->build.xml
  <target name="ejbdoclet">
       <mkdir dir="${dir.generated.ejb}" />
       <mkdir dir="${dir.generated.ejb}/META-INF" />
       <mkdir dir="${dir.merge.xdoclet}" />

       <ejbdoclet
           destdir="${dir.generated.ejb}"
           ejbspec="2.0"
            mergedir="${dir.merge.xdoclet}"
           verbose="true"
           force="true">
           <fileset dir="./src">
               <include name="rolf/*Bean.java" />
           </fileset>
           <remoteinterface pattern="{0}Remote"/>
           <homeinterface/>
<deploymentdescriptor destdir="${dir.generated.ejb}/META-INF" />
           <weblogic
               version="8.1"
               xmlencoding="UTF-8"
               destdir="${dir.generated.ejb}/META-INF"
               validatexml="true"
               datasource="jdbc/eLMSDataSource"
               mergedir="${dir.merge.xdoclet}"
               persistence="weblogic"
                createtables="Disabled"
            />
       </ejbdoclet>
   </target>


-> Error:
Jan 31 14:26:47-WebServices: Method isIgnoredtags not found.
Jan 31 14:26:47-WebServices: Getter method not found.
Jan 31 14:26:47-WebServices: Method getPattern not found.
Jan 31 14:26:47-WebServices: Method isPattern not found.
Jan 31 14:26:47-WebServices: Getter method not found.
Jan 31 14:26:47-WebServices: Method getPackageSubstitutionInheritanceSupported not found. Jan 31 14:26:47-WebServices: Method getPrefixWithPackageStructure not found.
Jan 31 14:26:47-WebServices: InvocationTargetException
Jan 31 14:26:47-WebServices: InvocationTargetException
java.lang.reflect.InvocationTargetException
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
at xdoclet.ConfigParamIntrospector.fillConfigParamsHashMapUsingReflectionFor(ConfigParamIntrospector.java:187) at xdoclet.ConfigParamIntrospector.fillConfigParamsFor(ConfigParamIntrospector.java:113)
       at xdoclet.DocletTask.getConfigParams(DocletTask.java:449)
       at xdoclet.DocletTask.createContext(DocletTask.java:622)
       at xdoclet.DocletTask.validateSubTasks(DocletTask.java:524)
       at xdoclet.DocletTask.validateOptions(DocletTask.java:498)
at xdoclet.modules.ejb.EjbDocletTask.validateOptions(EjbDocletTask.java:81)
       at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:89)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
       at org.apache.tools.ant.Task.perform(Task.java:364)
       at org.apache.tools.ant.Target.execute(Target.java:301)
       at org.apache.tools.ant.Target.performTasks(Target.java:328)
       at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
       at org.apache.tools.ant.Project.executeTargets(Project.java:1063)
       at org.apache.tools.ant.Main.runBuild(Main.java:632)
       at org.apache.tools.ant.Main.startAnt(Main.java:183)
       at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197)
       at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56)
Caused by: java.lang.IllegalStateException: Engine is null?!
       at xdoclet.TemplateSubTask.getEngine(TemplateSubTask.java:173)
       ... 22 more

_________________________________________________________________
ASUS M5 Ultra-slim lightweight is Now $1999 (was $2,999) http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fwww%2Easus%2Ecom%2Eau%2F&_t=752129232&_r=Hotmail_tagline_23Nov05&_m=EXT



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
xdoclet-user mailing list
xdoclet-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

_________________________________________________________________
ASUS M5 Ultra-slim lightweight is Now $1999 (was $2,999) http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fwww%2Easus%2Ecom%2Eau%2F&_t=752129232&_r=Hotmail_tagline_23Nov05&_m=EXT



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
xdoclet-user mailing list
xdoclet-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to