Nadav Noy Nadav Noy - 9 days ago 8
Java Question

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

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?

Answer

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