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 Stack Overflow by Newbie
, 1 year ago
This exception has no message.
java.lang.NullPointerException: 	at $line125.$read$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$MyUtils$$anonfun$2.apply(:90)	at $line125.$read$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$MyUtils$$anonfun$2.apply(:90)	at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)	at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)	at scala.collection.Iterator$class.foreach(Iterator.scala:727)	at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)	at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)	at scala.collection.AbstractIterable.foreach(Iterable.scala:54)	at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)	at scala.collection.AbstractTraversable.map(Traversable.scala:105)	at $line125.$read$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$MyUtils$.(:90)	at $line125.$read$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.MyUtils$lzycompute(:79)	at $line125.$read$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.MyUtils(:79)	at $line125.$read$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$MyUtils$.readResolve(:79)	at sun.reflect.GeneratedMethodAccessor85.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:483)	at java.io.ObjectStreamClass.invokeReadResolve(ObjectStreamClass.java:1104)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1810)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:371)	at scala.collection.immutable.$colon$colon.readObject(List.scala:362)	at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:483)	at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1017)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1896)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:371)	at scala.collection.immutable.$colon$colon.readObject(List.scala:362)	at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:483)	at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1017)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1896)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:371)	at scala.collection.immutable.$colon$colon.readObject(List.scala:362)	at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:483)	at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1017)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1896)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:371)	at org.apache.spark.serializer.JavaDeserializationStream.readObject(JavaSerializer.scala:76)	at org.apache.spark.serializer.JavaSerializerInstance.deserialize(JavaSerializer.scala:115)	at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:61)	at org.apache.spark.scheduler.Task.run(Task.scala:89)	at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:213)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)	at java.lang.Thread.run(Thread.java:745)