running specs results in an error

Hi
   Im using idea with scala 2.7.7 on mac OSX. I've noticed that if I try to run specs, the specs run correctly but I get an error on the command line.The code Im running is the first demo example at
http://code.google.com/p/specs/wiki/QuickStart

Could not instantiate class helloWorld: 0
java.lang.ArrayIndexOutOfBoundsException: 0
    at org.jetbrains.plugins.scala.testingSupport.specs.SpecsRunner$.createInstanceOf(SpecsRunner.scala:93)
    at org.jetbrains.plugins.scala.testingSupport.specs.SpecsRunner$.createObject(SpecsRunner.scala:78)
    at org.jetbrains.plugins.scala.testingSupport.specs.SpecsRunner$$anonfun$main$1.apply(SpecsRunner.scala:40)
    at org.jetbrains.plugins.scala.testingSupport.specs.SpecsRunner$$anonfun$main$1.apply(SpecsRunner.scala:39)
    at scala.Iterator$class.foreach(Iterator.scala:414)
    at scala.collection.mutable.ResizableArray$$anon$1.foreach(ResizableArray.scala:66)
    at scala.Iterable$class.foreach(Iterable.scala:256)
    at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:26)
    at org.jetbrains.plugins.scala.testingSupport.specs.SpecsRunner$.main(SpecsRunner.scala:39)
    at org.jetbrains.plugins.scala.testingSupport.specs.SpecsRunner.main(SpecsRunner.scala)
Could not instantiate class helloWorld: 0
java.lang.ArrayIndexOutOfBoundsException: 0
    at org.jetbrains.plugins.scala.testingSupport.specs.SpecsRunner$.createInstanceOf(SpecsRunner.scala:93)
    at org.jetbrains.plugins.scala.testingSupport.specs.SpecsRunner$.createObject(SpecsRunner.scala:78)
    at org.jetbrains.plugins.scala.testingSupport.specs.SpecsRunner$$anonfun$main$1.apply(SpecsRunner.scala:40)
    at org.jetbrains.plugins.scala.testingSupport.specs.SpecsRunner$$anonfun$main$1.apply(SpecsRunner.scala:39)
    at scala.Iterator$class.foreach(Iterator.scala:414)
    at scala.collection.mutable.ResizableArray$$anon$1.foreach(ResizableArray.scala:66)
    at scala.Iterable$class.foreach(Iterable.scala:256)
    at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:26)
    at org.jetbrains.plugins.scala.testingSupport.specs.SpecsRunner$.main(SpecsRunner.scala:39)
    at org.jetbrains.plugins.scala.testingSupport.specs.SpecsRunner.main(SpecsRunner.scala)

Process finished with exit code 0

3 comments
Comment actions Permalink

Which Specs version are you using?

Best regards,
Alexander Podkhalyuzin.

0
Comment actions Permalink

version 1.6.1, scala 2.7.7

0
Comment actions Permalink

Ok, then what scala plugin version are you using? (if less then 0.3.385 then it's normal bug, and it's fixed)
If it's 0.3.385 or higher, please send me small project with this bug (with setted up appropriate jars).

Best regards,
Alexander Podkhalyuzin.

0

Please sign in to leave a comment.