developeron29 / P2JTrans

A PL/SQL to Java translator to convert PL/SQL code to java using ANTLR v3.3 and StringTemplate. Contributions welcome
MIT License
23 stars 14 forks source link

Getting NPE when I run the example command, with JAVA8 #1

Open atatous opened 7 years ago

atatous commented 7 years ago

java -cp .;antlr-3.3-complete.jar org.antlr.Tool PLSQL3.g error(10): internal error: Can't get property indirectDelegates using method get/isIndirectDelegates from org.antlr.tool.Grammar instance : java.lang.NullPointerException java.util.Objects.requireNonNull(Unknown Source) java.util.ArrayList.removeAll(Unknown Source) org.antlr.tool.CompositeGrammar.getIndirectDelegates(CompositeGrammar.java:222) org.antlr.tool.Grammar.getIndirectDelegates(Grammar.java:2625) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) java.lang.reflect.Method.invoke(Unknown Source) org.antlr.stringtemplate.language.ASTExpr.invokeMethod(ASTExpr.java:564) org.antlr.stringtemplate.language.ASTExpr.rawGetObjectProperty(ASTExpr.java:515) org.antlr.stringtemplate.language.ASTExpr.getObjectProperty(ASTExpr.java:417) org.antlr.stringtemplate.language.ActionEvaluator.attribute(ActionEvaluator.java:351) org.antlr.stringtemplate.language.ActionEvaluator.expr(ActionEvaluator.java:136) org.antlr.stringtemplate.language.ActionEvaluator.templateApplication(ActionEvaluator.java:216) org.antlr.stringtemplate.language.ActionEvaluator.expr(ActionEvaluator.java:126) org.antlr.stringtemplate.language.ActionEvaluator.action(ActionEvaluator.java:84) org.antlr.stringtemplate.language.ASTExpr.write(ASTExpr.java:149) org.antlr.stringtemplate.StringTemplate.write(StringTemplate.java:705) org.antlr.stringtemplate.language.ASTExpr.writeTemplate(ASTExpr.java:750) org.antlr.stringtemplate.language.ASTExpr.write(ASTExpr.java:680) org.antlr.stringtemplate.language.ASTExpr.writeAttribute(ASTExpr.java:660) org.antlr.stringtemplate.language.ActionEvaluator.action(ActionEvaluator.java:86) org.antlr.stringtemplate.language.ASTExpr.write(ASTExpr.java:149) org.antlr.stringtemplate.StringTemplate.write(StringTemplate.java:705) org.antlr.stringtemplate.language.ASTExpr.writeTemplate(ASTExpr.java:750) org.antlr.stringtemplate.language.ASTExpr.write(ASTExpr.java:680) org.antlr.stringtemplate.language.ASTExpr.writeAttribute(ASTExpr.java:660) org.antlr.stringtemplate.language.ActionEvaluator.action(ActionEvaluator.java:86) org.antlr.stringtemplate.language.ASTExpr.write(ASTExpr.java:149) org.antlr.stringtemplate.StringTemplate.write(StringTemplate.java:705) org.antlr.stringtemplate.language.ASTExpr.writeTemplate(ASTExpr.java:750) org.antlr.stringtemplate.language.ASTExpr.write(ASTExpr.java:680) org.antlr.stringtemplate.language.ASTExpr.writeAttribute(ASTExpr.java:660) org.antlr.stringtemplate.language.ActionEvaluator.action(ActionEvaluator.java:86) org.antlr.stringtemplate.language.ASTExpr.write(ASTExpr.java:149) org.antlr.stringtemplate.StringTemplate.write(StringTemplate.java:705) org.antlr.stringtemplate.language.ASTExpr.writeTemplate(ASTExpr.java:750) org.antlr.stringtemplate.language.ASTExpr.write(ASTExpr.java:680) org.antlr.stringtemplate.language.ASTExpr.writeAttribute(ASTExpr.java:660) org.antlr.stringtemplate.language.ActionEvaluator.action(ActionEvaluator.java:86) org.antlr.stringtemplate.language.ASTExpr.write(ASTExpr.java:149) org.antlr.stringtemplate.StringTemplate.write(StringTemplate.java:705) org.antlr.codegen.CodeGenerator.write(CodeGenerator.java:1279) org.antlr.codegen.Target.genRecognizerFile(Target.java:93) org.antlr.codegen.CodeGenerator.genRecognizer(CodeGenerator.java:464) org.antlr.Tool.generateRecognizer(Tool.java:642) org.antlr.Tool.process(Tool.java:455) org.antlr.Tool.main(Tool.java:89)

developeron29 commented 6 years ago

Hey guys,

The project is unmaintained

It would be supported by the java version from four years ago

Contributions are welcome!