InvocationTargetException thrown when using from within eclipse
Status: Alpha
Brought to you by:
quinntaylor
Got the following error when trying to invoke XHTML_Doclet from within eclipse:
Loading source files for package controller.algorithm.strategies... Loading source files for package view... Loading source files for package controller... Loading source files for package controller.algorithm... Loading source files for package controller.heuristic... Loading source files for package model... Loading source files for package controller.heuristic.strategies... Loading source files for package model.nodes... Constructing Javadoc information... javadoc: error - In doclet class net.sourceforge.xhtmldoclet.Doclet, method start has thrown an exception java.lang.reflect.InvocationTargetException java.lang.NoSuchMethodError: net.sourceforge.xhtmldoclet.Config.isGeneratedDoc(Lcom/sun/javadoc/Doc;)Z at net.sourceforge.xhtmldoclet.Config.checkForDeprecation(Unknown Source) at net.sourceforge.xhtmldoclet.Config.setTopFile(Unknown Source) at net.sourceforge.xhtmldoclet.Config.setSpecificDocletOptions(Unknown Source) at com.sun.tools.doclets.internal.toolkit.Configuration.setOptions(Configuration.java:446) at net.sourceforge.xhtmldoclet.Doclet.<init>(Unknown Source) at net.sourceforge.xhtmldoclet.Doclet.start(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:280) at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:160) at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:397) at com.sun.tools.javadoc.Start.begin(Start.java:167) at com.sun.tools.javadoc.Main.execute(Main.java:59) at com.sun.tools.javadoc.Main.main(Main.java:49) 1 error
Hi Quinn,
I can confirm this bug and would like to see it fixed. Unfortunately I don't know much about Java. I would suggest moving the source code over to GitHub to make contributing easier. What do you think?
Kind regards,
Frank