Moving a 14 module app from Ant to IDEA


I have made a little progress since posting the previous note:

I have:

  • a working ant build that runs the original Java app fine

In IDEA 2017.2 EAP

  • imported the application and have got all 14 modules building with no errors
  • installed eclipser and converted the launch file

However, I when I try and run the program I get:

Exception in thread “main” java.lang.NullPointerException
at java.util.Properties$LineReader.readLine(
at java.util.Properties.load0(
at java.util.Properties.load(
at com.thisiscool.honesty.common.PropertiesManager.getProperties(

Line 81 is:


I came across the same problem with the App when I tried to get it going with Eclipse about a year ago. It looks like if the code will run happily in Eclipse with the jar file and the classes that were built by ant? - but if the classes etc get rebuilt then this problem occurs . . The resource is a file called:


I tried adding:


to Settings → Compiler → Resource Patterns with no improvement . .

Any suggestions about how I should proceed?



This is a Kotlin forum. Please ask questions about using IntelliJ IDEA in the IntelliJ IDEA forum.