Compiler throws NullpointerException when -e is used
If you use java -jar <Path_to_the_jar>\PseuCoCo.jar -i <filepath> -e <folderpath>
, so you don't start the compiler in it's own directory but use the complete path, the Compiler throws an exception:
`Exception in thread "main" java.lang.NullPointerException` at codeGen.MainCodeGen.copyFile(MainCodeGen.java:524) at codeGen.MainCodeGen.createClassesOfExternalFiles(MainCodeGen.java:498) at main.PseuCoCo.main(PseuCoCo.java:191)
The error occured using Windows 10 with a current JDK-version and the current compiler-version as it can be downloaded from peuco.com
the used path Path_to_the_jar
, filepath
and folderpath
don't matter, the error occured with any value I used for them.