Skip to content
This repository has been archived by the owner on Feb 18, 2021. It is now read-only.

Unable to run the project #30

Open
shivaprasad573 opened this issue Oct 20, 2017 · 1 comment
Open

Unable to run the project #30

shivaprasad573 opened this issue Oct 20, 2017 · 1 comment

Comments

@shivaprasad573
Copy link

shivaprasad573 commented Oct 20, 2017

I have downloaded and extracted the zip then i got a directory "plsql-parser-master". There i have ran "mvn install"
but it was throwing error as
[INFO] error(10): internal error: Can't get property indirectDelegates using method get/isIndirectDelegates from org.antlr.tool.Grammar instance : java.lang.NullPointerException [INFO] java.util.Objects.requireNonNull(Objects.java:203) [INFO] java.util.ArrayList.removeAll(ArrayList.java:689) [INFO] org.antlr.tool.CompositeGrammar.getIndirectDelegates(CompositeGrammar.java:222) [INFO] org.antlr.tool.Grammar.getIndirectDelegates(Grammar.java:2625) [INFO] sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [INFO] sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [INFO] sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [INFO] java.lang.reflect.Method.invoke(Method.java:498) [INFO] org.antlr.stringtemplate.language.ASTExpr.invokeMethod(ASTExpr.java:564) [INFO] org.antlr.stringtemplate.language.ASTExpr.rawGetObjectProperty(ASTExpr.java:515) [INFO] org.antlr.stringtemplate.language.ASTExpr.getObjectProperty(ASTExpr.java:417) [INFO] org.antlr.stringtemplate.language.ActionEvaluator.attribute(ActionEvaluator.java:351) [INFO] org.antlr.stringtemplate.language.ActionEvaluator.expr(ActionEvaluator.java:136) [INFO] org.antlr.stringtemplate.language.ActionEvaluator.templateApplication(ActionEvaluator.java:216) [INFO] org.antlr.stringtemplate.language.ActionEvaluator.expr(ActionEvaluator.java:126) [INFO] org.antlr.stringtemplate.language.ActionEvaluator.action(ActionEvaluator.java:84) [INFO] org.antlr.stringtemplate.language.ASTExpr.write(ASTExpr.java:149) [INFO] org.antlr.stringtemplate.StringTemplate.write(StringTemplate.java:705) [INFO] org.antlr.stringtemplate.language.ASTExpr.writeTemplate(ASTExpr.java:750) [INFO] org.antlr.stringtemplate.language.ASTExpr.write(ASTExpr.java:680) [INFO] org.antlr.stringtemplate.language.ASTExpr.writeAttribute(ASTExpr.java:660) [INFO] org.antlr.stringtemplate.language.ActionEvaluator.action(ActionEvaluator.java:86) [INFO] org.antlr.stringtemplate.language.ASTExpr.write(ASTExpr.java:149) [INFO] org.antlr.stringtemplate.StringTemplate.write(StringTemplate.java:705) [INFO] org.antlr.stringtemplate.language.ASTExpr.writeTemplate(ASTExpr.java:750) [INFO] org.antlr.stringtemplate.language.ASTExpr.write(ASTExpr.java:680) [INFO] org.antlr.stringtemplate.language.ASTExpr.writeAttribute(ASTExpr.java:660) [INFO] org.antlr.stringtemplate.language.ActionEvaluator.action(ActionEvaluator.java:86) [INFO] org.antlr.stringtemplate.language.ASTExpr.write(ASTExpr.java:149) [INFO] org.antlr.stringtemplate.StringTemplate.write(StringTemplate.java:705) [INFO] org.antlr.stringtemplate.language.ASTExpr.writeTemplate(ASTExpr.java:750) [INFO] org.antlr.stringtemplate.language.ASTExpr.write(ASTExpr.java:680) [INFO] org.antlr.stringtemplate.language.ASTExpr.writeAttribute(ASTExpr.java:660) [INFO] org.antlr.stringtemplate.language.ActionEvaluator.action(ActionEvaluator.java:86) [INFO] org.antlr.stringtemplate.language.ASTExpr.write(ASTExpr.java:149) [INFO] org.antlr.stringtemplate.StringTemplate.write(StringTemplate.java:705) [INFO] org.antlr.codegen.CodeGenerator.write(CodeGenerator.java:1279) [INFO] org.antlr.codegen.Target.genRecognizerFile(Target.java:93) [INFO] org.antlr.codegen.CodeGenerator.genRecognizer(CodeGenerator.java:464) [INFO] org.antlr.Tool.generateRecognizer(Tool.java:642) [INFO] org.antlr.Tool.generateRecognizer(Tool.java:652) [INFO] org.antlr.Tool.process(Tool.java:455) [INFO] org.antlr.Tool.main(Tool.java:89)
Please help me how can i resolve this. and run this project

@cesarochoa2006
Copy link

cesarochoa2006 commented Feb 19, 2019

for me worked changing maven target and source to 1.7, the changing version of antlr to 3.4 in pom.xml
Then executed the command: mvn clean install package did the work, but took a lot of time.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants