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

Solutions on the web

via spark-user by moon soo Lee, 1 year ago
via Stack Overflow by Ellen
, 1 year ago
via Netbeans Bugzilla by vlcak, 10 months ago
via GitHub by skiniry
, 1 year ago
via java.com by Unknown author, 1 year ago
java.io.OptionalDataException: 	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1370)	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)	at scala.collection.immutable.$colon$colon.readObject(List.scala:366)	at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:606)	at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1017)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1893)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1798)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)	at scala.collection.immutable.$colon$colon.readObject(List.scala:366)	at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:606)	at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1017)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1893)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1798)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)	at scala.collection.immutable.$colon$colon.readObject(List.scala:366)	at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:606)	at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1017)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1893)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1798)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)	at scala.collection.immutable.$colon$colon.readObject(List.scala:366)	at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:606)	at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1017)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1893)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1798)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)	at scala.collection.immutable.$colon$colon.readObject(List.scala:366)	at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:606)	at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1017)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1893)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1798)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1990)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1915)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1798)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1990)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1915)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1798)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1990)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1915)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1798)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)	at akka.serialization.JavaSerializer$$anonfun$1.apply(Serializer.scala:136)	at scala.util.DynamicVariable.withValue(DynamicVariable.scala:57)	at akka.serialization.JavaSerializer.fromBinary(Serializer.scala:136)	at akka.serialization.Serialization$$anonfun$deserialize$1.apply(Serialization.scala:104)	at scala.util.Try$.apply(Try.scala:161)	at akka.serialization.Serialization.deserialize(Serialization.scala:98)	at akka.remote.serialization.MessageContainerSerializer.fromBinary(MessageContainerSerializer.scala:58)	at akka.serialization.Serialization$$anonfun$deserialize$1.apply(Serialization.scala:104)	at scala.util.Try$.apply(Try.scala:161)	at akka.serialization.Serialization.deserialize(Serialization.scala:98)	at akka.remote.MessageSerializer$.deserialize(MessageSerializer.scala:23)	at akka.remote.DefaultMessageDispatcher.payload$lzycompute$1(Endpoint.scala:55)	at akka.remote.DefaultMessageDispatcher.payload$1(Endpoint.scala:55)	at akka.remote.DefaultMessageDispatcher.dispatch(Endpoint.scala:73)	at akka.remote.EndpointReader$$anonfun$receive$2.applyOrElse(Endpoint.scala:764)	at akka.actor.ActorCell.receiveMessage(ActorCell.scala:498)	at akka.actor.ActorCell.invoke(ActorCell.scala:456)	at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:237)	at akka.dispatch.Mailbox.run(Mailbox.scala:219)	at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:386)	at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)	at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)	at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)	at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)