Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

launching run-as ScalaTests generates NullPointerException Error #29

Open
pep opened this issue Aug 22, 2013 · 3 comments
Open

launching run-as ScalaTests generates NullPointerException Error #29

pep opened this issue Aug 22, 2013 · 3 comments

Comments

@pep
Copy link

pep commented Aug 22, 2013

with Typesafe's ScalaIDE ScalaTest plugin install in ScalaSDK for Eclipse 3.0.1 on Windows 8

ScalaTest for Scala IDE 2.9.3.v-3-2_10-201307130940-55f5c32 org.scala-ide.sdt.scalatest.feature.feature.group scala-ide.org

When trying to launch run-as on a ScalaTest suite the follow error always occurs:

An internal error occurred during: "Launching ListSuite".
java.lang.NullPointerException

@pep
Copy link
Author

pep commented Aug 22, 2013

as it turns out my issue was caused by my maven (scala) project not having a scala nature. If the project isn't properly a scala one the Scala-IDE scalaTest plugin can't handle that. Very annoying as a lot of things just don't work at all and for a newbie its very frustrating especially starting with a scala project that used maven from elsewhere!!!!

see: http://stackoverflow.com/questions/3243984/scala-ide-error-projectname-is-not-a-scala-project

@cheeseng
Copy link
Contributor

cheeseng commented Jun 6, 2014

Sorry for the painful experience, I am not sure how I can help at the ScalaTest plugin level, am trying to ask in scala-ide-dev for advise:

https://groups.google.com/forum/#!topic/scala-ide-dev/JBr4g6U5b2M

@rkrzewski
Copy link

Do you have https://github.com/sonatype/m2eclipse-scala plugin installed in Eclipse? It's necessary to integrate Maven / m2e with Scala-IDE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants