Skip to content
CCPEDIAby Unity Nodes
App Development

What does `Exception: Build system error - indirect recursion detected:` mean?

2 posts321 views4 likesLast activity Aug 2020

  1. gyorgybalazsiOP 1
    2020-08-24 17:29:29.94 [ERROR]  [LanguageServer]  [] 
    Unexpected exception on request, please report!
    Message: RequestMessage {_jsonrpc = "2.0", _id = IdInt 1083, _method = TextDocumentCodeLens, _params = CodeLensParams {_textDocument = TextDocumentIdentifier {_uri = Uri {getUri = "file:///Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Test.daml"}}, _workDoneToken = Nothing}}
    Exception: Build system error - indirect recursion detected:
     Key value 1:   OfInterest; 
     Key value 2:   GetDependencyInformation; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Utilities.daml
     Key value 3:   GetLocatedImports; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Utilities.daml
     Key value 4:   GetParsedModule; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Utilities.daml
     Key value 5:   GhcSession; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Utilities.daml
     Key value 6:   GhcSessionIO; 
     Key value 7:   GetParsedModule; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Test.daml
     Key value 8:   GhcSession; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Test.daml
     Key value 9:   GetDependencyInformation; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Test.daml
     Key value 10:  GetLocatedImports; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Test.daml
     Key value 11:  GetLocatedImports; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Main.daml
     Key value 12:  GetParsedModule; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Main.daml
     Key value 13:  GhcSession; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Main.daml
     Key value 14:  GetDependencies; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Test.daml
     Key value 15:  GetDependencyInformation; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Main.daml
     Key value 16:  GenerateRawDalf; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Test.daml
    Rules may not be recursive
    
    [Error - 7:29:29 PM] Request textDocument/codeLens failed.
     Message: Build system error - indirect recursion detected:
     Key value 1:   OfInterest; 
     Key value 2:   GetDependencyInformation; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Utilities.daml
     Key value 3:   GetLocatedImports; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Utilities.daml
     Key value 4:   GetParsedModule; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Utilities.daml
     Key value 5:   GhcSession; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Utilities.daml
     Key value 6:   GhcSessionIO; 
     Key value 7:   GetParsedModule; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Test.daml
     Key value 8:   GhcSession; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Test.daml
     Key value 9:   GetDependencyInformation; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Test.daml
     Key value 10:  GetLocatedImports; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Test.daml
     Key value 11:  GetLocatedImports; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Main.daml
     Key value 12:  GetParsedModule; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Main.daml
     Key value 13:  GhcSession; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Main.daml
     Key value 14:  GetDependencies; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Test.daml
     Key value 15:  GetDependencyInformation; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Main.daml
     Key value 16:  GenerateRawDalf; /Users/gyorgybalazsi/ven/VEN_DAML/ven-iteration-sixth/daml/Test.daml
    Rules may not be recursive
    
     Code: -32603 
    
  2. cocreature 3

    That’s a bug in daml studio. We’ve seen this a few times but never managed to reproduce it. If you can reproduce it, please let us know!