java.lang.RuntimeException: java.lang.RuntimeException: java.io.NotSerializableException: org.apache.mina.transport.socket.nio.NioSocketSession

Stack Overflow | ulysses | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    How to make mina serialized

    Stack Overflow | 6 months ago | ulysses
    java.lang.RuntimeException: java.lang.RuntimeException: java.io.NotSerializableException: org.apache.mina.transport.socket.nio.NioSocketSession
  2. 0

    NotSerializableException for Metadata

    GitHub | 2 years ago | jakekdodd
    java.lang.RuntimeException: java.lang.RuntimeException: java.io.NotSerializableException: com.digitalpebble.storm.crawler.Metadata
  3. 0

    Exception when number of worker process is more than one

    GitHub | 3 years ago | Sunoyon
    java.lang.RuntimeException: java.lang.RuntimeException: java.io.NotSerializableException: java.nio.HeapByteBuffer
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [storm-user] How do I serialize a class that uses a bolt? Exception: java.io.NotSerializableException: backtype.storm.tuple.TupleImpl - Grokbase

    grokbase.com | 11 months ago
    java.lang.RuntimeException: java.lang.RuntimeException: java.io.NotSerializableException: backtype.storm.tuple.TupleImpl
  6. 0

    Why does Storm fail with this deserialization error only when using multiple workers? - Hortonworks

    hortonworks.com | 7 months ago
    java.lang.RuntimeException: java.lang.RuntimeException: java.io.NotSerializableException: org.apache.avro.generic.GenericData$Record
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. java.io.NotSerializableException

    org.apache.mina.transport.socket.nio.NioSocketSession

    at java.io.ObjectOutputStream.writeObject0()
  2. Java RT
    ObjectOutputStream.writeObject
    1. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184)[na:1.8.0_45]
    2. java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)[na:1.8.0_45]
    3. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)[na:1.8.0_45]
    4. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)[na:1.8.0_45]
    5. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)[na:1.8.0_45]
    6. java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)[na:1.8.0_45]
    7. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)[na:1.8.0_45]
    8. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)[na:1.8.0_45]
    9. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)[na:1.8.0_45]
    10. java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)[na:1.8.0_45]
    10 frames
  3. backtype.storm.serialization
    SerializableSerializer.write
    1. backtype.storm.serialization.SerializableSerializer.write(SerializableSerializer.java:38)[storm-core-0.9.5.jar:0.9.5]
    1 frame
  4. Kryo
    Kryo.writeObject
    1. com.esotericsoftware.kryo.Kryo.writeClassAndObject(Kryo.java:568)[kryo-2.21.jar:na]
    2. com.esotericsoftware.kryo.serializers.CollectionSerializer.write(CollectionSerializer.java:75)[kryo-2.21.jar:na]
    3. com.esotericsoftware.kryo.serializers.CollectionSerializer.write(CollectionSerializer.java:18)[kryo-2.21.jar:na]
    4. com.esotericsoftware.kryo.Kryo.writeObject(Kryo.java:486)[kryo-2.21.jar:na]
    4 frames
  5. backtype.storm.serialization
    KryoTupleSerializer.serialize
    1. backtype.storm.serialization.KryoValuesSerializer.serializeInto(KryoValuesSerializer.java:44)[storm-core-0.9.5.jar:0.9.5]
    2. backtype.storm.serialization.KryoTupleSerializer.serialize(KryoTupleSerializer.java:44)[storm-core-0.9.5.jar:0.9.5]
    2 frames
  6. backtype.storm.daemon
    executor$start_batch_transfer__GT_worker_handler_BANG_$fn__6489.invoke
    1. backtype.storm.daemon.worker$mk_transfer_fn$fn__6755.invoke(worker.clj:130)[storm-core-0.9.5.jar:0.9.5]
    2. 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]
    2 frames
  7. backtype.storm
    disruptor$clojure_handler$reify__1605.onEvent
    1. backtype.storm.disruptor$clojure_handler$reify__1605.onEvent(disruptor.clj:58)[storm-core-0.9.5.jar:0.9.5]
    1 frame
  8. backtype.storm.utils
    DisruptorQueue.consumeBatchWhenAvailable
    1. backtype.storm.utils.DisruptorQueue.consumeBatchToCursor(DisruptorQueue.java:125)[storm-core-0.9.5.jar:0.9.5]
    2. backtype.storm.utils.DisruptorQueue.consumeBatchWhenAvailable(DisruptorQueue.java:99)[storm-core-0.9.5.jar:0.9.5]
    2 frames
  9. backtype.storm
    util$async_loop$fn__459.invoke
    1. backtype.storm.disruptor$consume_batch_when_available.invoke(disruptor.clj:80)[storm-core-0.9.5.jar:0.9.5]
    2. backtype.storm.disruptor$consume_loop_STAR_$fn__1618.invoke(disruptor.clj:94)[storm-core-0.9.5.jar:0.9.5]
    3. backtype.storm.util$async_loop$fn__459.invoke(util.clj:463)[storm-core-0.9.5.jar:0.9.5]
    3 frames
  10. Clojure
    AFn.run
    1. clojure.lang.AFn.run(AFn.java:24)[clojure-1.5.1.jar:na]
    1 frame
  11. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)[na:1.8.0_45]
    1 frame