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. ,

    Exception in thread "main" java.io.NotSerializableException: java.util.Hashtable$Enumerator at java.io.ObjectOutputStream.writeObject0(Unknown Source) at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source) at java.io.ObjectOutputStream.writeSe

  2. ,
    via Stack Overflow by Matthias

    Your object contains member variables which are themselves not serializable 'ReportDataStoreRegion'. If you really want to serialize your object. One option would be to declare the variable as transient so that it is not serialized.

Solutions on the web

via hortonworks.com by Unknown author, 1 year ago
java.lang.RuntimeException: java.io.NotSerializableException: org.apache.avro.generic.GenericData$Record
via GitHub by rch49
, 1 year ago
java.lang.RuntimeException: java.io.NotSerializableException: org.opencv.core.Mat
via Apache's JIRA Issue Tracker by Itai Frenkel, 1 year ago
java.lang.RuntimeException: Client is being closed, and does not take requests any more
via GitHub by vpothnis
, 1 year ago
java.lang.RuntimeException: java.io.NotSerializableException: com.rabbitmq.client.impl.LongStringHelper$ByteArrayLongString
via GitHub by jakekdodd
, 2 years ago
java.lang.RuntimeException: java.io.NotSerializableException: com.digitalpebble.storm.crawler.Metadata
java.lang.RuntimeException: java.lang.RuntimeException: java.io.NotSerializableException: org.apache.avro.generic.GenericData$Record at backtype.storm.utils.DisruptorQueue.consumeBatchToCursor(DisruptorQueue.java:128)[storm-core-0.9.3.2.2.4.12-1.jar:0.9.3.2.2.4.12-1] at backtype.storm.utils.DisruptorQueue.consumeBatchWhenAvailable(DisruptorQueue.java:99)[storm-core-0.9.3.2.2.4.12-1.jar:0.9.3.2.2.4.12-1] at backtype.storm.disruptor$consume_batch_when_available.invoke(disruptor.clj:80)[storm-core-0.9.3.2.2.4.12-1.jar:0.9.3.2.2.4.12-1] at backtype.storm.disruptor$consume_loop_STAR_$fn__1077.invoke(disruptor.clj:94)[storm-core-0.9.3.2.2.4.12-1.jar:0.9.3.2.2.4.12-1] at backtype.storm.util$async_loop$fn__551.invoke(util.clj:465)[storm-core-0.9.3.2.2.4.12-1.jar:0.9.3.2.2.4.12-1] at clojure.lang.AFn.run(AFn.java:24)[clojure-1.5.1.jar:na] at java.lang.Thread.run(Thread.java:744)[na:1.7.0_45]Caused by: java.lang.RuntimeException: java.io.NotSerializableException: org.apache.avro.generic.GenericData$Record at backtype.storm.serialization.SerializableSerializer.write(SerializableSerializer.java:41)[storm-core-0.9.3.2.2.4.12-1.jar:0.9.3.2.2.4.12-1] 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.3.2.2.4.12-1.jar:0.9.3.2.2.4.12-1] at backtype.storm.serialization.KryoTupleSerializer.serialize(KryoTupleSerializer.java:44)[storm-core-0.9.3.2.2.4.12-1.jar:0.9.3.2.2.4.12-1] at backtype.storm.daemon.worker$mk_transfer_fn$transfer_fn__5386.invoke(worker.clj:139)[storm-core-0.9.3.2.2.4.12-1.jar:0.9.3.2.2.4.12-1] at backtype.storm.daemon.executor$start_batch_transfer__GT_worker_handler_BANG_$fn__5107.invoke(executor.clj:263)[storm-core-0.9.3.2.2.4.12-1.jar:0.9.3.2.2.4.12-1] at backtype.storm.disruptor$clojure_handler$reify__1064.onEvent(disruptor.clj:58)[storm-core-0.9.3.2.2.4.12-1.jar:0.9.3.2.2.4.12-1] at backtype.storm.utils.DisruptorQueue.consumeBatchToCursor(DisruptorQueue.java:125)[storm-core-0.9.3.2.2.4.12-1.jar:0.9.3.2.2.4.12-1] ... 6 moreCaused by: java.io.NotSerializableException: org.apache.avro.generic.GenericData$Record at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1183)[na:1.7.0_45] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347)[na:1.7.0_45] at backtype.storm.serialization.SerializableSerializer.write(SerializableSerializer.java:38)[storm-core-0.9.3.2.2.4.12-1.jar:0.9.3.2.2.4.12-1] ... 16 more