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

  1. ,
    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 Stack Overflow by vidha
, 1 month ago
Buffer underflow. Serialization trace: mContent (io.paperdb.PaperTable)
via Stack Overflow by user1846749
, 2 months ago
Buffer underflow. Serialization trace: ....
via Google Groups by Shushant Arora, 2 months ago
Buffer underflow.Serialization trace:....
via GitHub by fingertricks
, 1 year ago
Buffer underflow. Serialization trace: mContent (io.paperdb.PaperTable)
com.esotericsoftware.kryo.KryoException: Buffer underflow.	at com.esotericsoftware.kryo.io.Input.require(Input.java:199)	at com.esotericsoftware.kryo.io.Input.readVarInt(Input.java:373)	at com.esotericsoftware.kryo.util.DefaultClassResolver.readClass(DefaultClassResolver.java:127)	at com.esotericsoftware.kryo.Kryo.readClass(Kryo.java:670)	at com.esotericsoftware.kryo.Kryo.readClassAndObject(Kryo.java:781)	at com.esotericsoftware.kryo.serializers.MapSerializer.read(MapSerializer.java:153)	at com.esotericsoftware.kryo.serializers.MapSerializer.read(MapSerializer.java:39)	at com.esotericsoftware.kryo.Kryo.readObject(Kryo.java:708)	at org.onosproject.store.serializers.ImmutableMapSerializer.read(ImmutableMapSerializer.java:55)	at org.onosproject.store.serializers.ImmutableMapSerializer.read(ImmutableMapSerializer.java:32)	at com.esotericsoftware.kryo.Kryo.readClassAndObject(Kryo.java:790)	at com.esotericsoftware.kryo.serializers.MapSerializer.read(MapSerializer.java:161)	at com.esotericsoftware.kryo.serializers.MapSerializer.read(MapSerializer.java:39)	at com.esotericsoftware.kryo.Kryo.readClassAndObject(Kryo.java:790)	at org.onlab.util.KryoNamespace.deserialize(KryoNamespace.java:347)	at org.onosproject.store.serializers.StoreSerializer$1.decode(StoreSerializer.java:128)	at org.onosproject.store.cluster.messaging.impl.ClusterCommunicationManager$1.apply(ClusterCommunicationManager.java:278)	at org.onosproject.store.cluster.messaging.impl.ClusterCommunicationManager$InternalMessageResponder.apply(ClusterCommunicationManager.java:322)	at org.onosproject.store.cluster.messaging.impl.ClusterCommunicationManager$InternalMessageResponder.apply(ClusterCommunicationManager.java:306)	at org.onosproject.store.cluster.messaging.impl.NettyMessagingManager.lambda$registerHandler$7(NettyMessagingManager.java:311)	at org.onosproject.store.cluster.messaging.impl.NettyMessagingManager.dispatchLocally(NettyMessagingManager.java:544)	at org.onosproject.store.cluster.messaging.impl.NettyMessagingManager.access$900(NettyMessagingManager.java:95)	at org.onosproject.store.cluster.messaging.impl.NettyMessagingManager$InboundMessageDispatcher.channelRead0(NettyMessagingManager.java:499)	at org.onosproject.store.cluster.messaging.impl.NettyMessagingManager$InboundMessageDispatcher.channelRead0(NettyMessagingManager.java:493)	at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:292)	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:278)	at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:277)	at io.netty.handler.codec.ReplayingDecoder.callDecode(ReplayingDecoder.java:368)	at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:245)	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:292)	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:278)	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:962)	at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)	at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:528)	at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:485)	at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:399)	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:371)	at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)	at java.lang.Thread.run(Thread.java:745)