com.esotericsoftware.kryo.KryoException: Buffer underflow.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert 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.

Solutions on the web

via GitHub by wyzssw
, 1 year ago
Buffer underflow. Serialization trace: right (org.apache.commons.lang3.tuple.ImmutablePair) backingMap (com.google.common.collect.HashBasedTable) userTable (com.xxxx.ecar.item.model.ItemStates)
via GitHub by bobvdvelde
, 10 months ago
Buffer underflow. Serialization trace: uriForID (org.dbpedia.spotlight.db.memory.MemoryResourceStore)
via JIRA by hari krishna [X], 1 year ago
Buffer underflow.
via Stack Overflow by mallikarjun
, 2 years ago
Buffer underflow. Serialization trace: is_server (com.garnet.panel.Network$RegisterName)
via GitHub by ghost
, 2 years ago
Buffer underflow.
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)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
15 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.