java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • How to make mina serialized
    via Stack Overflow by ulysses
    ,
  • GitHub comment 10#38592810
    via GitHub by vpothnis
    ,
  • GitHub comment 10#38702890
    via GitHub by kiblerdude
    ,
  • DynamoDB Table: java.io.NotSerializableException
    via Stack Overflow by acs254
    ,
  • JavaSparkContext not serializable
    via Stack Overflow by Amine CHERIFI
    ,
    • java.lang.RuntimeException: java.lang.RuntimeException: java.io.NotSerializableException: org.apache.mina.transport.socket.nio.NioSocketSession at backtype.storm.utils.DisruptorQueue.consumeBatchToCursor(DisruptorQueue.java:128)[storm-core-0.9.5.jar:0.9.5] at backtype.storm.utils.DisruptorQueue.consumeBatchWhenAvailable(DisruptorQueue.java:99)[storm-core-0.9.5.jar:0.9.5] at backtype.storm.disruptor$consume_batch_when_available.invoke(disruptor.clj:80)[storm-core-0.9.5.jar:0.9.5] at backtype.storm.disruptor$consume_loop_STAR_$fn__1618.invoke(disruptor.clj:94)[storm-core-0.9.5.jar:0.9.5] at backtype.storm.util$async_loop$fn__459.invoke(util.clj:463)[storm-core-0.9.5.jar:0.9.5] at clojure.lang.AFn.run(AFn.java:24)[clojure-1.5.1.jar:na] at java.lang.Thread.run(Thread.java:745)[na:1.8.0_45] Caused by: java.lang.RuntimeException: java.io.NotSerializableException: org.apache.mina.transport.socket.nio.NioSocketSession at backtype.storm.serialization.SerializableSerializer.write(SerializableSerializer.java:41)[storm-core-0.9.5.jar:0.9.5] at com.esotericsoftware.kryo.Kryo.writeClassAndObject(Kryo.java:568)[kryo-2.21.jar:na] at com.esotericsoftware.kryo.serializers.CollectionSerializer.write(CollectionSerializer.java:75)[kryo-2.21.jar:na] at com.esotericsoftware.kryo.serializers.CollectionSerializer.write(CollectionSerializer.java:18)[kryo-2.21.jar:na] at com.esotericsoftware.kryo.Kryo.writeObject(Kryo.java:486)[kryo-2.21.jar:na] at backtype.storm.serialization.KryoValuesSerializer.serializeInto(KryoValuesSerializer.java:44)[storm-core-0.9.5.jar:0.9.5] at backtype.storm.serialization.KryoTupleSerializer.serialize(KryoTupleSerializer.java:44)[storm-core-0.9.5.jar:0.9.5] at backtype.storm.daemon.worker$mk_transfer_fn$fn__6755.invoke(worker.clj:130)[storm-core-0.9.5.jar:0.9.5] at backtype.storm.daemon.executor$start_batch_transfer__GT_worker_handler_BANG_$fn__6489.invoke(executor.clj:258)[storm-core-0.9.5.jar:0.9.5] at backtype.storm.disruptor$clojure_handler$reify__1605.onEvent(disruptor.clj:58)[storm-core-0.9.5.jar:0.9.5] at backtype.storm.utils.DisruptorQueue.consumeBatchToCursor(DisruptorQueue.java:125)[storm-core-0.9.5.jar:0.9.5] ... 6 more Caused by: java.io.NotSerializableException: org.apache.mina.transport.socket.nio.NioSocketSession at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184)[na:1.8.0_45] at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)[na:1.8.0_45] at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)[na:1.8.0_45] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)[na:1.8.0_45] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)[na:1.8.0_45] at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)[na:1.8.0_45] at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)[na:1.8.0_45] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)[na:1.8.0_45] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)[na:1.8.0_45] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)[na:1.8.0_45] at backtype.storm.serialization.SerializableSerializer.write(SerializableSerializer.java:38)[storm-core-0.9.5.jar:0.9.5] ... 16 more

    Users with the same issue

    tyson925
    1 times, last one,
    Unknown visitor1 times, last one,
    Hiren Amaliyar
    11 times, last one,
    Unknown visitor1 times, last one,
    osvzs
    6 times, last one,
    84 more bugmates