2 Replies Latest reply on Oct 7, 2006 9:38 AM by kenlohwh

    Caused by: java.lang.IllegalStateException: Engine is null?!

    kenlohwh

      When I run my xdoclet xml file, I get the following errors:

      Buildfile: C:\eclipses\JBossIDE\workspace\Booking\xdoclet-build.xml
      N65540:
      N67546:
      N68172:
      [webdoclet] 16:53:50,255 ERROR [findGetterMethod] Method getVerbose not found.
      [webdoclet] 16:53:50,255 ERROR [findGetterMethod] Method getForce not found.
      [webdoclet] 16:53:50,265 ERROR [findGetterMethod] Method getExcludePackageNames not found.
      [webdoclet] 16:53:50,265 ERROR [findGetterMethod] Method isExcludePackageNames not found.
      [webdoclet] 16:53:50,265 ERROR [fillConfigParamsHashMapUsingReflectionFor] Getter method not found.
      [webdoclet] 16:53:50,275 ERROR [findGetterMethod] Method getPackageNames not found.
      [webdoclet] 16:53:50,275 ERROR [findGetterMethod] Method isPackageNames not found.
      [webdoclet] 16:53:50,285 ERROR [fillConfigParamsHashMapUsingReflectionFor] Getter method not found.
      [webdoclet] 16:53:50,285 ERROR [findGetterMethod] Method getDocencoding not found.
      [webdoclet] 16:53:50,295 ERROR [findGetterMethod] Method isDocencoding not found.
      [webdoclet] 16:53:50,295 ERROR [fillConfigParamsHashMapUsingReflectionFor] Getter method not found.
      [webdoclet] 16:53:50,295 ERROR [findGetterMethod] Method getIgnoredtags not found.
      [webdoclet] 16:53:50,295 ERROR [findGetterMethod] Method isIgnoredtags not found.
      [webdoclet] 16:53:50,305 ERROR [fillConfigParamsHashMapUsingReflectionFor] Getter method not found.
      [webdoclet] 16:53:50,305 ERROR [findGetterMethod] Method getEncoding not found.
      [webdoclet] 16:53:50,325 ERROR [findGetterMethod] Method isEncoding not found.
      [webdoclet] 16:53:50,325 ERROR [fillConfigParamsHashMapUsingReflectionFor] Getter method not found.
      [webdoclet] 16:53:50,325 ERROR [findGetterMethod] Method getValidating not found.
      [webdoclet] 16:53:50,335 ERROR [findGetterMethod] Method isValidating not found.
      [webdoclet] 16:53:50,335 ERROR [fillConfigParamsHashMapUsingReflectionFor] Getter method not found.
      [webdoclet] 16:53:50,395 ERROR [findGetterMethod] Method getValidateXML not found.
      [webdoclet] 16:53:50,405 ERROR [findGetterMethod] Method getPackageSubstitutionInheritanceSupported not found.
      [webdoclet] 16:53:50,405 ERROR [findGetterMethod] Method getPrefixWithPackageStructure not found.
      [webdoclet] 16:53:50,415 ERROR [fillConfigParamsHashMapUsingReflectionFor] InvocationTargetException
      [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:585)
      [webdoclet] at xdoclet.ConfigParamIntrospector.fillConfigParamsHashMapUsingReflectionFor(ConfigParamIntrospector.java:187)
      [webdoclet] at xdoclet.ConfigParamIntrospector.fillConfigParamsFor(ConfigParamIntrospector.java:113)
      [webdoclet] at xdoclet.DocletTask.getConfigParams(DocletTask.java:449)
      [webdoclet] at xdoclet.DocletTask.createContext(DocletTask.java:622)
      [webdoclet] at xdoclet.DocletTask.validateSubTasks(DocletTask.java:524)
      [webdoclet] at xdoclet.DocletTask.validateOptions(DocletTask.java:498)
      [webdoclet] at xdoclet.modules.web.WebDocletTask.validateOptions(WebDocletTask.java:24)
      [webdoclet] at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:89)
      [webdoclet] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
      [webdoclet] at org.apache.tools.ant.Task.perform(Task.java:364)
      [webdoclet] at org.apache.tools.ant.Target.execute(Target.java:341)
      [webdoclet] at org.apache.tools.ant.Target.performTasks(Target.java:369)
      [webdoclet] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
      [webdoclet] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
      [webdoclet] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
      [webdoclet] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
      [webdoclet] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
      [webdoclet] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
      [webdoclet] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
      [webdoclet] Caused by: java.lang.IllegalStateException: Engine is null?!
       [webdoclet] at xdoclet.TemplateSubTask.getEngine(TemplateSubTask.java:173)
       [webdoclet] ... 23 more
      [webdoclet] 16:53:50,526 ERROR [findGetterMethod] Method getTemplateFile not found.
      [webdoclet] 16:53:50,536 ERROR [findGetterMethod] Method isTemplateFile not found.
      [webdoclet] 16:53:50,536 ERROR [fillConfigParamsHashMapUsingReflectionFor] Getter method not found.
      [webdoclet] 16:53:50,616 ERROR [findGetterMethod] Method getValidateXML not found.
      [webdoclet] 16:53:50,626 ERROR [findGetterMethod] Method getPackageSubstitutionInheritanceSupported not found.
      [webdoclet] 16:53:50,626 ERROR [findGetterMethod] Method getPrefixWithPackageStructure not found.
      ...
      


      I am running the newest JBossIDE 1.5 bundled with Eclipse 3.1.1. The JBossIDE tutorial however, doesn't show the problem.

      Any help would be very much appreciated.