Skip to content

Instantly share code, notes, and snippets.

@DarkDimius
Created March 29, 2013 13:54
Show Gist options
  • Save DarkDimius/5271005 to your computer and use it in GitHub Desktop.
Save DarkDimius/5271005 to your computer and use it in GitHub Desktop.
Exception in thread "main" java.lang.ExceptionInInitializerError
at scala.collection.workstealing.benchmark.scalameter.RangeBenchmark$$anonfun$3.apply(ParRangeBenchmark.scala:33)
at scala.collection.workstealing.benchmark.scalameter.RangeBenchmark$$anonfun$3.apply(ParRangeBenchmark.scala:33)
at org.scalameter.Gen$$anon$1$$anonfun$warmupset$1.apply(Gen.scala:13)
at scala.collection.Iterator$$anon$11.next(Iterator.scala:328)
at scala.collection.Iterator$class.foreach(Iterator.scala:727)
at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
at org.scalameter.execution.SeparateJvmsExecutor$$anonfun$sample$1$1.apply(SeparateJvmsExecutor.scala:49)
at org.scalameter.execution.SeparateJvmsExecutor$$anonfun$sample$1$1.apply(SeparateJvmsExecutor.scala:39)
at org.scalameter.execution.package$Main$.mainMethod(package.scala:73)
at org.scalameter.execution.package$Main$.main(package.scala:68)
at org.scalameter.execution.package$Main.main(package.scala)
Caused by: java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java:454)
at java.lang.Integer.parseInt(Integer.java:527)
at scala.collection.immutable.StringLike$class.toInt(StringLike.scala:229)
at scala.collection.immutable.StringOps.toInt(StringOps.scala:31)
at scala.collection.workstealing.Workstealing$DefaultConfig$.<init>(Workstealing.scala:446)
at scala.collection.workstealing.Workstealing$DefaultConfig$.<clinit>(Workstealing.scala)
... 11 more
Test threw exception: java.lang.ClassCastException: org.scalameter.execution.SeparateJvmsExecutor$$anonfun$sample$1$1 cannot be cast to scala.collection.Seq
java.lang.ClassCastException: org.scalameter.execution.SeparateJvmsExecutor$$anonfun$sample$1$1 cannot be cast to scala.collection.Seq
at org.scalameter.execution.SeparateJvmsExecutor.sample$1(SeparateJvmsExecutor.scala:39)
at org.scalameter.execution.SeparateJvmsExecutor.org$scalameter$execution$SeparateJvmsExecutor$$sampleReport$1(SeparateJvmsExecutor.scala:66)
at org.scalameter.execution.SeparateJvmsExecutor$$anonfun$3.apply(SeparateJvmsExecutor.scala:80)
at org.scalameter.execution.SeparateJvmsExecutor$$anonfun$3.apply(SeparateJvmsExecutor.scala:78)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
at scala.collection.Iterator$class.foreach(Iterator.scala:727)
at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
at scala.collection.AbstractTraversable.map(Traversable.scala:105)
at org.scalameter.execution.SeparateJvmsExecutor.runSetup(SeparateJvmsExecutor.scala:78)
at org.scalameter.Executor$$anonfun$run$1.apply(Executor.scala:15)
at org.scalameter.Executor$$anonfun$run$1.apply(Executor.scala:14)
at org.scalameter.utils.Tree$$anonfun$1.apply(Tree.scala:17)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
at scala.collection.immutable.List.foreach(List.scala:318)
at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
at scala.collection.AbstractTraversable.map(Traversable.scala:105)
at org.scalameter.utils.Tree.map(Tree.scala:17)
at org.scalameter.utils.Tree$$anonfun$2.apply(Tree.scala:18)
at org.scalameter.utils.Tree$$anonfun$2.apply(Tree.scala:18)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
at scala.collection.immutable.List.foreach(List.scala:318)
at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
at scala.collection.AbstractTraversable.map(Traversable.scala:105)
at org.scalameter.utils.Tree.map(Tree.scala:18)
at org.scalameter.utils.Tree$$anonfun$2.apply(Tree.scala:18)
at org.scalameter.utils.Tree$$anonfun$2.apply(Tree.scala:18)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
at scala.collection.immutable.List.foreach(List.scala:318)
at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
at scala.collection.AbstractTraversable.map(Traversable.scala:105)
at org.scalameter.utils.Tree.map(Tree.scala:18)
at org.scalameter.Executor$class.run(Executor.scala:14)
at org.scalameter.execution.SeparateJvmsExecutor.run(SeparateJvmsExecutor.scala:18)
at org.scalameter.PerformanceTest$Initialization$class.executeTests(PerformanceTest.scala:43)
at org.scalameter.PerformanceTest.executeTests(PerformanceTest.scala:10)
at org.scalameter.ScalaMeterFramework$$anon$1$$anonfun$run$1$$anonfun$apply$1$$anonfun$apply$2.apply(ScalaMeterFramework.scala:69)
at org.scalameter.ScalaMeterFramework$$anon$1$$anonfun$run$1$$anonfun$apply$1$$anonfun$apply$2.apply(ScalaMeterFramework.scala:60)
at org.scalameter.package$MonadicDynVar$$anon$3$$anonfun$foreach$1.apply(package.scala:20)
at scala.util.DynamicVariable.withValue(DynamicVariable.scala:57)
at org.scalameter.package$MonadicDynVar$$anon$3.foreach(package.scala:20)
at org.scalameter.ScalaMeterFramework$$anon$1$$anonfun$run$1$$anonfun$apply$1.apply(ScalaMeterFramework.scala:60)
at org.scalameter.ScalaMeterFramework$$anon$1$$anonfun$run$1$$anonfun$apply$1.apply(ScalaMeterFramework.scala:59)
at org.scalameter.package$MonadicDynVar$$anon$3$$anonfun$foreach$1.apply(package.scala:20)
at scala.util.DynamicVariable.withValue(DynamicVariable.scala:57)
at org.scalameter.package$MonadicDynVar$$anon$3.foreach(package.scala:20)
at org.scalameter.ScalaMeterFramework$$anon$1$$anonfun$run$1.apply(ScalaMeterFramework.scala:59)
at org.scalameter.ScalaMeterFramework$$anon$1$$anonfun$run$1.apply(ScalaMeterFramework.scala:58)
at org.scalameter.package$MonadicDynVar$$anon$3$$anonfun$foreach$1.apply(package.scala:20)
at scala.util.DynamicVariable.withValue(DynamicVariable.scala:57)
at org.scalameter.package$MonadicDynVar$$anon$3.foreach(package.scala:20)
at org.scalameter.ScalaMeterFramework$$anon$1.run(ScalaMeterFramework.scala:58)
at sbt.TestRunner.delegateRun(TestFramework.scala:58)
at sbt.TestRunner.run(TestFramework.scala:51)
at sbt.TestRunner.runTest$1(TestFramework.scala:71)
at sbt.TestRunner.run(TestFramework.scala:80)
at sbt.TestFramework$$anonfun$6$$anonfun$apply$8$$anonfun$7$$anonfun$apply$9.apply(TestFramework.scala:178)
at sbt.TestFramework$$anonfun$6$$anonfun$apply$8$$anonfun$7$$anonfun$apply$9.apply(TestFramework.scala:178)
at sbt.TestFramework$.sbt$TestFramework$$withContextLoader(TestFramework.scala:190)
at sbt.TestFramework$$anonfun$6$$anonfun$apply$8$$anonfun$7.apply(TestFramework.scala:178)
at sbt.TestFramework$$anonfun$6$$anonfun$apply$8$$anonfun$7.apply(TestFramework.scala:178)
at sbt.Tests$$anonfun$makeParallel$1$$anonfun$apply$7.apply(Tests.scala:119)
at sbt.Tests$$anonfun$makeParallel$1$$anonfun$apply$7.apply(Tests.scala:119)
at sbt.std.Transform$$anon$3$$anonfun$apply$2.apply(System.scala:47)
at sbt.std.Transform$$anon$3$$anonfun$apply$2.apply(System.scala:47)
at sbt.std.Transform$$anon$5.work(System.scala:71)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:232)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:232)
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
at sbt.Execute.work(Execute.scala:238)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:232)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:232)
at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)
at sbt.CompletionService$$anon$2.call(CompletionService.scala:30)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
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:722)
[error] Error running separate JVM: java.lang.ClassCastException: org.scalameter.execution.SeparateJvmsExecutor$$anonfun$sample$1$1 cannot be cast to scala.collection.Seq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment