The Artima Developer Community
Sponsored Link

ScalaTest/ScalaUtils Forum
Problem with 0.9.5

2 replies on 1 page. Most recent reply: Apr 10, 2009 7:11 AM by Jonas Bonér

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 2 replies on 1 page
Jonas Bonér

Posts: 5
Nickname: jboner
Registered: Dec, 2007

Problem with 0.9.5 Posted: Apr 8, 2009 7:22 AM
Reply to this message Reply
Advertisement
Hi there.

I get this exception when trying to run my tests with 0.9.5.

java.lang.NoSuchMethodError: scala.runtime.BoxedObjectArray.elements()Ljava/lang/Object;

I see that this error has been posted on the forum before?
Is there an easy fix that I can apply myself?

Thanks, Jonas.


Bill Venners

Posts: 2284
Nickname: bv
Registered: Jan, 2002

Re: Problem with 0.9.5 Posted: Apr 9, 2009 8:33 AM
Reply to this message Reply
Hi Jonas,

That looks like a Scala version problem. What version of Scala are you using, and do you perhaps have any older ScalaTest stuff lying around on the classpath, which would have been compiled with an earlier version of Scala?

Jonas Bonér

Posts: 5
Nickname: jboner
Registered: Dec, 2007

Re: Problem with 0.9.5 Posted: Apr 10, 2009 7:11 AM
Reply to this message Reply
Thanks Bill.

I am ashamed to admit that I had indeed an old version of ScalaTest on the classpath.

Thanks and keep up the good work. I really like the new 0.9.5 and its excellent BDD support
/Jonas.

Flat View: This topic has 2 replies on 1 page
Topic: VerifyError - main method can only throw Throwable. Previous Topic   Next Topic Topic: Showing stacktraces for test results

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use