-
Bug
-
Resolution: Fixed
-
P1
-
1.4.0
-
beta2
-
generic, sparc
-
solaris_7, solaris_9
-
Verified
For the following example, dummy.java
jtools-sqe:/home/vr128054/test 53 % more dummy.java
public class dummy
{
}
jtools-sqe:/home/vr128054/test 54 % which java
/home/vr128054/j2sdk1.4.0/bin/java
jtools-sqe:/home/vr128054/test 55 % java -version
java version "1.4.0-beta_refresh"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta_refresh-b69)
Java HotSpot(TM) Client VM (build 1.4.0-beta_refresh-b69, mixed mode)
jtools-sqe:/home/vr128054/test 56 % javadoc dummy.java
Loading source file dummy.java...
Constructing Javadoc information...
Building tree for all the packages and classes...
Building index for all the packages and classes...
Generating overview-tree.html...
Generating index-all.html...
Generating deprecated-list.html...
Building index for all classes...
Generating allclasses-frame.html...
Generating index.html...
Generating packages.html...
Generating dummy.html...
javadoc: In doclet class com.sun.tools.doclets.standard.Standard, method start has thrown an exception java.lang.reflect.InvocationTargetException
java.lang.NullPointerException
at java.util.StringTokenizer.<init>(StringTokenizer.java:122)
at java.util.StringTokenizer.<init>(StringTokenizer.java:138)
at com.sun.tools.doclets.standard.Standard.startGeneration(Standard.java:153)
at com.sun.tools.doclets.standard.Standard.start(Standard.java:40)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Method.java:311)
at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:209)
at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:94)
at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:285)
at com.sun.tools.javadoc.Start.begin(Start.java:100)
at com.sun.tools.javadoc.Main.execute(Main.java:35)
at com.sun.tools.javadoc.Main.main(Main.java:25)
1 error
================
Javadoc runs on this file when tools.jar is explicitly given in CLASSPATH.
(the JDK was installed properly and was checked in many machines also).
when a javadoc -J-verbose dummy.java was tried without tools.jar in the classpath, the Classloaded DOES load the javadoc classes from tools.jar (but without mentioning 'from tools.jar' as it does in case of 'loading xxx.class from rt.jar), but still crashes.
I am reopening this because I just tested it against b67-b71 (the latest available build to us) and the problem is still reproducible.
If this was fixed, kindly let us know which build it was integrated into. And please update the status to 'INT' for b72 if it is to be integrated into b72.
vijayan.ra@India 2001-07-19
Please test it on Solsparc builds to reproduce this error.
vijayan.ra@India 2001-07-19
jtools-sqe:/home/vr128054/test 53 % more dummy.java
public class dummy
{
}
jtools-sqe:/home/vr128054/test 54 % which java
/home/vr128054/j2sdk1.4.0/bin/java
jtools-sqe:/home/vr128054/test 55 % java -version
java version "1.4.0-beta_refresh"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta_refresh-b69)
Java HotSpot(TM) Client VM (build 1.4.0-beta_refresh-b69, mixed mode)
jtools-sqe:/home/vr128054/test 56 % javadoc dummy.java
Loading source file dummy.java...
Constructing Javadoc information...
Building tree for all the packages and classes...
Building index for all the packages and classes...
Generating overview-tree.html...
Generating index-all.html...
Generating deprecated-list.html...
Building index for all classes...
Generating allclasses-frame.html...
Generating index.html...
Generating packages.html...
Generating dummy.html...
javadoc: In doclet class com.sun.tools.doclets.standard.Standard, method start has thrown an exception java.lang.reflect.InvocationTargetException
java.lang.NullPointerException
at java.util.StringTokenizer.<init>(StringTokenizer.java:122)
at java.util.StringTokenizer.<init>(StringTokenizer.java:138)
at com.sun.tools.doclets.standard.Standard.startGeneration(Standard.java:153)
at com.sun.tools.doclets.standard.Standard.start(Standard.java:40)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Method.java:311)
at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:209)
at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:94)
at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:285)
at com.sun.tools.javadoc.Start.begin(Start.java:100)
at com.sun.tools.javadoc.Main.execute(Main.java:35)
at com.sun.tools.javadoc.Main.main(Main.java:25)
1 error
================
Javadoc runs on this file when tools.jar is explicitly given in CLASSPATH.
(the JDK was installed properly and was checked in many machines also).
when a javadoc -J-verbose dummy.java was tried without tools.jar in the classpath, the Classloaded DOES load the javadoc classes from tools.jar (but without mentioning 'from tools.jar' as it does in case of 'loading xxx.class from rt.jar), but still crashes.
I am reopening this because I just tested it against b67-b71 (the latest available build to us) and the problem is still reproducible.
If this was fixed, kindly let us know which build it was integrated into. And please update the status to 'INT' for b72 if it is to be integrated into b72.
vijayan.ra@India 2001-07-19
Please test it on Solsparc builds to reproduce this error.
vijayan.ra@India 2001-07-19