java.lang.RuntimeException: Trying to evaluate attribute in subtree not attached to main tree

GitHub | rudi | 4 months ago
  1. 0

    Runtime error in Eclipse

    GitHub | 4 months ago | rudi
    java.lang.RuntimeException: Trying to evaluate attribute in subtree not attached to main tree
  2. 0

    Runtime error in Eclipse

    GitHub | 4 months ago | rudi
    java.lang.RuntimeException: Trying to evaluate attribute in subtree not attached to main tree
  3. 0

    Runtime error in Eclipse

    GitHub | 4 months ago | rudi
    java.lang.RuntimeException: Trying to evaluate attribute in subtree not attached to main tree
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Runtime error in Eclipse

    GitHub | 4 months ago | rudi
    java.lang.RuntimeException: Trying to evaluate attribute in subtree not attached to main tree
  6. 0

    GitHub comment 9#238029386

    GitHub | 4 months ago | rudi
    java.lang.RuntimeException: Trying to evaluate attribute in subtree not attached to main tree

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.RuntimeException

      Trying to evaluate attribute in subtree not attached to main tree

      at abs.frontend.ast.CompilationUnit.lookupModule()
    2. abs.frontend.ast
      ModuleDecl.lookupModule
      1. abs.frontend.ast.CompilationUnit.lookupModule(CompilationUnit.java:1298)
      2. abs.frontend.ast.CompilationUnit.Define_ModuleDecl_lookupModule(CompilationUnit.java:1354)
      3. abs.frontend.ast.ASTNode.Define_ModuleDecl_lookupModule(ASTNode.java:1662)
      4. abs.frontend.ast.ModuleDecl.lookupModule(ModuleDecl.java:1515)
      4 frames
    3. abs.frontend.typechecker
      TypeCheckerHelper.getImportedNames
      1. abs.frontend.typechecker.TypeCheckerHelper.getImportedNames(TypeCheckerHelper.java:279)
      1 frame
    4. abs.frontend.ast
      ModuleDecl.getImportedNames
      1. abs.frontend.ast.ModuleDecl.getImportedNames_compute(ModuleDecl.java:1280)
      2. abs.frontend.ast.ModuleDecl.getImportedNames(ModuleDecl.java:1267)
      2 frames
    5. abs.frontend.typechecker
      TypeCheckerHelper.getVisibleNames
      1. abs.frontend.typechecker.TypeCheckerHelper.getVisibleNames(TypeCheckerHelper.java:310)
      1 frame
    6. abs.frontend.ast
      ASTNode.getChild
      1. abs.frontend.ast.ModuleDecl.getVisibleNames_compute(ModuleDecl.java:1088)
      2. abs.frontend.ast.ModuleDecl.getVisibleNames(ModuleDecl.java:1075)
      3. abs.frontend.ast.ModuleDecl.resolveName(ModuleDecl.java:385)
      4. abs.frontend.ast.ModuleDecl.lookup_compute(ModuleDecl.java:1494)
      5. abs.frontend.ast.ModuleDecl.lookup(ModuleDecl.java:1481)
      6. abs.frontend.ast.ModuleDecl.Define_Decl_lookup(ModuleDecl.java:1604)
      7. abs.frontend.ast.ASTNode.Define_Decl_lookup(ASTNode.java:1669)
      8. abs.frontend.ast.ASTNode.Define_Decl_lookup(ASTNode.java:1669)
      9. abs.frontend.ast.ASTNode.Define_Decl_lookup(ASTNode.java:1669)
      10. abs.frontend.ast.ASTNode.Define_Decl_lookup(ASTNode.java:1669)
      11. abs.frontend.ast.ASTNode.Define_Decl_lookup(ASTNode.java:1669)
      12. abs.frontend.ast.ASTNode.Define_Decl_lookup(ASTNode.java:1669)
      13. abs.frontend.ast.ASTNode.Define_Decl_lookup(ASTNode.java:1669)
      14. abs.frontend.ast.TypedVarOrFieldDecl.lookup(TypedVarOrFieldDecl.java:327)
      15. abs.frontend.ast.TypedVarOrFieldDecl.Define_Decl_lookup(TypedVarOrFieldDecl.java:342)
      16. abs.frontend.ast.Exp.lookup(Exp.java:438)
      17. abs.frontend.ast.TypeUse.getDecl_compute(TypeUse.java:393)
      18. abs.frontend.ast.TypeUse.getDecl(TypeUse.java:381)
      19. abs.frontend.ast.UnresolvedTypeUse.rewriteTo(UnresolvedTypeUse.java:365)
      20. abs.frontend.ast.ASTNode.getChild(ASTNode.java:606)
      21. abs.frontend.ast.ASTNode.collect_contributors_Stmt_getAACs(ASTNode.java:1098)
      22. abs.frontend.ast.ASTNode.collect_contributors_Stmt_getAACs(ASTNode.java:1098)
      23. abs.frontend.ast.Stmt.collect_contributors_Stmt_getAACs(Stmt.java:351)
      24. abs.frontend.ast.Stmt.getAACs_compute(Stmt.java:618)
      25. abs.frontend.ast.Stmt.getAACs(Stmt.java:587)
      26. abs.frontend.ast.Stmt.rewriteTo(Stmt.java:529)
      27. abs.frontend.ast.VarDeclStmt.rewriteTo(VarDeclStmt.java:578)
      28. abs.frontend.ast.ASTNode.getChild(ASTNode.java:606)
      29. abs.frontend.ast.List.rewriteTo(List.java:287)
      30. abs.frontend.ast.ASTNode.getChild(ASTNode.java:606)
      31. abs.frontend.ast.Block.getStmtList(Block.java:600)
      32. abs.frontend.ast.Block.getNumStmt(Block.java:540)
      33. abs.frontend.ast.Block.hasRewriteBlockAt(Block.java:86)
      34. abs.frontend.ast.Block.rewriteTo(Block.java:812)
      35. abs.frontend.ast.ASTNode.getChild(ASTNode.java:606)
      35 frames
    7. abs.frontend.parser
      SourcePosition.findPosition
      1. abs.frontend.parser.SourcePosition.findPosition(SourcePosition.java:40)
      2. abs.frontend.parser.SourcePosition.findPosition(SourcePosition.java:40)
      3. abs.frontend.parser.SourcePosition.findPosition(SourcePosition.java:40)
      4. abs.frontend.parser.SourcePosition.findPosition(SourcePosition.java:40)
      5. abs.frontend.parser.SourcePosition.findPosition(SourcePosition.java:40)
      6. abs.frontend.parser.SourcePosition.findPosition(SourcePosition.java:40)
      7. abs.frontend.parser.SourcePosition.findPosition(SourcePosition.java:40)
      8. abs.frontend.parser.SourcePosition.findPosition(SourcePosition.java:34)
      8 frames
    8. org.absmodels.abs
      ABSCodeScanner.nextToken
      1. org.absmodels.abs.plugin.util.UtilityFunctions.getASTNodeOfOffset(UtilityFunctions.java:373)
      2. org.absmodels.abs.plugin.editor.ABSCodeScanner.evalAST(ABSCodeScanner.java:306)
      3. org.absmodels.abs.plugin.editor.ABSCodeScanner.internalNextToken(ABSCodeScanner.java:259)
      4. org.absmodels.abs.plugin.editor.ABSCodeScanner.nextToken(ABSCodeScanner.java:230)
      4 frames
    9. JFace Text
      DefaultDamagerRepairer.createPresentation
      1. org.eclipse.jface.text.rules.DefaultDamagerRepairer.createPresentation(DefaultDamagerRepairer.java:175)
      1 frame