java.lang.RuntimeException

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

Solutions on the web18965

  • via GitHub by rudi
    , 11 months ago
    Circular definition of attr: getDecl in class: org.jastadd.ast.AST.SynDecl
  • via GitHub by rudi
    , 11 months ago
    Circular definition of attr: getDecl in class: org.jastadd.ast.AST.SynDecl
  • via GitHub by rudi
    , 11 months ago
    Circular definition of attr: getDecl in class: org.jastadd.ast.AST.SynDecl
  • Stack trace

    • 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) at org.eclipse.jface.text.rules.DefaultDamagerRepairer.createPresentation(DefaultDamagerRepairer.java:175)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    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.