2 Replies Latest reply: May 28, 2010 3:42 PM by 843810 RSS

    Getting an IllegalArgumentException running javadoc

    843810
      Hi;

      Note: I'm going to post this in a bunch of very short parts because the forum software keeps giving me an error and erasing my message. And they frown on links here.

      I upgraded from Windows XP to Windows 7 - and installed the 54-bit version of Java. Now when I run my javadoc (via ant) I get an IllegalArgumentException. Call stack in reply to this message.

      Also javadoc says 1 warning, 0 erros and returns 0 so the build continues. That is not good.

      ??? - thanks - dave
        • 1. Re: Getting an IllegalArgumentException running javadoc
          843810

          [javadoc] Constructing Javadoc information...
          [javadoc] C:\src\version9\javaEngine\working\src_javadoc\net\windward\env\imag
          e\ImageHandler14.java:29: warning: com.sun.imageio.plugins.png.PNGMetadata is Su
          n proprietary API and may be removed in a future release
          [javadoc] import com.sun.imageio.plugins.png.PNGMetadata;
          [javadoc] ^
          [javadoc] Standard Doclet version 1.6.0_20
          [javadoc] Building tree for all the packages and classes...
          [javadoc] java.lang.IllegalArgumentException
          [javadoc] at sun.net.www.ParseUtil.decode(ParseUtil.java:189)
          [javadoc] at sun.misc.URLClassPath$FileLoader.<init>(URLClassPath.java:958
          )
          [javadoc] at sun.misc.URLClassPath$3.run(URLClassPath.java:328)
          [javadoc] at java.security.AccessController.doPrivileged(Native Method)
          [javadoc] at sun.misc.URLClassPath.getLoader(URLClassPath.java:322)
          [javadoc] at sun.misc.URLClassPath.getLoader(URLClassPath.java:299)
          [javadoc] at sun.misc.URLClassPath.findResource(URLClassPath.java:145)
          [javadoc] at java.net.URLClassLoader$2.run(URLClassLoader.java:385)
          [javadoc] at java.security.AccessController.doPrivileged(Native Method)
          [javadoc] at java.net.URLClassLoader.findResource(URLClassLoader.java:382)


          [javadoc] at java.lang.ClassLoader.getResource(ClassLoader.java:1003)
          [javadoc] at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:11
          93)
          [javadoc] at javax.xml.parsers.SecuritySupport$4.run(SecuritySupport.java:
          96)
          [javadoc] at java.security.AccessController.doPrivileged(Native Method)
          [javadoc] at javax.xml.parsers.SecuritySupport.getResourceAsStream(Securit
          ySupport.java:89)
          [javadoc] at javax.xml.parsers.FactoryFinder.findJarServiceProvider(Factor
          yFinder.java:250)
          [javadoc] at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:223)
          [javadoc] at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFacto
          ry.java:128)
          [javadoc] at com.sun.tools.doclets.internal.toolkit.builders.LayoutParser.
          parseXML(LayoutParser.java:72)
          [javadoc] at com.sun.tools.doclets.internal.toolkit.builders.ClassBuilder.
          build(ClassBuilder.java:108)
          [javadoc] at com.sun.tools.doclets.formats.html.HtmlDoclet.generateClassFi
          les(HtmlDoclet.java:155)
          [javadoc] at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.generat
          eClassFiles(AbstractDoclet.java:164)
          [javadoc] at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.startGe
          neration(AbstractDoclet.java:106)
          [javadoc] at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.start(A
          bstractDoclet.java:64)
          [javadoc] at com.sun.tools.doclets.formats.html.HtmlDoclet.start(HtmlDocle
          t.java:42)
          [javadoc] at com.sun.tools.doclets.standard.Standard.start(Standard.java:2
          3)
          [javadoc] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          [javadoc] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
          sorImpl.java:39)
          [javadoc] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
          hodAccessorImpl.java:25)
          [javadoc] at java.lang.reflect.Method.invoke(Method.java:597)
          [javadoc] at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java
          :269)
          [javadoc] at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:
          143)

          • 2. Re: Getting an IllegalArgumentException running javadoc
            843810

            [javadoc] at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:340)
            [javadoc] at com.sun.tools.javadoc.Start.begin(Start.java:128)
            [javadoc] at com.sun.tools.javadoc.Main.execute(Main.java:41)
            [javadoc] at com.sun.tools.javadoc.Main.main(Main.java:31)
            [javadoc] com.sun.tools.doclets.internal.toolkit.util.DocletAbortException
            [javadoc] at com.sun.tools.doclets.internal.toolkit.builders.LayoutParser.
            parseXML(LayoutParser.java:79)
            [javadoc] at com.sun.tools.doclets.internal.toolkit.builders.ClassBuilder.
            build(ClassBuilder.java:108)
            [javadoc] at com.sun.tools.doclets.formats.html.HtmlDoclet.generateClassFi
            les(HtmlDoclet.java:155)
            [javadoc] at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.generat
            eClassFiles(AbstractDoclet.java:164)
            [javadoc] at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.startGe
            neration(AbstractDoclet.java:106)
            [javadoc] at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.start(A
            bstractDoclet.java:64)
            [javadoc] at com.sun.tools.doclets.formats.html.HtmlDoclet.start(HtmlDocle
            t.java:42)
            [javadoc] at com.sun.tools.doclets.standard.Standard.start(Standard.java:2
            3)
            [javadoc] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            [javadoc] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
            sorImpl.java:39)
            [javadoc] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
            hodAccessorImpl.java:25)
            [javadoc] at java.lang.reflect.Method.invoke(Method.java:597)
            [javadoc] at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java
            :269)
            [javadoc] at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:
            143)
            [javadoc] at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:340)
            [javadoc] at com.sun.tools.javadoc.Start.begin(Start.java:128)
            [javadoc] at com.sun.tools.javadoc.Main.execute(Main.java:41)
            [javadoc] at com.sun.tools.javadoc.Main.main(Main.java:31)
            [javadoc] com.sun.tools.doclets.internal.toolkit.util.DocletAbortException
            [javadoc] at com.sun.tools.doclets.formats.html.HtmlDoclet.generateClassFi
            les(HtmlDoclet.java:159)
            [javadoc] at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.generat
            eClassFiles(AbstractDoclet.java:164)
            [javadoc] at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.startGe
            neration(AbstractDoclet.java:106)
            [javadoc] at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.start(A
            bstractDoclet.java:64)
            [javadoc] at com.sun.tools.doclets.formats.html.HtmlDoclet.start(HtmlDocle
            t.java:42)
            [javadoc] at com.sun.tools.doclets.standard.Standard.start(Standard.java:2
            3)
            [javadoc] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            [javadoc] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
            sorImpl.java:39)
            [javadoc] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
            hodAccessorImpl.java:25)
            [javadoc] at java.lang.reflect.Method.invoke(Method.java:597)
            [javadoc] at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java
            :269)
            [javadoc] at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:
            143)
            [javadoc] at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:340)
            [javadoc] at com.sun.tools.javadoc.Start.begin(Start.java:128)
            [javadoc] at com.sun.tools.javadoc.Main.execute(Main.java:41)
            [javadoc] at com.sun.tools.javadoc.Main.main(Main.java:31)
            [javadoc] Generating C:\src\version9\javaEngine\javadocs\net/windward/bean/\Be
            anProvider.html...
            [javadoc] 1 warning


            BUILD SUCCESSFUL
            Total time: 7 seconds