java.lang.RuntimeException: Circular definition of attr: getDecl in class: org.jastadd.ast.AST.SynDecl

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by rudi
, 1 year ago
Circular definition of attr: getDecl in class: org.jastadd.ast.AST.SynDecl
via GitHub by rudi
, 1 year ago
Circular definition of attr: getDecl in class: org.jastadd.ast.AST.SynDecl
via GitHub by rudi
, 1 year ago
Circular definition of attr: getDecl in class: org.jastadd.ast.AST.SynDecl
via GitHub by rudi
, 1 year ago
Circular definition of attr: getDecl in class: org.jastadd.ast.AST.SynDecl
java.lang.RuntimeException: Circular definition of attr: getDecl in class: org.jastadd.ast.AST.SynDecl
at abs.frontend.ast.VarUse.getDecl(VarUse.java:353)
at abs.frontend.ast.VarUse.rewriteTo(VarUse.java:375)
at abs.frontend.ast.ASTNode.getChild(ASTNode.java:606)
at abs.frontend.ast.ASTNode.collect_contributors_Stmt_getAACs(ASTNode.java:1098)
at abs.frontend.ast.ASTNode.collect_contributors_Stmt_getAACs(ASTNode.java:1098)
at abs.frontend.ast.ASTNode.collect_contributors_Stmt_getAACs(ASTNode.java:1098)
at abs.frontend.ast.ASTNode.collect_contributors_Stmt_getAACs(ASTNode.java:1098)
at abs.frontend.ast.Stmt.collect_contributors_Stmt_getAACs(Stmt.java:351)
at abs.frontend.ast.Stmt.getAACs_compute(Stmt.java:618)
at abs.frontend.ast.Stmt.getAACs(Stmt.java:587)
at abs.frontend.ast.Stmt.rewriteTo(Stmt.java:529)
at abs.frontend.ast.VarDeclStmt.rewriteTo(VarDeclStmt.java:578)
at abs.frontend.ast.ASTNode.getChild(ASTNode.java:606)
at abs.frontend.ast.List.getNumChild(List.java:208)
at abs.frontend.ast.Block.getStmtList(Block.java:601)
at abs.frontend.ast.Block.getStmt(Block.java:558)
at abs.frontend.ast.Block.Define_VarOrFieldDecl_lookupVarOrFieldName(Block.java:790)
at abs.frontend.ast.ASTNode.Define_VarOrFieldDecl_lookupVarOrFieldName(ASTNode.java:1683)
at abs.frontend.ast.ASTNode.Define_VarOrFieldDecl_lookupVarOrFieldName(ASTNode.java:1683)
at abs.frontend.ast.ASTNode.Define_VarOrFieldDecl_lookupVarOrFieldName(ASTNode.java:1683)
at abs.frontend.ast.ASTNode.Define_VarOrFieldDecl_lookupVarOrFieldName(ASTNode.java:1683)
at abs.frontend.ast.ASTNode.Define_VarOrFieldDecl_lookupVarOrFieldName(ASTNode.java:1683)
at abs.frontend.ast.Exp.lookupVarOrFieldName(Exp.java:415)
at abs.frontend.ast.VarUse.getDecl_compute(VarUse.java:370)
at abs.frontend.ast.VarUse.getDecl(VarUse.java:358)
at org.absmodels.abs.plugin.editor.ABSCodeScanner.evalAST(ABSCodeScanner.java:321)
at org.absmodels.abs.plugin.editor.ABSCodeScanner.internalNextToken(ABSCodeScanner.java:259)
at org.absmodels.abs.plugin.editor.ABSCodeScanner.nextToken(ABSCodeScanner.java:230)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.