java.io.InvalidClassException: org.apache.spark.scheduler.Task; local class incompatible: stream classdesc serialVersionUID = -6941686529120477296, local class serialVersionUID = -1589734467697262504

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 Google Groups by Unknown author, 1 year ago
org.apache.spark.scheduler.Task; local class incompatible: stream classdesc serialVersionUID = -6941686529120477296, local class serialVersionUID = -1589734467697262504
via spark-user by Rachana Srivastava, 1 year ago
org.apache.spark.scheduler.Task; local class incompatible: stream classdesc serialVersionUID = -4703555755588060120, local class serialVersionUID = -1589734467697262504
via Stack Overflow by Unknown author, 2 years ago
net.sf.jasperreports.engine.base.JRBaseReport; local class incompatible: stream classdesc serialVersionUID = 10200, local class serialVersionUID = 605
via sourceforge.net by Unknown author, 2 years ago
dori.jasper.engine.base.JRBaseReport; local class incompatible: stream classdesc serialVersionUID = 405, local class serialVersionUID = 500
via Oracle Community by 843829, 1 year ago
org.jboss.proxy.ejb.GenericEJBInterceptor; local class incompatible: stream classdesc serialVersionUID = 3844706474734439975, local class serialVersionUID = 4582256576523491346
via Coderanch by vijay Panner, 1 year ago
net.sf.jasperreports.engine.base.JRBaseReport; local class incompatible: stream classdesc serialVersionUID = 10200, local class serialVersionUID = 606
java.io.InvalidClassException: org.apache.spark.scheduler.Task; local class incompatible: stream classdesc serialVersionUID = -6941686529120477296, local class serialVersionUID = -1589734467697262504
at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:612)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1630)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1521)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1630)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1521)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1779)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1353)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:373)
at org.apache.spark.serializer.JavaDeserializationStream.readObject(JavaSerializer.scala:76)
at org.apache.spark.serializer.JavaSerializerInstance.deserialize(JavaSerializer.scala:115)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Once, 1 month ago
4 times, 3 months ago
4 times, 3 months ago
Once, 4 months ago
8 times, 4 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.