java.lang.ArrayStoreException: org.apache.avro.generic.GenericData$Record

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.avro.generic.GenericData$Record
via Google Groups by Sungwook Yoon, 10 months ago
org.apache.avro.generic.GenericData$Record
java.lang.ArrayStoreException: org.apache.avro.generic.GenericData$Record
at scala.runtime.ScalaRunTime$.array_update(ScalaRunTime.scala:88)
at scala.Array$.slowcopy(Array.scala:81)
at scala.Array$.copy(Array.scala:107)
at scala.collection.mutable.ResizableArray$class.copyToArray(ResizableArray.scala:77)
at scala.collection.mutable.ArrayBuffer.copyToArray(ArrayBuffer.scala:47)
at scala.collection.TraversableOnce$class.copyToArray(TraversableOnce.scala:241)
at scala.collection.AbstractTraversable.copyToArray(Traversable.scala:105)
at scala.collection.TraversableOnce$class.toArray(TraversableOnce.scala:249)
at scala.collection.AbstractTraversable.toArray(Traversable.scala:105)
at scala.collection.TraversableOnce$class.toArray(TraversableOnce.scala:252)
at org.apache.spark.rdd.RDD$$anonfun$take$1$$anonfun$28.apply(RDD.scala:1328)
at org.apache.spark.rdd.RDD$$anonfun$take$1$$anonfun$28.apply(RDD.scala:1328)
at org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:1858)
at org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:1858)
at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:66)
at org.apache.spark.scheduler.Task.run(Task.scala:89)
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)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 5 months ago
4 times, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

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