This seems to be relevant to your issue: https://stackoverflow.com/questions/13183675/eclipse-javadoc-generation-fails-with-illegalargumentexception _________________________________________
Cogitare extra arca archa From: Martin Gainty <mgai...@hotmail.com> To: "users@maven.apache.org" <users@maven.apache.org> Date: 06/04/2017 07:41 AM Subject: Javadoc question This email originated from outside of the company. Please use discretion if opening attachments or clicking on links. i was running this thru maven-javadoc-plugin but saw IllegalArgumentException so I am now attempting to produce Javadoc here is command: /woden/woden-dist/target/DISTRO~1/WODEN-~1.0M1>javadoc.exe -d "/woden/WODEN-~3/target/DISTRO~1/WODEN-~1.0M1/html" -sourcepath "/woden/WODEN-~3/target/DISTRO~1/WODEN-~1.0M1" org.apache.woden.xpointer Loading source files for package org.apache.woden.xpointer... Constructing Javadoc information... Standard Doclet version 1.8.0_40 Building tree for all the packages and classes... Generating /woden/WODEN-~3/target/DISTRO~1/WODEN-~1.0M1/html/org/apac he/woden/xpointer/ElementPointerPart.html... java.lang.IllegalArgumentException at sun.net.www.ParseUtil.decode(Unknown Source) at sun.misc.URLClassPath$FileLoader.<init>(Unknown Source) at sun.misc.URLClassPath$3.run(Unknown Source) at sun.misc.URLClassPath$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.misc.URLClassPath.getLoader(Unknown Source) at sun.misc.URLClassPath.getLoader(Unknown Source) at sun.misc.URLClassPath.getNextLoader(Unknown Source) at sun.misc.URLClassPath.access$100(Unknown Source) at sun.misc.URLClassPath$1.next(Unknown Source) at sun.misc.URLClassPath$1.hasMoreElements(Unknown Source) at java.net.URLClassLoader$3$1.run(Unknown Source) at java.net.URLClassLoader$3$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader$3.next(Unknown Source) at java.net.URLClassLoader$3.hasMoreElements(Unknown Source) at sun.misc.CompoundEnumeration.next(Unknown Source) at sun.misc.CompoundEnumeration.hasMoreElements(Unknown Source) at java.util.ServiceLoader$LazyIterator.hasNextService(Unknown Source) at java.util.ServiceLoader$LazyIterator.hasNext(Unknown Source) at java.util.ServiceLoader$1.hasNext(Unknown Source) at javax.xml.parsers.FactoryFinder$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at javax.xml.parsers.FactoryFinder.findServiceProvider(Unknown Source) at javax.xml.parsers.FactoryFinder.find(Unknown Source) at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source) at com.sun.tools.doclets.internal.toolkit.builders.LayoutParser.parseXML (LayoutParser.java:89) at com.sun.tools.doclets.internal.toolkit.builders.ClassBuilder.build(Cl assBuilder.java:120) at com.sun.tools.doclets.formats.html.HtmlDoclet.generateClassFiles(Html Doclet.java:189) at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.generateClassFi les(AbstractDoclet.java:192) at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.startGeneration (AbstractDoclet.java:137) at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.start(AbstractD oclet.java:82) at com.sun.tools.doclets.formats.html.HtmlDoclet.start(HtmlDoclet.java:8 0) at com.sun.tools.doclets.standard.Standard.start(Standard.java:39) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:310) at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:189) at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:366) at com.sun.tools.javadoc.Start.begin(Start.java:219) at com.sun.tools.javadoc.Start.begin(Start.java:205) at com.sun.tools.javadoc.Main.execute(Main.java:64) at com.sun.tools.javadoc.Main.main(Main.java:54) javadoc: error - java.lang.IllegalArgumentException 1 error if i had to guess i would say sourcepath is an invalid URL but the usage for Javadoc doesnt say sourcepath is URL i find no help with Javadoc/javadoc where "javadoc working examples" page produce 404's http://www.oracle.com/technetwork/java/javase/documentation/index-137483.html#findjavadoc Javadoc FAQ - Oracle< http://www.oracle.com/technetwork/java/javase/documentation/index-137483.html#findjavadoc > www.oracle.com Javadoc Tool Home Page has links to all documentation and related information on the Javadoc tool, including proposed Javadoc tags. A2. Any advice to solve this error? Martin ______________________________________________ ** This email and any attachments may contain information that is confidential and/or privileged for the sole use of the intended recipient. Any use, review, disclosure, copying, distribution or reliance by others, and any forwarding of this email or its contents, without the express permission of the sender is strictly prohibited by law. If you are not the intended recipient, please contact the sender immediately, delete the e-mail and destroy all copies. **