Hi, I am using vscode with certora verification language LSP extension. The extension keep print out the error when I open a .spec file.
[2022-02-22T19:52:17Z ERROR spec_langserver] VerifierCfgError: kotlinx.serialization.SerializationException: Class ‘Id’ is not registered for polymorphic serialization in the scope of ‘CVLLhs’.
Mark the base class as ‘sealed’ or register the serializer explicitly.
[Error - 2:52:17 PM] Request textDocument/documentSymbol failed.
Message: AST cache mishit
Code: -32602
[Error - 2:52:17 PM] Request textDocument/codeLens failed.
Message: AST cache mishit
Code: -32602
[Info - 2:52:18 PM] file closed!
I get the same result on this two environment:
-
java 17.0.2 2022-01-18 LTS / Darwin/ arm64
-
openjdk 11.0.9 2020-10-20/ Darwin/ x86_64
The error output keep pop up and my current workaround is move the output to sidebar area.