incorerctly get java.io.InvalidClassException: Local class not compatible

XMLWordPrintable

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: P2
    • None
    • Affects Version/s: 1.1.2
    • Component/s: core-libs
    • None


      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.

            Assignee:
            Joe Fialli (Inactive)
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: