0 Replies Latest reply on Jul 15, 2005 6:15 AM by Dirk Niemeier

    xDoclet generation faild at homeinterfaces

    Dirk Niemeier Newbie

      Hi,
      does anybody know a solution for this problem ? I cant find an error in my xDoclet tags, so I think it must be an xDoclet specific problem. Is it possible to update to an new xDoclet version within the JBossEcliseIDE ?
      Using : JBossIDE-1.4.1-jre1.5-e31 and eclipse-SDK-3.1M6-win32

      TIA
      Dirk


      Buildfile: C:\Eclipse_workspace\SeppWkzServer\xdoclet-build.xml
      N65540:
      [ejbdoclet] (XDocletMain.start 47 ) Running
      [ejbdoclet] Generating Remote interface for 'de.stueken.seppserver.ejb.FelderbezBean'.
      [ejbdoclet] Generating Remote interface for 'de.stueken.seppserver.ejb.BestellposBean'.
      [ejbdoclet] Generating Remote interface for 'de.stueken.seppserver.ejb.FelderdefBean'.
      [ejbdoclet] (XDocletMain.start 47 ) Running
      [ejbdoclet] Generating Local interface for 'de.stueken.seppserver.ejb.MebezBean'.
      [ejbdoclet] Generating Local interface for 'de.stueken.seppserver.ejb.FuerartikelBean'.
      [ejbdoclet] Generating Local interface for 'de.stueken.seppserver.ejb.AuftragsgruppeBean'.
      [ejbdoclet] Generating Local interface for 'de.stueken.seppserver.ejb.MenueanordnungBean'.
      [ejbdoclet] Generating Local interface for 'de.stueken.seppserver.ejb.WerkstofftexteCMP'.
      [ejbdoclet] Generating Local interface for 'de.stueken.seppserver.ejb.AbteilungbezBean'.
      [ejbdoclet] Generating Local interface for 'de.stueken.seppserver.ejb.BuchungsartenBean'.
      [ejbdoclet] Generating Local interface for 'de.stueken.seppserver.ejb.TeilestammCMP'.
      [ejbdoclet] Generating Local interface for 'de.stueken.seppserver.ejb.FelderbezBean'.
      [ejbdoclet] Generating Local interface for 'de.stueken.seppserver.ejb.MenuesBean'.
      [ejbdoclet] Generating Local interface for 'de.stueken.seppserver.ejb.SmwertcharCMP'.
      [ejbdoclet] Generating Local interface for 'de.stueken.seppserver.ejb.SpracheBean'.
      [ejbdoclet] Generating Local interface for 'de.stueken.seppserver.ejb.WerkstoffeCMP'.
      [ejbdoclet] Generating Local interface for 'de.stueken.seppserver.ejb.WerkstoffgruppeCMP'.
      [ejbdoclet] Generating Local interface for 'de.stueken.seppserver.ejb.AuftragskopfBean'.
      [ejbdoclet] Generating Local interface for 'de.stueken.seppserver.ejb.TeilehistorieBean'.
      [ejbdoclet] Generating Local interface for 'de.stueken.seppserver.ejb.PropertiesBean'.
      [ejbdoclet] Generating Local interface for 'de.stueken.seppserver.ejb.SmwertdecCMP'.
      [ejbdoclet] Generating Local interface for 'de.stueken.seppserver.ejb.TeilestammbezCMP'.
      [ejbdoclet] Generating Local interface for 'de.stueken.seppserver.ejb.PositionbezBean'.
      [ejbdoclet] Generating Local interface for 'de.stueken.seppserver.ejb.WerkstoffgrbezCMP'.
      [ejbdoclet] Generating Local interface for 'de.stueken.seppserver.ejb.BestellposBean'.
      [ejbdoclet] Generating Local interface for 'de.stueken.seppserver.ejb.KlassenbezCMP'.
      [ejbdoclet] Generating Local interface for 'de.stueken.seppserver.ejb.KlassenCMP'.
      [ejbdoclet] Generating Local interface for 'de.stueken.seppserver.ejb.AuftragsgrposBean'.
      [ejbdoclet] Generating Local interface for 'de.stueken.seppserver.ejb.MeBean'.
      [ejbdoclet] Generating Local interface for 'de.stueken.seppserver.ejb.PositionBean'.
      [ejbdoclet] Generating Local interface for 'de.stueken.seppserver.ejb.BuchungsartenbezBean'.
      [ejbdoclet] Generating Local interface for 'de.stueken.seppserver.ejb.FelderdefBean'.
      [ejbdoclet] Generating Local interface for 'de.stueken.seppserver.ejb.SachmerkdefBean'.
      [ejbdoclet] Generating Local interface for 'de.stueken.seppserver.ejb.AbteilungBean'.
      [ejbdoclet] Generating Local interface for 'de.stueken.seppserver.ejb.MenuebezBean'.
      [ejbdoclet] Generating Local interface for 'de.stueken.seppserver.ejb.LieferantenCMP'.
      [ejbdoclet] Generating Local interface for 'de.stueken.seppserver.ejb.MaschgruppeBean'.
      [ejbdoclet] Generating Local interface for 'de.stueken.seppserver.ejb.BenutzerBean'.
      [ejbdoclet] (XDocletMain.start 47 ) Running
      [ejbdoclet] Generating Home interface for 'de.stueken.seppserver.ejb.FelderbezBean'.
      [ejbdoclet] Generating Home interface for 'de.stueken.seppserver.ejb.BestellposBean'.
      [ejbdoclet] (TemplateEngine.invokeMethod 541 ) Invoking method failed: xdoclet.modules.ejb.home.HomeTagsHandler.forAllHomeMethods, line=27 of template file: jar:file:/C:/Programme/eclipse/plugins/org.jboss.ide.eclipse.xdoclet.core_1.4.1/xdoclet-ejb-module-1.2.1.jar!/xdoclet/modules/ejb/home/resources/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:585)
      [ejbdoclet] at xdoclet.template.TemplateEngine.invoke(TemplateEngine.java:635)
      [ejbdoclet] at xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java:534)
      [ejbdoclet] at xdoclet.template.TemplateEngine.invokeBlockMethod(TemplateEngine.java:959)
      [ejbdoclet] at xdoclet.template.TemplateEngine.handleBlockTag(TemplateEngine.java:926)
      [ejbdoclet] at xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java:466)
      [ejbdoclet] at xdoclet.template.TemplateEngine.generate(TemplateEngine.java:347)
      [ejbdoclet] at xdoclet.template.TemplateEngine.start(TemplateEngine.java:414)
      [ejbdoclet] at xdoclet.TemplateSubTask.startEngine(TemplateSubTask.java:560)
      [ejbdoclet] at xdoclet.TemplateSubTask.generateForClass(TemplateSubTask.java:767)
      [ejbdoclet] at xdoclet.TemplateSubTask.startProcessPerClass(TemplateSubTask.java:667)
      [ejbdoclet] at xdoclet.TemplateSubTask.startProcess(TemplateSubTask.java:594)
      [ejbdoclet] at xdoclet.TemplateSubTask.execute(TemplateSubTask.java:486)
      [ejbdoclet] at xdoclet.XDocletMain.start(XDocletMain.java:48)
      [ejbdoclet] at xdoclet.DocletTask.start(DocletTask.java:462)
      [ejbdoclet] at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:110)
      [ejbdoclet] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
      [ejbdoclet] at org.apache.tools.ant.Task.perform(Task.java:364)
      [ejbdoclet] at org.apache.tools.ant.Target.execute(Target.java:341)
      [ejbdoclet] at org.apache.tools.ant.Target.performTasks(Target.java:369)
      [ejbdoclet] at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
      [ejbdoclet] at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
      [ejbdoclet] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:414)
      [ejbdoclet] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:139)
      [ejbdoclet] Caused by: java.lang.NullPointerException
      [ejbdoclet] at java.util.StringTokenizer.(StringTokenizer.java:182)
      [ejbdoclet] at java.util.StringTokenizer.(StringTokenizer.java:204)
      [ejbdoclet] at xdoclet.modules.ejb.home.HomeTagsHandler.finderSignatureFunger(HomeTagsHandler.java:367)
      [ejbdoclet] at xdoclet.modules.ejb.home.HomeTagsHandler.forAllHomeMethods(HomeTagsHandler.java:859)
      [ejbdoclet] ... 27 more
      [ejbdoclet] xdoclet.template.TemplateException: Invoking method in class xdoclet.modules.ejb.home.HomeTagsHandler failed: forAllHomeMethods, line=27 of template file: jar:file:/C:/Programme/eclipse/plugins/org.jboss.ide.eclipse.xdoclet.core_1.4.1/xdoclet-ejb-module-1.2.1.jar!/xdoclet/modules/ejb/home/resources/home.xdt, exception: null
      [ejbdoclet] at xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java:542)
      [ejbdoclet] at xdoclet.template.TemplateEngine.invokeBlockMethod(TemplateEngine.java:959)
      [ejbdoclet] at xdoclet.template.TemplateEngine.handleBlockTag(TemplateEngine.java:926)
      [ejbdoclet] at xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java:466)
      [ejbdoclet] at xdoclet.template.TemplateEngine.generate(TemplateEngine.java:347)
      [ejbdoclet] at xdoclet.template.TemplateEngine.start(TemplateEngine.java:414)
      [ejbdoclet] at xdoclet.TemplateSubTask.startEngine(TemplateSubTask.java:560)
      [ejbdoclet] at xdoclet.TemplateSubTask.generateForClass(TemplateSubTask.java:767)
      [ejbdoclet] at xdoclet.TemplateSubTask.startProcessPerClass(TemplateSubTask.java:667)
      [ejbdoclet] at xdoclet.TemplateSubTask.startProcess(TemplateSubTask.java:594)
      [ejbdoclet] at xdoclet.TemplateSubTask.execute(TemplateSubTask.java:486)
      [ejbdoclet] at xdoclet.XDocletMain.start(XDocletMain.java:48)
      [ejbdoclet] at xdoclet.DocletTask.start(DocletTask.java:462)
      [ejbdoclet] at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:110)
      [ejbdoclet] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
      [ejbdoclet] at org.apache.tools.ant.Task.perform(Task.java:364)
      [ejbdoclet] at org.apache.tools.ant.Target.execute(Target.java:341)
      [ejbdoclet] at org.apache.tools.ant.Target.performTasks(Target.java:369)
      [ejbdoclet] at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
      [ejbdoclet] at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
      [ejbdoclet] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:414)
      [ejbdoclet] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:139)
      [ejbdoclet] (XDocletMain.start 53 ) Running XDoclet failed.
      [ejbdoclet] (XDocletMain.start 54 ) <<Running XDoclet failed.>>
      [ejbdoclet] xdoclet.template.TemplateException: Invoking method in class xdoclet.modules.ejb.home.HomeTagsHandler failed: forAllHomeMethods, line=27 of template file: jar:file:/C:/Programme/eclipse/plugins/org.jboss.ide.eclipse.xdoclet.core_1.4.1/xdoclet-ejb-module-1.2.1.jar!/xdoclet/modules/ejb/home/resources/home.xdt, exception: null
      [ejbdoclet] at xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java:542)
      [ejbdoclet] at xdoclet.template.TemplateEngine.invokeBlockMethod(TemplateEngine.java:959)
      [ejbdoclet] at xdoclet.template.TemplateEngine.handleBlockTag(TemplateEngine.java:926)
      [ejbdoclet] at xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java:466)
      [ejbdoclet] at xdoclet.template.TemplateEngine.generate(TemplateEngine.java:347)
      [ejbdoclet] at xdoclet.template.TemplateEngine.start(TemplateEngine.java:414)
      [ejbdoclet] at xdoclet.TemplateSubTask.startEngine(TemplateSubTask.java:560)
      [ejbdoclet] at xdoclet.TemplateSubTask.generateForClass(TemplateSubTask.java:767)
      [ejbdoclet] at xdoclet.TemplateSubTask.startProcessPerClass(TemplateSubTask.java:667)
      [ejbdoclet] at xdoclet.TemplateSubTask.startProcess(TemplateSubTask.java:594)
      [ejbdoclet] at xdoclet.TemplateSubTask.execute(TemplateSubTask.java:486)
      [ejbdoclet] at xdoclet.XDocletMain.start(XDocletMain.java:48)
      [ejbdoclet] at xdoclet.DocletTask.start(DocletTask.java:462)
      [ejbdoclet] at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:110)
      [ejbdoclet] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
      [ejbdoclet] at org.apache.tools.ant.Task.perform(Task.java:364)
      [ejbdoclet] at org.apache.tools.ant.Target.execute(Target.java:341)
      [ejbdoclet] at org.apache.tools.ant.Target.performTasks(Target.java:369)
      [ejbdoclet] at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
      [ejbdoclet] at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
      [ejbdoclet] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:414)
      [ejbdoclet] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:139)
      [ejbdoclet] C:\Eclipse_workspace\SeppWkzServer\xdoclet-build.xml:135: XDoclet failed.
      [ejbdoclet] at xdoclet.DocletTask.start(DocletTask.java:465)
      [ejbdoclet] at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:110)
      [ejbdoclet] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
      [ejbdoclet] at org.apache.tools.ant.Task.perform(Task.java:364)
      [ejbdoclet] at org.apache.tools.ant.Target.execute(Target.java:341)
      [ejbdoclet] at org.apache.tools.ant.Target.performTasks(Target.java:369)
      [ejbdoclet] at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
      [ejbdoclet] at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
      [ejbdoclet] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:414)
      [ejbdoclet] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:139)
      [ejbdoclet] Caused by: xdoclet.XDocletException: Running XDoclet failed.
      [ejbdoclet] at xdoclet.TemplateSubTask.generateForClass(TemplateSubTask.java:776)
      [ejbdoclet] at xdoclet.TemplateSubTask.startProcessPerClass(TemplateSubTask.java:667)
      [ejbdoclet] at xdoclet.TemplateSubTask.startProcess(TemplateSubTask.java:594)
      [ejbdoclet] at xdoclet.TemplateSubTask.execute(TemplateSubTask.java:486)
      [ejbdoclet] at xdoclet.XDocletMain.start(XDocletMain.java:48)
      [ejbdoclet] at xdoclet.DocletTask.start(DocletTask.java:462)
      [ejbdoclet] ... 9 more
      [ejbdoclet] --- Nested Exception ---
      [ejbdoclet] xdoclet.XDocletException: Running XDoclet failed.
      [ejbdoclet] at xdoclet.TemplateSubTask.generateForClass(TemplateSubTask.java:776)
      [ejbdoclet] at xdoclet.TemplateSubTask.startProcessPerClass(TemplateSubTask.java:667)
      [ejbdoclet] at xdoclet.TemplateSubTask.startProcess(TemplateSubTask.java:594)
      [ejbdoclet] at xdoclet.TemplateSubTask.execute(TemplateSubTask.java:486)
      [ejbdoclet] at xdoclet.XDocletMain.start(XDocletMain.java:48)
      [ejbdoclet] at xdoclet.DocletTask.start(DocletTask.java:462)
      [ejbdoclet] at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:110)
      [ejbdoclet] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
      [ejbdoclet] at org.apache.tools.ant.Task.perform(Task.java:364)
      [ejbdoclet] at org.apache.tools.ant.Target.execute(Target.java:341)
      [ejbdoclet] at org.apache.tools.ant.Target.performTasks(Target.java:369)
      [ejbdoclet] at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
      [ejbdoclet] at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
      [ejbdoclet] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:414)
      [ejbdoclet] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:139)
      [ejbdoclet] WARNING: Some classes refer to other classes that were not found among the sources or on the classpath.
      [ejbdoclet] (Perhaps the referred class doesn't exist? Hasn't been generated yet?)
      [ejbdoclet] The referring classes do not import any fully qualified classes matching these classes.
      [ejbdoclet] Since at least one package is imported, it is impossible for xjavadoc to figure out
      [ejbdoclet] what package the referred classes belong to. The classes are:
      [ejbdoclet] C:\Eclipse_workspace\SeppWkzServer\src\de\stueken\seppserver\ejb\FelderbezBean.java --> Felderdef qualified to de.stueken.seppserver.ejb.Felderdef
      [ejbdoclet] C:\Eclipse_workspace\SeppWkzServer\src\de\stueken\seppserver\ejb\FelderbezBean.java --> FelderdefRemote qualified to de.stueken.seppserver.ejb.FelderdefRemote
      [ejbdoclet] C:\Eclipse_workspace\SeppWkzServer\src\de\stueken\seppserver\ejb\BestellposBean.java --> TeilestammLocal qualified to de.stueken.seppserver.ejb.TeilestammLocal
      [ejbdoclet] C:\Eclipse_workspace\SeppWkzServer\src\de\stueken\seppserver\ejb\BestellposBean.java --> LieferantenLocal qualified to de.stueken.seppserver.ejb.LieferantenLocal

      BUILD FAILED
      C:\Eclipse_workspace\SeppWkzServer\xdoclet-build.xml:135: Unexpected error

      Total time: 12 seconds