Java Intellij users help me with this problem

Revision en1, by MubtasimShahriar, 2020-08-25 10:11:22

I code in Java in Intellij. Everything works fine. But sometimes, all on a sudden there appear a problem. When I try to run a code ( which has been run before ), suddenly build starts failing. It give me this error: "Module 'NewSample' production: java.lang.NullPointerException: Null elements are not allowed in THashSet " After that, whatever I do, this project doesn't work anymore. I have to create a new project. Then everything works fine again until this problem happens in this new project too.

Can somebody give me a solution, or explain why this happens?

Tags intellij idea, #java8, #java

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English MubtasimShahriar 2020-08-25 10:11:22 616 Initial revision (published)