944,173 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Marked Solved
  • Views: 2738
  • Java RSS
Apr 12th, 2006
0

Javadoc problems

Expand Post »
Hello everyone,

I am having trouble getting my Javadoc to work. It runs but it doesn't show anything in the HTML file that it creates. BTW I am using java 1.5.0_6 and I am using the latest version of Eclipse.
I don't know why it didn't work, and I was wondering if would have anything to do with some configuration in eclipse? or if it was some file that I was missing or other type of configuration on the system?

Thanks
Similar Threads
Reputation Points: 23
Solved Threads: 6
Posting Pro
Dark_Omen is offline Offline
573 posts
since Apr 2004
Apr 12th, 2006
0

Re: Javadoc problems

this is the error report from eclipse:
Loading source file C:\Documents and Settings\myname\workspace\text Scrambling Meme\Disk.java...

Constructing Javadoc information...

Standard Doclet version 1.5.0_06

Building tree for all the packages and classes...

Generating C:\Documents and Settings\Scott Pullen\workspace\text Scrambling Meme\doc\Disk.html...

java.lang.IllegalArgumentException

at sun.net.www.ParseUtil.decode(ParseUtil.java:183)

at sun.misc.URLClassPath$FileLoader.<init>(URLClassPath.java:863)

at sun.misc.URLClassPath$3.run(URLClassPath.java:319)

at java.security.AccessController.doPrivileged(Native Method)

at sun.misc.URLClassPath.getLoader(URLClassPath.java:313)

at sun.misc.URLClassPath.getLoader(URLClassPath.java:290)

at sun.misc.URLClassPath.findResource(URLClassPath.java:141)

at java.net.URLClassLoader$2.run(URLClassLoader.java:362)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findResource(URLClassLoader.java:359)

at java.lang.ClassLoader.getResource(ClassLoader.java:977)

at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:1159)

at javax.xml.parsers.SecuritySupport$4.run(SecuritySupport.java:72)

at java.security.AccessController.doPrivileged(Native Method)

at javax.xml.parsers.SecuritySupport.getResourceAsStream(SecuritySupport.java:65)

at javax.xml.parsers.FactoryFinder.findJarServiceProvider(FactoryFinder.java:213)

at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:185)

at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:107)

at com.sun.tools.doclets.internal.toolkit.builders.LayoutParser.parseXML(LayoutParser.java:72)

at com.sun.tools.doclets.internal.toolkit.builders.ClassBuilder.build(ClassBuilder.java:108)

at com.sun.tools.doclets.formats.html.HtmlDoclet.generateClassFiles(HtmlDoclet.java:155)

at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.generateClassFiles(AbstractDoclet.java:177)

at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.generateClassFiles(AbstractDoclet.java:161)

at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.startGeneration(AbstractDoclet.java:106)

at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.start(AbstractDoclet.java:64)

at com.sun.tools.doclets.formats.html.HtmlDoclet.start(HtmlDoclet.java:42)

at com.sun.tools.doclets.standard.Standard.start(Standard.java:23)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:269)

at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:143)

at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:340)

at com.sun.tools.javadoc.Start.begin(Start.java:128)

at com.sun.tools.javadoc.Main.execute(Main.java:41)

at com.sun.tools.javadoc.Main.main(Main.java:31)

com.sun.tools.doclets.internal.toolkit.util.DocletAbortException

at com.sun.tools.doclets.internal.toolkit.builders.LayoutParser.parseXML(LayoutParser.java:79)

at com.sun.tools.doclets.internal.toolkit.builders.ClassBuilder.build(ClassBuilder.java:108)

at com.sun.tools.doclets.formats.html.HtmlDoclet.generateClassFiles(HtmlDoclet.java:155)

at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.generateClassFiles(AbstractDoclet.java:177)

at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.generateClassFiles(AbstractDoclet.java:161)

at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.startGeneration(AbstractDoclet.java:106)

at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.start(AbstractDoclet.java:64)

at com.sun.tools.doclets.formats.html.HtmlDoclet.start(HtmlDoclet.java:42)

at com.sun.tools.doclets.standard.Standard.start(Standard.java:23)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:269)

at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:143)

at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:340)

at com.sun.tools.javadoc.Start.begin(Start.java:128)

at com.sun.tools.javadoc.Main.execute(Main.java:41)

at com.sun.tools.javadoc.Main.main(Main.java:31)

com.sun.tools.doclets.internal.toolkit.util.DocletAbortException

at com.sun.tools.doclets.formats.html.HtmlDoclet.generateClassFiles(HtmlDoclet.java:159)

at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.generateClassFiles(AbstractDoclet.java:177)

at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.generateClassFiles(AbstractDoclet.java:161)

at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.startGeneration(AbstractDoclet.java:106)

at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.start(AbstractDoclet.java:64)

at com.sun.tools.doclets.formats.html.HtmlDoclet.start(HtmlDoclet.java:42)

at com.sun.tools.doclets.standard.Standard.start(Standard.java:23)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:269)

at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:143)

at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:340)

at com.sun.tools.javadoc.Start.begin(Start.java:128)

at com.sun.tools.javadoc.Main.execute(Main.java:41)

at com.sun.tools.javadoc.Main.main(Main.java:31)
 

Reputation Points: 23
Solved Threads: 6
Posting Pro
Dark_Omen is offline Offline
573 posts
since Apr 2004
Apr 17th, 2006
0

Re: Javadoc problems

Well apparently this happens to some people, and no one seems to have an answer except to install Java 1.4.2_11 SDK and use its javadoc, which should work. I did that and it javadoc works fine for me now.
Reputation Points: 23
Solved Threads: 6
Posting Pro
Dark_Omen is offline Offline
573 posts
since Apr 2004
Apr 18th, 2006
0

Re: Javadoc problems

Better yet: just learn to use the toold you get without using an IDE to hide it all from you.
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004
Apr 18th, 2006
0

Re: Javadoc problems

Well I did try to use javadoc through using the command line in Dos, and it gave me the same error, not really an issue of eclipse, something wrong with javadoc. And after unistalling everything and downloading it again and still not having it work the next best thing is to get the previous version, where javadoc does the same thing. Well after doing that it works both in eclipse and through the command line.
Reputation Points: 23
Solved Threads: 6
Posting Pro
Dark_Omen is offline Offline
573 posts
since Apr 2004
Apr 19th, 2006
0

Re: Javadoc problems

There's nothing wrong with Javadoc itself, it works just fine here...
But I've over the years learned to avoid paths with spaces in them, which is likely your problem.
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: class diagram/uml
Next Thread in Java Forum Timeline: Casting object to double.





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC