I have a bean which has a serialized object, when trying to load the bean in
beanbox the object cannot be serialized (if you go past 4065738) because of
the following:
java.io.InvalidClassException: connect.widgets.ImageListBox; Local class not compatible
at java.io.ObjectStreamClass.setClass(ObjectStreamClass.java)
at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java)
at java.io.ObjectInputStream.inputArray(ObjectInputStream.java)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java)
at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java)
at java.awt.Container.readObject(Container.java:1161)
.....
However the class in question connect.widgets.ImageListBox DID NOT change
between serialization and deserialization (it was the same class the serialized object was created from) so I dont know why Local class not compatible exception
is thrown.
To reproduce, try loading the attached JAR file into beanbox and instantiate
the loaded bean.