java.lang.NoSuchMethodError: scala.Predef$.ArrowAssoc(Ljava/lang/Object;)Ljava/lang/Object;

Apache's JIRA Issue Tracker | DeepakVohra | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Naive Bayes classifier generates following error. ERROR Executor: Exception in task 0.0 in stage 0.0 (TID 0) java.lang.NoSuchMethodError: scala.Predef$.ArrowAssoc(Ljava/lang/Object;)Ljava/lang/Object; at breeze.generic.MMRegistry2$class.register(Multimethod.scala:188) at breeze.linalg.VectorOps$$anon$1.breeze$linalg$operators$BinaryRegistry$$super$register(Vector.scala:303) at breeze.linalg.operators.BinaryRegistry$class.register(BinaryOp.scala:87) at breeze.linalg.VectorOps$$anon$1.register(Vector.scala:303) at breeze.linalg.operators.DenseVectorOps$$anon$1.<init>(DenseVectorOps.scala:38) at breeze.linalg.operators.DenseVectorOps$class.$init$(DenseVectorOps.scala:22) at breeze.linalg.DenseVector$.<init>(DenseVector.scala:225) at breeze.linalg.DenseVector$.<clinit>(DenseVector.scala) at breeze.linalg.DenseVector.<init>(DenseVector.scala:63) at breeze.linalg.DenseVector$mcD$sp.<init>(DenseVector.scala:50) at breeze.linalg.DenseVector$mcD$sp.<init>(DenseVector.scala:55) at org.apache.spark.mllib.linalg.DenseVector.toBreeze(Vectors.scala:329) at org.apache.spark.mllib.classification.NaiveBayes$$anonfun$3.apply(NaiveBayes.scala:112) at org.apache.spark.mllib.classification.NaiveBayes$$anonfun$3.apply(NaiveBayes.scala:110) at org.apache.spark.util.collection.ExternalSorter$$anonfun$5.apply(ExternalSorter.scala:200) at org.apache.spark.util.collection.ExternalSorter$$anonfun$5.apply(ExternalSorter.scala:199) at org.apache.spark.util.collection.AppendOnlyMap.changeValue(AppendOnlyMap.scala:142) at org.apache.spark.util.collection.SizeTrackingAppendOnlyMap.changeValue(SizeTrackingAppendOnlyMap.scala:32) at org.apache.spark.util.collection.ExternalSorter.insertAll(ExternalSorter.scala:205) at org.apache.spark.shuffle.sort.SortShuffleWriter.write(SortShuffleWriter.scala:58) at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:68) at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:41) at org.apache.spark.scheduler.Task.run(Task.scala:56) at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:196) 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) 15/01/28 21:50:06 ERROR SparkUncaughtExceptionHandler: Uncaught exception in thread Thread[Executor task launch worker-0,5,main] java.lang.NoSuchMethodError: scala.Predef$.ArrowAssoc(Ljava/lang/Object;)Ljava/lang/Object; at breeze.generic.MMRegistry2$class.register(Multimethod.scala:188) at breeze.linalg.VectorOps$$anon$1.breeze$linalg$operators$BinaryRegistry$$super$register(Vector.scala:303) at breeze.linalg.operators.BinaryRegistry$class.register(BinaryOp.scala:87) at breeze.linalg.VectorOps$$anon$1.register(Vector.scala:303) at breeze.linalg.operators.DenseVectorOps$$anon$1.<init>(DenseVectorOps.scala:38) at breeze.linalg.operators.DenseVectorOps$class.$init$(DenseVectorOps.scala:22) at breeze.linalg.DenseVector$.<init>(DenseVector.scala:225) at breeze.linalg.DenseVector$.<clinit>(DenseVector.scala) at breeze.linalg.DenseVector.<init>(DenseVector.scala:63) at breeze.linalg.DenseVector$mcD$sp.<init>(DenseVector.scala:50) at breeze.linalg.DenseVector$mcD$sp.<init>(DenseVector.scala:55) at org.apache.spark.mllib.linalg.DenseVector.toBreeze(Vectors.scala:329) at org.apache.spark.mllib.classification.NaiveBayes$$anonfun$3.apply(NaiveBayes.scala:112) at org.apache.spark.mllib.classification.NaiveBayes$$anonfun$3.apply(NaiveBayes.scala:110) at org.apache.spark.util.collection.ExternalSorter$$anonfun$5.apply(ExternalSorter.scala:200) at org.apache.spark.util.collection.ExternalSorter$$anonfun$5.apply(ExternalSorter.scala:199) at org.apache.spark.util.collection.AppendOnlyMap.changeValue(AppendOnlyMap.scala:142) at org.apache.spark.util.collection.SizeTrackingAppendOnlyMap.changeValue(SizeTrackingAppendOnlyMap.scala:32) at org.apache.spark.util.collection.ExternalSorter.insertAll(ExternalSorter.scala:205) at org.apache.spark.shuffle.sort.SortShuffleWriter.write(SortShuffleWriter.scala:58) at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:68) at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:41) at org.apache.spark.scheduler.Task.run(Task.scala:56) at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:196) 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)

    Apache's JIRA Issue Tracker | 2 years ago | DeepakVohra
    java.lang.NoSuchMethodError: scala.Predef$.ArrowAssoc(Ljava/lang/Object;)Ljava/lang/Object;
  2. 0

    Naive Bayes classifier generates following error. ERROR Executor: Exception in task 0.0 in stage 0.0 (TID 0) java.lang.NoSuchMethodError: scala.Predef$.ArrowAssoc(Ljava/lang/Object;)Ljava/lang/Object; at breeze.generic.MMRegistry2$class.register(Multimethod.scala:188) at breeze.linalg.VectorOps$$anon$1.breeze$linalg$operators$BinaryRegistry$$super$register(Vector.scala:303) at breeze.linalg.operators.BinaryRegistry$class.register(BinaryOp.scala:87) at breeze.linalg.VectorOps$$anon$1.register(Vector.scala:303) at breeze.linalg.operators.DenseVectorOps$$anon$1.<init>(DenseVectorOps.scala:38) at breeze.linalg.operators.DenseVectorOps$class.$init$(DenseVectorOps.scala:22) at breeze.linalg.DenseVector$.<init>(DenseVector.scala:225) at breeze.linalg.DenseVector$.<clinit>(DenseVector.scala) at breeze.linalg.DenseVector.<init>(DenseVector.scala:63) at breeze.linalg.DenseVector$mcD$sp.<init>(DenseVector.scala:50) at breeze.linalg.DenseVector$mcD$sp.<init>(DenseVector.scala:55) at org.apache.spark.mllib.linalg.DenseVector.toBreeze(Vectors.scala:329) at org.apache.spark.mllib.classification.NaiveBayes$$anonfun$3.apply(NaiveBayes.scala:112) at org.apache.spark.mllib.classification.NaiveBayes$$anonfun$3.apply(NaiveBayes.scala:110) at org.apache.spark.util.collection.ExternalSorter$$anonfun$5.apply(ExternalSorter.scala:200) at org.apache.spark.util.collection.ExternalSorter$$anonfun$5.apply(ExternalSorter.scala:199) at org.apache.spark.util.collection.AppendOnlyMap.changeValue(AppendOnlyMap.scala:142) at org.apache.spark.util.collection.SizeTrackingAppendOnlyMap.changeValue(SizeTrackingAppendOnlyMap.scala:32) at org.apache.spark.util.collection.ExternalSorter.insertAll(ExternalSorter.scala:205) at org.apache.spark.shuffle.sort.SortShuffleWriter.write(SortShuffleWriter.scala:58) at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:68) at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:41) at org.apache.spark.scheduler.Task.run(Task.scala:56) at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:196) 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) 15/01/28 21:50:06 ERROR SparkUncaughtExceptionHandler: Uncaught exception in thread Thread[Executor task launch worker-0,5,main] java.lang.NoSuchMethodError: scala.Predef$.ArrowAssoc(Ljava/lang/Object;)Ljava/lang/Object; at breeze.generic.MMRegistry2$class.register(Multimethod.scala:188) at breeze.linalg.VectorOps$$anon$1.breeze$linalg$operators$BinaryRegistry$$super$register(Vector.scala:303) at breeze.linalg.operators.BinaryRegistry$class.register(BinaryOp.scala:87) at breeze.linalg.VectorOps$$anon$1.register(Vector.scala:303) at breeze.linalg.operators.DenseVectorOps$$anon$1.<init>(DenseVectorOps.scala:38) at breeze.linalg.operators.DenseVectorOps$class.$init$(DenseVectorOps.scala:22) at breeze.linalg.DenseVector$.<init>(DenseVector.scala:225) at breeze.linalg.DenseVector$.<clinit>(DenseVector.scala) at breeze.linalg.DenseVector.<init>(DenseVector.scala:63) at breeze.linalg.DenseVector$mcD$sp.<init>(DenseVector.scala:50) at breeze.linalg.DenseVector$mcD$sp.<init>(DenseVector.scala:55) at org.apache.spark.mllib.linalg.DenseVector.toBreeze(Vectors.scala:329) at org.apache.spark.mllib.classification.NaiveBayes$$anonfun$3.apply(NaiveBayes.scala:112) at org.apache.spark.mllib.classification.NaiveBayes$$anonfun$3.apply(NaiveBayes.scala:110) at org.apache.spark.util.collection.ExternalSorter$$anonfun$5.apply(ExternalSorter.scala:200) at org.apache.spark.util.collection.ExternalSorter$$anonfun$5.apply(ExternalSorter.scala:199) at org.apache.spark.util.collection.AppendOnlyMap.changeValue(AppendOnlyMap.scala:142) at org.apache.spark.util.collection.SizeTrackingAppendOnlyMap.changeValue(SizeTrackingAppendOnlyMap.scala:32) at org.apache.spark.util.collection.ExternalSorter.insertAll(ExternalSorter.scala:205) at org.apache.spark.shuffle.sort.SortShuffleWriter.write(SortShuffleWriter.scala:58) at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:68) at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:41) at org.apache.spark.scheduler.Task.run(Task.scala:56) at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:196) 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)

    Apache's JIRA Issue Tracker | 2 years ago | DeepakVohra
    java.lang.NoSuchMethodError: scala.Predef$.ArrowAssoc(Ljava/lang/Object;)Ljava/lang/Object;
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Spark jobserver giving error while running linearRegressionwithSGD

    GitHub | 1 year ago | nareshbab
    java.lang.NoSuchMethodError: scala.Predef$.ArrowAssoc(Ljava/lang/Object;)Ljava/lang/Object;
  5. 0

    GitHub comment 341#164209195

    GitHub | 1 year ago | velvia
    java.lang.NoSuchMethodError: scala.Predef$.ArrowAssoc(Ljava/lang/Object;)Ljava/lang/Object;

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      scala.Predef$.ArrowAssoc(Ljava/lang/Object;)Ljava/lang/Object;

      at breeze.generic.MMRegistry2$class.register()
    2. breeze.generic
      MMRegistry2$class.register
      1. breeze.generic.MMRegistry2$class.register(Multimethod.scala:188)
      1 frame
    3. breeze.linalg
      VectorOps$$anon$1.breeze$linalg$operators$BinaryRegistry$$super$register
      1. breeze.linalg.VectorOps$$anon$1.breeze$linalg$operators$BinaryRegistry$$super$register(Vector.scala:303)
      1 frame
    4. breeze.linalg.operators
      BinaryRegistry$class.register
      1. breeze.linalg.operators.BinaryRegistry$class.register(BinaryOp.scala:87)
      1 frame
    5. breeze.linalg
      VectorOps$$anon$1.register
      1. breeze.linalg.VectorOps$$anon$1.register(Vector.scala:303)
      1 frame
    6. breeze.linalg.operators
      DenseVectorOps$class.$init$
      1. breeze.linalg.operators.DenseVectorOps$$anon$1.<init>(DenseVectorOps.scala:38)
      2. breeze.linalg.operators.DenseVectorOps$class.$init$(DenseVectorOps.scala:22)
      2 frames
    7. breeze.linalg
      DenseVector$mcD$sp.<init>
      1. breeze.linalg.DenseVector$.<init>(DenseVector.scala:225)
      2. breeze.linalg.DenseVector$.<clinit>(DenseVector.scala)
      3. breeze.linalg.DenseVector.<init>(DenseVector.scala:63)
      4. breeze.linalg.DenseVector$mcD$sp.<init>(DenseVector.scala:50)
      5. breeze.linalg.DenseVector$mcD$sp.<init>(DenseVector.scala:55)
      5 frames
    8. Spark Project ML Library
      DenseVector.toBreeze
      1. org.apache.spark.mllib.linalg.DenseVector.toBreeze(Vectors.scala:329)
      1 frame
    9. Spark Project ML Library
      NaiveBayes$$anonfun$3.apply
      1. org.apache.spark.mllib.classification.NaiveBayes$$anonfun$3.apply(NaiveBayes.scala:112)
      2. org.apache.spark.mllib.classification.NaiveBayes$$anonfun$3.apply(NaiveBayes.scala:110)
      2 frames
    10. Spark
      Executor$TaskRunner.run
      1. org.apache.spark.util.collection.ExternalSorter$$anonfun$5.apply(ExternalSorter.scala:200)
      2. org.apache.spark.util.collection.ExternalSorter$$anonfun$5.apply(ExternalSorter.scala:199)
      3. org.apache.spark.util.collection.AppendOnlyMap.changeValue(AppendOnlyMap.scala:142)
      4. org.apache.spark.util.collection.SizeTrackingAppendOnlyMap.changeValue(SizeTrackingAppendOnlyMap.scala:32)
      5. org.apache.spark.util.collection.ExternalSorter.insertAll(ExternalSorter.scala:205)
      6. org.apache.spark.shuffle.sort.SortShuffleWriter.write(SortShuffleWriter.scala:58)
      7. org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:68)
      8. org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:41)
      9. org.apache.spark.scheduler.Task.run(Task.scala:56)
      10. org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:196)
      10 frames
    11. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames