InMemoryJavaCompiler icon indicating copy to clipboard operation
InMemoryJavaCompiler copied to clipboard

NullPointerException

Open shivam92 opened this issue 8 years ago • 2 comments

    ExtendedStandardJavaFileManager fileManager = new ExtendedStandardJavaFileManager(javac.getStandardFileManager(null, null, null), compiledCode, cl);

line given null pointer exception

shivam92 avatar Jul 12 '17 08:07 shivam92

Can you give an example of the code that produces NPE?

trung avatar Sep 23 '17 01:09 trung

Can you try to set JAVA_HOME to your JDK location?

trung avatar Sep 23 '17 02:09 trung