Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2078195 | 5.0 | Jeff Suttor | P3 | Closed | Fixed | b32 |
Name: erR10175 Date: 12/11/2003
The constructor javax.xml.Version.Version() throws NullPointerException.
The exception is not described in the description of the class.
This bug affects new test in JCK 1.5 (not yet integrated)
api/javax_xml/Version/index.html#Version
The bug is found in jdk1.5.0/beta/b30.
To reproduce the bug compile and run the following code as shown
in the log below:
------------------------------ test.java
import javax.xml.Version;
class test {
public static void main(String [] args) {
System.out.println(new Version());
}
}
----------------------------------------
------------------------------------ log
$javac test.java && java -showversion -cp . test
java version "1.5.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b30)
Java HotSpot(TM) Client VM (build 1.5.0-beta-b30, mixed mode)
Exception in thread "main" java.lang.NullPointerException
at javax.xml.Version.implementationVersionInformation(Version.java:127)
at javax.xml.Version.<init>(Version.java:114)
at test.main(test.java:5)
----------------------------------------
======================================================================
The constructor javax.xml.Version.Version() throws NullPointerException.
The exception is not described in the description of the class.
This bug affects new test in JCK 1.5 (not yet integrated)
api/javax_xml/Version/index.html#Version
The bug is found in jdk1.5.0/beta/b30.
To reproduce the bug compile and run the following code as shown
in the log below:
------------------------------ test.java
import javax.xml.Version;
class test {
public static void main(String [] args) {
System.out.println(new Version());
}
}
----------------------------------------
------------------------------------ log
$javac test.java && java -showversion -cp . test
java version "1.5.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b30)
Java HotSpot(TM) Client VM (build 1.5.0-beta-b30, mixed mode)
Exception in thread "main" java.lang.NullPointerException
at javax.xml.Version.implementationVersionInformation(Version.java:127)
at javax.xml.Version.<init>(Version.java:114)
at test.main(test.java:5)
----------------------------------------
======================================================================
- backported by
-
JDK-2078195 javax.xml.Version: constructor throws NullPointerException
- Closed