-
Bug
-
Resolution: Fixed
-
P3
-
7
-
b63
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8199985 | openjdk7u | Andrew Brygin | P3 | Resolved | Fixed | master |
Java Version:
openjdk version "1.7.0-ea"
OpenJDK Runtime Environment (build 1.7.0-ea-b144)
OpenJDK Client VM (build 21.0-b14, mixed mode)
Problems:
When run these two regression tests:
test/closed/java/awt/color/ICC_Profile/LoadProfileTest.java
and MalformedProfileTest.java using openjdk-7-b144, the nullPointerException threw as below:
C:\openjdk-7-b144\j2sdk-image\bin\java LoadProfileTest
Exception in thread "main" java.lang.NullPointerException
at java.awt.color.ICC_Profile.intFromBigEndian(ICC_Profile.java:1764)
at java.awt.color.ICC_Profile.getColorSpaceType(ICC_Profile.java:1237)
at java.awt.color.ICC_Profile.getInstance(ICC_Profile.java:785)
at java.awt.color.ICC_Profile.readObject(ICC_Profile.java:2052)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:991
)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1866)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
771)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1347)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
at LoadProfileTest.main(LoadProfileTest.java:35)
C:\openjdk-7-b144\j2sdk-image\bin\java MalformedProfileTest
Exception in thread "main" java.lang.NullPointerException
at java.awt.color.ICC_Profile.intFromBigEndian(ICC_Profile.java:1770)
at java.awt.color.ICC_Profile.getColorSpaceType(ICC_Profile.java:1237)
at java.awt.color.ICC_Profile.getInstance(ICC_Profile.java:785)
at java.awt.color.ICC_Profile.getInstance(ICC_Profile.java:1013)
at java.awt.color.ICC_Profile.getInstance(ICC_Profile.java:978)
at MalformedProfileTest.main(MalformedProfileTest.java:18)
openjdk version "1.7.0-ea"
OpenJDK Runtime Environment (build 1.7.0-ea-b144)
OpenJDK Client VM (build 21.0-b14, mixed mode)
Problems:
When run these two regression tests:
test/closed/java/awt/color/ICC_Profile/LoadProfileTest.java
and MalformedProfileTest.java using openjdk-7-b144, the nullPointerException threw as below:
C:\openjdk-7-b144\j2sdk-image\bin\java LoadProfileTest
Exception in thread "main" java.lang.NullPointerException
at java.awt.color.ICC_Profile.intFromBigEndian(ICC_Profile.java:1764)
at java.awt.color.ICC_Profile.getColorSpaceType(ICC_Profile.java:1237)
at java.awt.color.ICC_Profile.getInstance(ICC_Profile.java:785)
at java.awt.color.ICC_Profile.readObject(ICC_Profile.java:2052)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:991
)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1866)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
771)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1347)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
at LoadProfileTest.main(LoadProfileTest.java:35)
C:\openjdk-7-b144\j2sdk-image\bin\java MalformedProfileTest
Exception in thread "main" java.lang.NullPointerException
at java.awt.color.ICC_Profile.intFromBigEndian(ICC_Profile.java:1770)
at java.awt.color.ICC_Profile.getColorSpaceType(ICC_Profile.java:1237)
at java.awt.color.ICC_Profile.getInstance(ICC_Profile.java:785)
at java.awt.color.ICC_Profile.getInstance(ICC_Profile.java:1013)
at java.awt.color.ICC_Profile.getInstance(ICC_Profile.java:978)
at MalformedProfileTest.main(MalformedProfileTest.java:18)
- backported by
-
JDK-8199985 NullPointerException when running regression tests LoadProfileTest by using openjdk-7-b144
- Resolved