java.io.InvalidClassException: multiple serializable fields named COLOR

Oracle Community | 843797 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Serialization problem from jdk 1.3.1 to jdk 1.4.1

    Oracle Community | 1 decade ago | 843790
    java.io.InvalidClassException: multiple serializable fields named COLOR
  2. 0

    Serialization problem from jdk 1.3.1 to jdk 1.4.1

    Oracle Community | 1 decade ago | 843797
    java.io.InvalidClassException: multiple serializable fields named COLOR

    Root Cause Analysis

    1. java.io.InvalidClassException

      multiple serializable fields named COLOR

      at java.io.ObjectStreamClass.getDeclaredSerialFields()
    2. Java RT
      HashMap.readObject
      1. java.io.ObjectStreamClass.getDeclaredSerialFields(Unknown Source)
      2. java.io.ObjectStreamClass.getSerialFields(Unknown Source)
      3. java.io.ObjectStreamClass.access$600(Unknown Source)
      4. java.io.ObjectStreamClass$3.run(Unknown Source)
      5. java.security.AccessController.doPrivileged(Native Method)
      6. java.io.ObjectStreamClass.<init>(Unknown Source)
      7. java.io.ObjectStreamClass.lookup(Unknown Source)
      8. java.io.ObjectStreamClass.initNonProxy(Unknown Source)
      9. java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
      10. java.io.ObjectInputStream.readClassDesc(Unknown Source)
      11. java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
      12. java.io.ObjectInputStream.readObject0(Unknown Source)
      13. java.io.ObjectInputStream.readObject(Unknown Source)
      14. java.util.HashMap.readObject(Unknown Source)
      14 frames