Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
jtsk_2.1, River_2.2.0
-
None
-
None
-
Oracle JDK 1.6.0_38 or higher; 1.7.0_13 or higher
Description
With Oracle JDK 1.6.0_38 and JDK 1.7.0_13, Oracle added an extra field (localizedLevelName) to java.util.logging.Level.
com.sun.jini.logging.Levels contains some code which depends on knowing the serialization format of the JDK class and crashes with the below exception when attempting to upgrade JDK version.
java.lang.RuntimeException: Unexpected exception
at com.sun.jini.logging.Levels.createLevel(Levels.java:142)
at com.sun.jini.logging.Levels.<clinit>(Levels.java:52)
... 20 more
Caused by: java.io.EOFException
at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2577)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1315)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1970)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1894)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1777)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1347)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
at com.sun.jini.logging.Levels.createLevel(Levels.java:138)
... 21 more
Attachments
Issue Links
- is duplicated by
-
RIVER-416 The com.sun.jini.logging.Levels class produces a RuntimeException with the latest version of Java
- Resolved