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

不打扰是莪最后的温柔 提交于 2020-12-04 16:00:28

问题


I'm running my Java project in IntelliJ 14.1.1 and I'm using play framework. For some reason I can't compile any part of the code in IntelliJ (even though everything is working perfectly in the play environment). I get this error when trying to compile :

Information:5/26/15, 19:26 - Compilation completed with 1 error and 0 warnings in 1s 165ms
Error:Module 'doorman' production: java.lang.NullPointerException

'doorman' is the name of the project.

Can anyone please help?


回答1:


For me, it was the "Scala plugin" version 2016.3.4.

Removed it from IDEA and installed 2016.3.3 version.

Then everything started working.

UPDATE [2017-03-06]: With release 2016.3.9 (latest version), the bug is fixed, it seems.




回答2:


I recreated the entire project and imported it and it solved the problem. Couldn't find any way to resolve this issue




回答3:


This is a bug and it seems they are working on it. You can find a solution here




回答4:


delete ~/.IntellijIdea/system/compile-server/_ usually happens after unexpected shutdown of intellij.




回答5:


Removing play framework plugin solved the problem for me.




回答6:


For me, I updated Scala plugin to v2016.3.8. It worked for me.




回答7:


File -> Invalidate Caches / Restart

Doing this from the menu seems to clean all the secret directories




回答8:


This helped me:

Build->Rebuild project


来源:https://stackoverflow.com/questions/30464248/errormodule-name-production-java-lang-nullpointerexception

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!