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

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 9#238029386
    via GitHub by rudi
    ,
  • GitHub comment 9#238029736
    via GitHub by rudi
    ,
  • GitHub comment 9#238030978
    via GitHub by rudi
    ,
  • GitHub comment 9#238034202
    via GitHub by rudi
    ,
  • GitHub comment 10#238034525
    via GitHub by rudi
    ,
  • GitHub comment 25#238034662
    via GitHub by rudi
    ,
  • GitHub comment 54#238034909
    via GitHub by rudi
    ,
  • GitHub comment 18#238035432
    via GitHub by rudi
    ,
  • Runtime error in Eclipse
    via GitHub by rudi
    ,
  • Runtime error in Eclipse
    via GitHub by rudi
    ,
    • java.lang.RuntimeException: Trying to evaluate attribute in subtree not attached to main tree at abs.frontend.ast.CompilationUnit.lookupModule(CompilationUnit.java:1298) at abs.frontend.ast.CompilationUnit.Define_ModuleDecl_lookupModule(CompilationUnit.java:1354) at abs.frontend.ast.ASTNode.Define_ModuleDecl_lookupModule(ASTNode.java:1662) at abs.frontend.ast.ModuleDecl.lookupModule(ModuleDecl.java:1515) at abs.frontend.typechecker.TypeCheckerHelper.getImportedNames(TypeCheckerHelper.java:279) at abs.frontend.ast.ModuleDecl.getImportedNames_compute(ModuleDecl.java:1280) at abs.frontend.ast.ModuleDecl.getImportedNames(ModuleDecl.java:1267) at abs.frontend.typechecker.TypeCheckerHelper.getVisibleNames(TypeCheckerHelper.java:310) at abs.frontend.ast.ModuleDecl.getVisibleNames_compute(ModuleDecl.java:1088) at abs.frontend.ast.ModuleDecl.getVisibleNames(ModuleDecl.java:1075) at abs.frontend.ast.ModuleDecl.resolveName(ModuleDecl.java:385) at abs.frontend.ast.ModuleDecl.lookup_compute(ModuleDecl.java:1494) at abs.frontend.ast.ModuleDecl.lookup(ModuleDecl.java:1481) at abs.frontend.ast.ModuleDecl.Define_Decl_lookup(ModuleDecl.java:1604) at abs.frontend.ast.ASTNode.Define_Decl_lookup(ASTNode.java:1669) at abs.frontend.ast.ASTNode.Define_Decl_lookup(ASTNode.java:1669) at abs.frontend.ast.ASTNode.Define_Decl_lookup(ASTNode.java:1669) at abs.frontend.ast.ASTNode.Define_Decl_lookup(ASTNode.java:1669) at abs.frontend.ast.DataTypeUse.lookup(DataTypeUse.java:401) at abs.frontend.ast.ParametricDataTypeUse.Define_Decl_lookup(ParametricDataTypeUse.java:550) at abs.frontend.ast.ASTNode.Define_Decl_lookup(ASTNode.java:1669) at abs.frontend.ast.Exp.lookup(Exp.java:438) at abs.frontend.ast.TypeUse.getDecl_compute(TypeUse.java:393) at abs.frontend.ast.TypeUse.getDecl(TypeUse.java:381) at abs.frontend.ast.UnresolvedTypeUse.rewriteTo(UnresolvedTypeUse.java:365) at abs.frontend.ast.ASTNode.getChild(ASTNode.java:606) at abs.frontend.ast.List.rewriteTo(List.java:287) at abs.frontend.ast.ASTNode.getChild(ASTNode.java:606) at abs.frontend.parser.SourcePosition.findPosition(SourcePosition.java:43)
    No Bugmate found.