scala.MatchError: WrappedArray(1, 1) (of class scala.collection.mutable.WrappedArray$ofRef)

Stack Overflow | user2521203 | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Combining entire column of Arrays into one Array

    Stack Overflow | 7 months ago | user2521203
    scala.MatchError: WrappedArray(1, 1) (of class scala.collection.mutable.WrappedArray$ofRef)

  1. odd 4 times, last 2 days ago

Root Cause Analysis

  1. scala.MatchError

    WrappedArray(1, 1) (of class scala.collection.mutable.WrappedArray$ofRef)

    at scala.runtime.ScalaRunTime$.array_apply()
  2. Scala
    Array$.copy
    1. scala.runtime.ScalaRunTime$.array_apply(ScalaRunTime.scala:71)
    2. scala.Array$.slowcopy(Array.scala:81)
    3. scala.Array$.copy(Array.scala:107)
    3 frames
  3. $line150
    $read$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$anonfun$1.apply
    1. $line150.$read$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$anonfun$1.apply(<console>:32)
    2. $line150.$read$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$anonfun$1.apply(<console>:31)
    2 frames
  4. $line190
    $read$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$anonfun$1.apply
    1. $line190.$read$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$anonfun$1.apply(<console>:46)
    2. $line190.$read$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$anonfun$1.apply(<console>:46)
    2 frames
  5. Scala
    AbstractIterator.foreach
    1. scala.collection.Iterator$class.foreach(Iterator.scala:727)
    2. scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    2 frames
  6. Spark
    Executor$TaskRunner.run
    1. org.apache.spark.rdd.RDD$$anonfun$foreach$1$$anonfun$apply$32.apply(RDD.scala:912)
    2. org.apache.spark.rdd.RDD$$anonfun$foreach$1$$anonfun$apply$32.apply(RDD.scala:912)
    3. org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:1869)
    4. org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:1869)
    5. org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:66)
    6. org.apache.spark.scheduler.Task.run(Task.scala:89)
    7. org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:214)
    7 frames
  7. Java RT
    ThreadPoolExecutor$Worker.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    2 frames