com.esotericsoftware.kryo.KryoException

tip

Kryo doesn't accept multi-threaded data access, there's a few workarounds for this, such as duplicating the buffer, but they sacrifice a bit of performance.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • GitHub comment 291#229226450
    via GitHub by cuihz
    ,
  • Slick2D KryoNet Applet
    via Stack Overflow by LylatWars
    ,
  • Kryonet problems with basic setup
    via Stack Overflow by Valdemar Tuominen
    ,
    • com.esotericsoftware.kryo.KryoException: Buffer underflow. at com.esotericsoftware.kryo.io.Input.require(Input.java:199) at com.esotericsoftware.kryo.io.Input.readAscii_slow(Input.java:616) at com.esotericsoftware.kryo.io.Input.readAscii(Input.java:594) at com.esotericsoftware.kryo.io.Input.readString(Input.java:472) at com.esotericsoftware.kryo.util.DefaultClassResolver.readName(DefaultClassResolver.java:150) at com.esotericsoftware.kryo.util.DefaultClassResolver.readClass(DefaultClassResolver.java:133) at com.esotericsoftware.kryo.Kryo.readClass(Kryo.java:670) at com.esotericsoftware.kryo.Kryo.readClassAndObject(Kryo.java:781)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    15 more bugmates