Intellij does not compile Play 2.4 applications: creating a "root" module: java.lang.NullPointerException

I used IntelliJ 15.0.2 Ultimate to develop Play 2.4.6 applications. Everything was fine until last Friday, when IntelliJ was broken, and I do not know why. Actually, I do not know if it was something that I updated, or something that I changed.

This is what I get after clicking on make:

enter image description here

I have it on ~/.IntelliJIdea15/system/log/build-log/build.log:

2016-01-20 16: 25: 17,025 [27009] INFO - .incremental.IncProjectBuilder - Module 'root' production: java.lang.NullPointerException
org.jetbrains.jps.incremental.ProjectBuildException: Module 'root' production: java.lang.NullPointerException
        at org.jetbrains.jps.incremental.IncProjectBuilder.buildTargetsChunk (IncProjectBuilder.java:1005)
        at org.jetbrains.jps.incremental.IncProjectBuilder.buildChunkIfAffected (IncProjectBuilder.java:870)
        at org.jetbrains.jps.incremental.IncProjectBuilder.buildChunks (IncProjectBuilder.java:695)
        at org.jetbrains.jps.incremental.IncProjectBuilder.runBuild (IncProjectBuilder.javahaps86)
        at org.jetbrains.jps.incremental.IncProjectBuilder.build (IncProjectBuilder.java:193)
        at org.jetbrains.jps.cmdline.BuildRunner.runBuild (BuildRunner.java:137)
        at org.jetbrains.jps.cmdline.BuildSession.runBuild (BuildSession.java:294)
        at org.jetbrains.jps.cmdline.BuildSession.run (BuildSession.java:125)
        at // [...]

I get this error message when I try to do / build / rebuld / test app. I tried ALL:

  • Kubuntu 15.10
  • Play IntelliJ
  • $ activator clean $ activator run
  • Ivy
  • IntelliJ
  • .idea target
  • Java 1.7 1.8 1,8
  • IntellJ 15.0.2 ~/.IntelliJIdea15
  • IntelliJ 15.0.3 root
  • build.properties sbt.version 0.13.7, 0.13.8, 0.13.9
  • build.sbt scalaVersion 2.11.7 2.11.6
  • sbt

, $ activator run $ activator test . IntelliJ [Right click] > Run Play 2 App, . , , , IntelliJ, .

.

:. == > https://github.com/pac4j/play-pac4j-java-demo

+4
1

, , , https://youtrack.jetbrains.com/issue/SCL-9780

  • IDEA "" > "" > " " > "Play2" " Play 2 ".
  • , $ activator clean compile test

, Ultimate 2016.1 , .

+1

Source: https://habr.com/ru/post/1625205/


All Articles