com.esotericsoftware.kryo.KryoException: Buffer underflow. Serialization trace: mContent (io.paperdb.PaperTable)

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 fingertricks
, 1 year ago
Buffer underflow. Serialization trace: mContent (io.paperdb.PaperTable)
via Stack Overflow by user2524707
, 1 year ago
via Google Groups by Prateek Jain, 1 year ago
Buffer too small: capacity: 0, required: 1
via Stack Overflow by mallikarjun
, 2 years ago
Buffer underflow. Serialization trace: is_server (com.garnet.panel.Network$RegisterName)
com.esotericsoftware.kryo.KryoException: Buffer underflow. Serialization trace: mContent (io.paperdb.PaperTable)
at com.esotericsoftware.kryo.io.Input.require(SourceFile:199)
at com.esotericsoftware.kryo.io.Input.readVarInt(SourceFile:373)
at com.esotericsoftware.kryo.util.DefaultClassResolver.readClass(SourceFile:127)
at com.esotericsoftware.kryo.Kryo.readClass(SourceFile:667)
at com.esotericsoftware.kryo.serializers.ObjectField.read(SourceFile:118)
at com.esotericsoftware.kryo.serializers.FieldSerializer.read(SourceFile:551)
at io.paperdb.DbStoragePlainFile.readTableFile(SourceFile:222)
at io.paperdb.DbStoragePlainFile.select(SourceFile:130)
at io.paperdb.Book.read(SourceFile:65)

Users with the same issue

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

Write tip

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