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

, 1 year ago
expected zero arguments for construction of ClassDict (for pyspark.ml.linalg.SparseVector)
via Stack Overflow by Bruce Lu
, 7 months ago
expected zero arguments for construction of ClassDict (for pyspark.sql.types._create_row)
via spark-dev by Meethu Mathew, 9 months ago
expected zero arguments for construction of ClassDict (for numpy.core.multiarray._reconstruct)
via spark-dev by Meethu Mathew, 1 year ago
expected zero arguments for construction of ClassDict (for numpy.core.multiarray._reconstruct)
via spark-dev by Davies Liu, 9 months ago
expected zero arguments for construction of ClassDict (for numpy.core.multiarray._reconstruct)
via spark-dev by Meethu Mathew, 1 year ago
expected zero arguments for construction of ClassDict (for numpy.core.multiarray._reconstruct)
net.razorvine.pickle.PickleException: expected zero arguments for construction of ClassDict (for pyspark.ml.linalg.SparseVector)	at net.razorvine.pickle.objects.ClassDictConstructor.construct(ClassDictConstructor.java:23)	at net.razorvine.pickle.Unpickler.load_reduce(Unpickler.java:707)	at net.razorvine.pickle.Unpickler.dispatch(Unpickler.java:175)	at net.razorvine.pickle.Unpickler.load(Unpickler.java:99)	at net.razorvine.pickle.Unpickler.loads(Unpickler.java:112)	at org.apache.spark.api.python.SerDeUtil$$anonfun$pythonToJava$1$$anonfun$apply$1.apply(SerDeUtil.scala:152)	at org.apache.spark.api.python.SerDeUtil$$anonfun$pythonToJava$1$$anonfun$apply$1.apply(SerDeUtil.scala:151)	at scala.collection.Iterator$$anon$12.nextCur(Iterator.scala:434)	at scala.collection.Iterator$$anon$12.hasNext(Iterator.scala:440)	at scala.collection.Iterator$$anon$10.hasNext(Iterator.scala:389)	at scala.collection.Iterator$class.foreach(Iterator.scala:893)	at scala.collection.AbstractIterator.foreach(Iterator.scala:1336)	at scala.collection.generic.Growable$class.$plus$plus$eq(Growable.scala:59)	at scala.collection.mutable.ArrayBuffer.$plus$plus$eq(ArrayBuffer.scala:104)	at scala.collection.mutable.ArrayBuffer.$plus$plus$eq(ArrayBuffer.scala:48)	at scala.collection.TraversableOnce$class.to(TraversableOnce.scala:310)	at scala.collection.AbstractIterator.to(Iterator.scala:1336)	at scala.collection.TraversableOnce$class.toBuffer(TraversableOnce.scala:302)	at scala.collection.AbstractIterator.toBuffer(Iterator.scala:1336)	at scala.collection.TraversableOnce$class.toArray(TraversableOnce.scala:289)	at scala.collection.AbstractIterator.toArray(Iterator.scala:1336)	at org.apache.spark.rdd.RDD$$anonfun$take$1$$anonfun$29.apply(RDD.scala:1305)	at org.apache.spark.rdd.RDD$$anonfun$take$1$$anonfun$29.apply(RDD.scala:1305)	at org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:1897)	at org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:1897)	at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:70)	at org.apache.spark.scheduler.Task.run(Task.scala:85)	at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:274)	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)