java.io.InvalidClassException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • String to bytes conversion.
    via by sree kov,
  • NIO and object serialization
    via by 843790,
    • java.io.InvalidClassException: SerialTestObject; local class incompatible: stream classdesc serialVersionUID = 4610715130369482665, local class serialVersionUID = -8215536608381689943 at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:454) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1511) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1425) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1616) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1264) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:322) at SerialTest.main(SerialTest.java:34)

    Users with the same issue

    Handemelindo
    1 times, last one,
    Unknown User
    2 times, last one,
    Ghosts
    3 times, last one,
    Hronom
    1 times, last one,
    ajinkya_w
    11 times, last one,
    40 more bugmates