JDK-4197328 : JSplitPane can't be serialized
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 1.2.2
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_nt
  • CPU: x86
  • Submitted: 1998-12-14
  • Updated: 1999-04-21
  • Resolved: 1999-02-03
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
1.2.2 1.2.2Fixed
Related Reports
Relates :  
Description
JDK1.2.2 A build:

I attached test case and below is error message.

java.io.NotSerializableException: javax.swing.plaf.basic.BasicSplitPaneUI$Keyboa
rdDownRightHandler
        at java.io.ObjectOutputStream.outputObject(Compiled Code)
        at java.io.ObjectOutputStream.writeObject(Compiled Code)
        at java.io.ObjectOutputStream.outputClassFields(Compiled Code)
        at java.io.ObjectOutputStream.defaultWriteObject(Compiled Code)
        at java.io.ObjectOutputStream.outputObject(Compiled Code)
        at java.io.ObjectOutputStream.writeObject(Compiled Code)
        at java.util.Hashtable.writeObject(Compiled Code)
        at java.lang.reflect.Method.invoke(Native Method)
        at java.io.ObjectOutputStream.invokeObjectWriter(Compiled Code)
        at java.io.ObjectOutputStream.outputObject(Compiled Code)
        at java.io.ObjectOutputStream.writeObject(Compiled Code)
        at java.util.Hashtable.writeObject(Compiled Code)
        at java.lang.reflect.Method.invoke(Native Method)
        at java.io.ObjectOutputStream.invokeObjectWriter(Compiled Code)
        at java.io.ObjectOutputStream.outputObject(Compiled Code)
        at java.io.ObjectOutputStream.writeObject(Compiled Code)
        at java.io.ObjectOutputStream.outputClassFields(Compiled Code)
        at java.io.ObjectOutputStream.defaultWriteObject(Compiled Code)
        at javax.swing.JComponent.writeObject(JComponent.java:3942)
        at java.lang.reflect.Method.invoke(Native Method)
        at java.io.ObjectOutputStream.invokeObjectWriter(Compiled Code)
        at java.io.ObjectOutputStream.outputObject(Compiled Code)
        at java.io.ObjectOutputStream.writeObject(Compiled Code)
        at SerialTest.test(SerialTest.java:65)
        at SerialTest.main(SerialTest.java:51)

bae-chul.kim@eng 1998-12-14

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: generic FIXED IN: 1.2.2 swing2.0alpha INTEGRATED IN: 1.2.2 VERIFIED IN: 1.2.2
14-06-2004

EVALUATION This was happening because the keyboard listeners for the numeric up/down keys specific to 1.2 where not being removed at uninstallUI time, resulting in them attempting to be serialized. They are now removed, and serialization works. scott.violet 1999-01-15
11-06-2004

PUBLIC COMMENTS This was happening because the keyboard listeners for the numeric up/down keys specific to 1.2 where not being removed at uninstallUI time, resulting in them attempting to be serialized. They are now removed, and serialization works. scott.violet 1999-01-15
10-06-2004