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

GitHub | rudi | 4 months ago
  1. 0

    GitHub comment 9#238029386

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

    GitHub comment 9#238029736

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

    GitHub comment 9#238030978

    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

    GitHub comment 9#238034202

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

    GitHub comment 10#238034525

    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.DataTypeUse.lookup(DataTypeUse.java:401)
      12. abs.frontend.ast.ParametricDataTypeUse.Define_Decl_lookup(ParametricDataTypeUse.java:550)
      13. abs.frontend.ast.ASTNode.Define_Decl_lookup(ASTNode.java:1669)
      14. abs.frontend.ast.Exp.lookup(Exp.java:438)
      15. abs.frontend.ast.TypeUse.getDecl_compute(TypeUse.java:393)
      16. abs.frontend.ast.TypeUse.getDecl(TypeUse.java:381)
      17. abs.frontend.ast.UnresolvedTypeUse.rewriteTo(UnresolvedTypeUse.java:365)
      18. abs.frontend.ast.ASTNode.getChild(ASTNode.java:606)
      19. abs.frontend.ast.List.rewriteTo(List.java:287)
      20. abs.frontend.ast.ASTNode.getChild(ASTNode.java:606)
      20 frames
    7. abs.frontend.parser
      SourcePosition.findPosition
      1. abs.frontend.parser.SourcePosition.findPosition(SourcePosition.java:43)
      1 frame