can't run specs tests

Hi,

I'm fighting this problem for 3-4 days now - I'm utterly clueless.

When I run a specs test I receive the following error (I tried IDEA 9.0.1, 95.24, 94.633 and Scala 2.7.7 and 2.8.0.Beta1 as well as multiple versions of specs). Still the same (PS: works without a prob in maven).

Exception in thread "main" java.lang.AbstractMethodError: org.jetbrains.plugins.scala.testingSupport.specs.Specs16Scala28Notifier.exampleCompleted(Ljava/lang/String;)V
    at org.specs.runner.NotifierRunner$$anonfun$reportExample$7.apply(NotifierRunner.scala:121)
    at org.specs.runner.NotifierRunner$$anonfun$reportExample$7.apply(NotifierRunner.scala:121)
    at scala.collection.IndexedSeqLike$class.foreach(IndexedSeqLike.scala:87)
    at scala.collection.mutable.ArrayOps.foreach(ArrayOps.scala:20)
    at org.specs.runner.NotifierRunner.reportExample(NotifierRunner.scala:121)
    at org.specs.runner.NotifierRunner$$anonfun$reportSystem$5.apply(NotifierRunner.scala:93)
    at org.specs.runner.NotifierRunner$$anonfun$reportSystem$5.apply(NotifierRunner.scala:92)
    at scala.collection.LinearSeqLike$class.foreach(LinearSeqLike.scala:97)
    at scala.collection.immutable.List.foreach(List.scala:46)
    at org.specs.runner.NotifierRunner.reportSystem(NotifierRunner.scala:92)
    at org.specs.runner.NotifierRunner$$anonfun$reportASpecification$3.apply(NotifierRunner.scala:67)
    at org.specs.runner.NotifierRunner$$anonfun$reportASpecification$3.apply(NotifierRunner.scala:66)
    at scala.collection.LinearSeqLike$class.foreach(LinearSeqLike.scala:97)
    at scala.collection.immutable.List.foreach(List.scala:46)
    at org.specs.runner.NotifierRunner.reportASpecification(NotifierRunner.scala:66)
    at org.specs.runner.NotifierRunner.report(NotifierRunner.scala:59)
    at org.specs.runner.NotifierRunner.report(NotifierRunner.scala:45)
    at org.specs.runner.Reporter$class.reportSpecs(Reporter.scala:193)
    at org.specs.runner.NotifierRunner.reportSpecs(NotifierRunner.scala:45)
    at org.jetbrains.plugins.scala.testingSupport.specs.Specs16Scala28Runner$$anonfun$main$1.apply(Specs16Scala28Runner.scala:64)
    at org.jetbrains.plugins.scala.testingSupport.specs.Specs16Scala28Runner$$anonfun$main$1.apply(Specs16Scala28Runner.scala:41)
    at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:56)
    at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:28)
    at org.jetbrains.plugins.scala.testingSupport.specs.Specs16Scala28Runner$.main(Specs16Scala28Runner.scala:41)
    at org.jetbrains.plugins.scala.testingSupport.specs.Specs16Scala28Runner.main(Specs16Scala28Runner.scala)

Help ?!

5 comments

here is an example maven/idea project to verify the error
(please note: I always deleted my .IntelliJIdea90 folder before trying a new IDEA version)

Cheers,
stephanos



Attachment(s):
idea-test.zip
0

What Scala plugin version you are using?
Look at Facet page and check that you are using same compiler as library and as Specs version.
I checked this issue now, and created test project for you. See attached project and try to run specs tests in this project.

Best regards,
Alexander Podkhalyuzin.



Attachment(s):
TestScalaDownload.rar.zip
0

wow, thanks for your reply!

At this very moment I'm using 0.3.10245 in combination with IDEA 95.24 (yet as I was saying it happend on every version).

I tried your attached project and it works, however, I can't see how this solves my problem. I'm using the same versions as you (presumably), yet it fails.
Were you able to get my project to execute correctly? Apparently maven or not maven makes a difference.

Cheers,
stephanos

0

Ok, give me an example: link to the repository, attachement, or you can send it to my email (Alexander.Podkhalyuzin@jetbrains.com).
And if it's a bug, I'll fix it after detecting problem.

Best regards,
Alexander Podkhalyuzin.

0

first of all, in the second post I already attached a proper example project

second of all, now that I tried specs_2.8.0.Beta1 (v 1.6.2) it magically works. For me, every other combination failed before (2.7.7 with specs 1.6.2 as well as 2.8.0 with specs 1.6.5-SNAPSHOT).
maybe this could be documented/noted somewhere.

thanks for your valueable feedback :-)
(I tried the eclipse scala plugin in the meantime, but it comes nowhere near yours)

0

Please sign in to leave a comment.