Latest scala plugin compiler NPE with sbt project

If I use the latest scala plugin it won't compile my sbt project - I see :

Information:12/9/16, 6:21 PM - Compilation completed with 1 error and 0 warnings in 3s 663ms
Error:Module 'npdata_main' production: java.lang.NullPointerException

I set output paths, etc.

If I revert to the previous version it works fine.  There's no stack trace in idea.log.

IntelliJ IDEA 2016.3
Build #IU-163.7743.44, built on November 17, 2016
JRE: 1.8.0_112-release-408-b2 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o

 

 

2 comments
Comment actions Permalink

I have the same issue with the latest release of the plugin: I am not able to compile my Scala project anymore: I get an error at compile time:

Error:Module 'name' production: java.lang.NullPointerException

It seems this is linked to the play2 framework.

 

0
Comment actions Permalink

There was a similar problem with gradle projects recently:

https://youtrack.jetbrains.com/issue/SCL-11072

It was fixed in scala plugin 2016.3.5. Please check it out.

0

Please sign in to leave a comment.