com.esotericsoftware.kryo.KryoException: Buffer underflow.

JIRA | Yunpeng Zhang | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    During intent-pref test, uncaught exception 2016-07-25 15:04:01,480 | ERROR | agingEvt-nioC-48 | NettyMessagingManager | 78 - org.onosproject.onos-core-dist - 1.7.0.SNAPSHOT | Exception inside channel handling pipeline. 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)[57:com.esotericsoftware.kryo:3.0.3] at com.esotericsoftware.kryo.Kryo.readClassAndObject(Kryo.java:781)[57:com.esotericsoftware.kryo:3.0.3] at com.esotericsoftware.kryo.serializers.MapSerializer.read(MapSerializer.java:153)[57:com.esotericsoftware.kryo:3.0.3] at com.esotericsoftware.kryo.serializers.MapSerializer.read(MapSerializer.java:39)[57:com.esotericsoftware.kryo:3.0.3] at com.esotericsoftware.kryo.Kryo.readObject(Kryo.java:708)[57:com.esotericsoftware.kryo:3.0.3] 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)[57:com.esotericsoftware.kryo:3.0.3] at com.esotericsoftware.kryo.serializers.MapSerializer.read(MapSerializer.java:161)[57:com.esotericsoftware.kryo:3.0.3] at com.esotericsoftware.kryo.serializers.MapSerializer.read(MapSerializer.java:39)[57:com.esotericsoftware.kryo:3.0.3] at com.esotericsoftware.kryo.Kryo.readClassAndObject(Kryo.java:790)[57:com.esotericsoftware.kryo:3.0.3] at org.onlab.util.KryoNamespace.deserialize(KryoNamespace.java:347)[72:org.onosproject.onlab-misc:1.7.0.SNAPSHOT] at org.onosproject.store.serializers.StoreSerializer$1.decode(StoreSerializer.java:128)[81:org.onosproject.onos-core-serializers:1.7.0.SNAPSHOT] at org.onosproject.store.cluster.messaging.impl.ClusterCommunicationManager$1.apply(ClusterCommunicationManager.java:278)[78:org.onosproject.onos-core-dist:1.7.0.SNAPSHOT] at org.onosproject.store.cluster.messaging.impl.ClusterCommunicationManager$InternalMessageResponder.apply(ClusterCommunicationManager.java:322)[78:org.onosproject.onos-core-dist:1.7.0.SNAPSHOT] at org.onosproject.store.cluster.messaging.impl.ClusterCommunicationManager$InternalMessageResponder.apply(ClusterCommunicationManager.java:306)[78:org.onosproject.onos-core-dist:1.7.0.SNAPSHOT] at org.onosproject.store.cluster.messaging.impl.NettyMessagingManager.lambda$registerHandler$7(NettyMessagingManager.java:311)[78:org.onosproject.onos-core-dist:1.7.0.SNAPSHOT] at org.onosproject.store.cluster.messaging.impl.NettyMessagingManager.dispatchLocally(NettyMessagingManager.java:544)[78:org.onosproject.onos-core-dist:1.7.0.SNAPSHOT] at org.onosproject.store.cluster.messaging.impl.NettyMessagingManager.access$900(NettyMessagingManager.java:95)[78:org.onosproject.onos-core-dist:1.7.0.SNAPSHOT] at org.onosproject.store.cluster.messaging.impl.NettyMessagingManager$InboundMessageDispatcher.channelRead0(NettyMessagingManager.java:499)[78:org.onosproject.onos-core-dist:1.7.0.SNAPSHOT] at org.onosproject.store.cluster.messaging.impl.NettyMessagingManager$InboundMessageDispatcher.channelRead0(NettyMessagingManager.java:493)[78:org.onosproject.onos-core-dist:1.7.0.SNAPSHOT] at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)[47:io.netty.transport:4.0.36.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:292)[47:io.netty.transport:4.0.36.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:278)[47:io.netty.transport:4.0.36.Final] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:277)[49:io.netty.codec:4.0.36.Final] at io.netty.handler.codec.ReplayingDecoder.callDecode(ReplayingDecoder.java:368)[49:io.netty.codec:4.0.36.Final] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:245)[49:io.netty.codec:4.0.36.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:292)[47:io.netty.transport:4.0.36.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:278)[47:io.netty.transport:4.0.36.Final] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:962)[47:io.netty.transport:4.0.36.Final] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)[47:io.netty.transport:4.0.36.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:528)[47:io.netty.transport:4.0.36.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:485)[47:io.netty.transport:4.0.36.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:399)[47:io.netty.transport:4.0.36.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:371)[47:io.netty.transport:4.0.36.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)[45:io.netty.common:4.0.36.Final] at java.lang.Thread.run(Thread.java:745)[:1.8.0_74]

    JIRA | 9 months ago | Yunpeng Zhang
    com.esotericsoftware.kryo.KryoException: Buffer underflow.
  2. 0

    Each thread should have its own Kryo, Input, and Output instances

    GitHub | 1 year ago | sirolf2009
    com.esotericsoftware.kryo.KryoException: Buffer underflow.
  3. 0

    Buffer Underflow ERROR

    Google Groups | 2 years ago | Yu wai Hlaing
    com.esotericsoftware.kryo.KryoException: Buffer underflow.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Deserialization failing randomly - version 2.02

    GitHub | 3 years ago | ghost
    com.esotericsoftware.kryo.KryoException: Encountered unregistered class ID: 48 Serialization trace: command (remoting.Message)
  6. 0

    RUDF rhive.query failed due to serialisation exception

    GitHub | 3 years ago | pkernevez
    java.lang.RuntimeException: com.esotericsoftware.kryo.KryoException: Class cannot be created (missing no-arg constructor): org.apache.hadoop.hive.serde2.objectinspector.primitive.PrimitiveObjectInspectorConverter$TextConverter Serialization trace: converters (com.nexr.rhive.hive.udf.RUDF) genericUDF (org.apache.hadoop.hive.ql.plan.ExprNodeGenericFuncDesc) colExprMap (org.apache.hadoop.hive.ql.exec.SelectOperator) childOperators (org.apache.hadoop.hive.ql.exec.TableScanOperator) aliasToWork (org.apache.hadoop.hive.ql.plan.MapWork)

  1. Alexandru Popa 1 times, last 5 months ago
3 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. com.esotericsoftware.kryo.KryoException

    Buffer underflow.

    at com.esotericsoftware.kryo.io.Input.require()
  2. Kryo
    Kryo.readObject
    1. com.esotericsoftware.kryo.io.Input.require(Input.java:199)
    2. com.esotericsoftware.kryo.io.Input.readVarInt(Input.java:373)
    3. com.esotericsoftware.kryo.util.DefaultClassResolver.readClass(DefaultClassResolver.java:127)
    4. com.esotericsoftware.kryo.Kryo.readClass(Kryo.java:670)[57:com.esotericsoftware.kryo:3.0.3]
    5. com.esotericsoftware.kryo.Kryo.readClassAndObject(Kryo.java:781)[57:com.esotericsoftware.kryo:3.0.3]
    6. com.esotericsoftware.kryo.serializers.MapSerializer.read(MapSerializer.java:153)[57:com.esotericsoftware.kryo:3.0.3]
    7. com.esotericsoftware.kryo.serializers.MapSerializer.read(MapSerializer.java:39)[57:com.esotericsoftware.kryo:3.0.3]
    8. com.esotericsoftware.kryo.Kryo.readObject(Kryo.java:708)[57:com.esotericsoftware.kryo:3.0.3]
    8 frames
  3. org.onosproject.store
    ImmutableMapSerializer.read
    1. org.onosproject.store.serializers.ImmutableMapSerializer.read(ImmutableMapSerializer.java:55)
    2. org.onosproject.store.serializers.ImmutableMapSerializer.read(ImmutableMapSerializer.java:32)
    2 frames
  4. Kryo
    Kryo.readClassAndObject
    1. com.esotericsoftware.kryo.Kryo.readClassAndObject(Kryo.java:790)[57:com.esotericsoftware.kryo:3.0.3]
    2. com.esotericsoftware.kryo.serializers.MapSerializer.read(MapSerializer.java:161)[57:com.esotericsoftware.kryo:3.0.3]
    3. com.esotericsoftware.kryo.serializers.MapSerializer.read(MapSerializer.java:39)[57:com.esotericsoftware.kryo:3.0.3]
    4. com.esotericsoftware.kryo.Kryo.readClassAndObject(Kryo.java:790)[57:com.esotericsoftware.kryo:3.0.3]
    4 frames
  5. org.onlab.util
    KryoNamespace.deserialize
    1. org.onlab.util.KryoNamespace.deserialize(KryoNamespace.java:347)[72:org.onosproject.onlab-misc:1.7.0.SNAPSHOT]
    1 frame
  6. org.onosproject.store
    NettyMessagingManager$InboundMessageDispatcher.channelRead0
    1. org.onosproject.store.serializers.StoreSerializer$1.decode(StoreSerializer.java:128)[81:org.onosproject.onos-core-serializers:1.7.0.SNAPSHOT]
    2. org.onosproject.store.cluster.messaging.impl.ClusterCommunicationManager$1.apply(ClusterCommunicationManager.java:278)[78:org.onosproject.onos-core-dist:1.7.0.SNAPSHOT]
    3. org.onosproject.store.cluster.messaging.impl.ClusterCommunicationManager$InternalMessageResponder.apply(ClusterCommunicationManager.java:322)[78:org.onosproject.onos-core-dist:1.7.0.SNAPSHOT]
    4. org.onosproject.store.cluster.messaging.impl.ClusterCommunicationManager$InternalMessageResponder.apply(ClusterCommunicationManager.java:306)[78:org.onosproject.onos-core-dist:1.7.0.SNAPSHOT]
    5. org.onosproject.store.cluster.messaging.impl.NettyMessagingManager.lambda$registerHandler$7(NettyMessagingManager.java:311)[78:org.onosproject.onos-core-dist:1.7.0.SNAPSHOT]
    6. org.onosproject.store.cluster.messaging.impl.NettyMessagingManager.dispatchLocally(NettyMessagingManager.java:544)[78:org.onosproject.onos-core-dist:1.7.0.SNAPSHOT]
    7. org.onosproject.store.cluster.messaging.impl.NettyMessagingManager.access$900(NettyMessagingManager.java:95)[78:org.onosproject.onos-core-dist:1.7.0.SNAPSHOT]
    8. org.onosproject.store.cluster.messaging.impl.NettyMessagingManager$InboundMessageDispatcher.channelRead0(NettyMessagingManager.java:499)[78:org.onosproject.onos-core-dist:1.7.0.SNAPSHOT]
    9. org.onosproject.store.cluster.messaging.impl.NettyMessagingManager$InboundMessageDispatcher.channelRead0(NettyMessagingManager.java:493)[78:org.onosproject.onos-core-dist:1.7.0.SNAPSHOT]
    9 frames
  7. Netty
    SingleThreadEventExecutor$2.run
    1. io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)[47:io.netty.transport:4.0.36.Final]
    2. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:292)[47:io.netty.transport:4.0.36.Final]
    3. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:278)[47:io.netty.transport:4.0.36.Final]
    4. io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:277)[49:io.netty.codec:4.0.36.Final]
    5. io.netty.handler.codec.ReplayingDecoder.callDecode(ReplayingDecoder.java:368)[49:io.netty.codec:4.0.36.Final]
    6. io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:245)[49:io.netty.codec:4.0.36.Final]
    7. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:292)[47:io.netty.transport:4.0.36.Final]
    8. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:278)[47:io.netty.transport:4.0.36.Final]
    9. io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:962)[47:io.netty.transport:4.0.36.Final]
    10. io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)[47:io.netty.transport:4.0.36.Final]
    11. io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:528)[47:io.netty.transport:4.0.36.Final]
    12. io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:485)[47:io.netty.transport:4.0.36.Final]
    13. io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:399)[47:io.netty.transport:4.0.36.Final]
    14. io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:371)[47:io.netty.transport:4.0.36.Final]
    15. io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)[45:io.netty.common:4.0.36.Final]
    15 frames
  8. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)[:1.8.0_74]
    1 frame