SAP/ui5-language-assistant

UI5LanguageAssistant/context-error since 1.121.0

Closed this issue · 3 comments

Hello colleagues,

The extension is failing in my project since 1.121.0 with the error UI5LanguageAssistant/context-error.

I checked the logs and found only the following:

{
  "label": "@ui5-language-assistant/semantic-model",
  "level": "trace",
  "message": "sap.fe.core.rootView.RootViewBaseController is a UnresolvedType and not a class (class sap.fe.core.rootView.NavContainer extends it) [SAPUI5:1.121.0]",
  "time": "2024-03-08T09:03:52.555Z"
}
{
  "label": "@ui5-language-assistant/semantic-model",
  "level": "trace",
  "message": "Unknown type: sap.fe.core.buildingBlocks.BuildingBlockBase [SAPUI5:1.121.0]",
  "time": "2024-03-08T09:03:52.555Z"
}
{
  "label": "@ui5-language-assistant/semantic-model",
  "level": "trace",
  "message": "sap.fe.core.buildingBlocks.BuildingBlockBase is a UnresolvedType and not a class (class sap.fe.macros.MacroAPI extends it) [SAPUI5:1.121.0]",
  "time": "2024-03-08T09:03:52.555Z"
}
{
  "label": "@ui5-language-assistant/semantic-model",
  "level": "trace",
  "message": "Unknown type: boolean  [SAPUI5:1.121.0]",
  "time": "2024-03-08T09:03:52.555Z"
}
{
  "label": "@ui5-language-assistant/semantic-model",
  "level": "trace",
  "message": "Unknown type:  string [SAPUI5:1.121.0]",
  "time": "2024-03-08T09:03:52.555Z"
}
{
  "label": "@ui5-language-assistant/semantic-model",
  "level": "trace",
  "message": "Unknown type: boolean  [SAPUI5:1.121.0]",
  "time": "2024-03-08T09:03:52.555Z"
}
{
  "label": "@ui5-language-assistant/semantic-model",
  "level": "trace",
  "message": "Unknown type:  string [SAPUI5:1.121.0]",
  "time": "2024-03-08T09:03:52.555Z"
}
[Trace - 10:03:52] Received notification 'UI5LanguageAssistant/context-error'.
Params: {}

@whydrae
Thanks for reporting the issue, we are looking into it

@whydrae
Thanks for reporting the issue. This issue is fixed and can be tested using this .vsix. Please test it and close the issue if everything is fine. Thanks and regards.

@whydrae Thanks for reporting the issue. This issue is fixed and can be tested using this .vsix. Please test it and close the issue if everything is fine. Thanks and regards.

Thank you for the quick fix! I tested it a bit and it works fine so far: I don't see any error in the Output panel, formatting and autocompletion work as well.