Javadoc problems

Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved

Join Date: Apr 2004
Posts: 573
Reputation: Dark_Omen is an unknown quantity at this point 
Solved Threads: 6
Dark_Omen Dark_Omen is offline Offline
Posting Pro

Javadoc problems

 
0
  #1
Apr 12th, 2006
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
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 573
Reputation: Dark_Omen is an unknown quantity at this point 
Solved Threads: 6
Dark_Omen Dark_Omen is offline Offline
Posting Pro

Re: Javadoc problems

 
0
  #2
Apr 12th, 2006
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)
 

Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 573
Reputation: Dark_Omen is an unknown quantity at this point 
Solved Threads: 6
Dark_Omen Dark_Omen is offline Offline
Posting Pro

Re: Javadoc problems

 
0
  #3
Apr 17th, 2006
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.
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,143
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 213
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: Javadoc problems

 
0
  #4
Apr 18th, 2006
Better yet: just learn to use the toold you get without using an IDE to hide it all from you.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 573
Reputation: Dark_Omen is an unknown quantity at this point 
Solved Threads: 6
Dark_Omen Dark_Omen is offline Offline
Posting Pro

Re: Javadoc problems

 
0
  #5
Apr 18th, 2006
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.
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,143
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 213
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: Javadoc problems

 
0
  #6
Apr 19th, 2006
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.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Java Forum
Thread Tools Search this Thread



Tag cloud for Java
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC