posted 10 years ago
Hello everyone,
I have a file(GeneratedClass.java) which is in AST form and I want it to get picked up by javac for compilation. I have tried to add the file to the compilation units and then let javac do the rest but I get NullPointerExceptions. Here is the code:
Here is the stacktrace produced:
I think the culprit is in the line but I can't be too sure. The path to GeneratedClass.java is /home/guestu/GeneratedClass.java
Thanks for the time.