SAP / ui5-language-assistant

VSCode Extension and Editor Tooling for SAPUI5
Apache License 2.0
54 stars 25 forks source link

UI5LanguageAssistant/context-error since 1.121.0 #694

Closed whydrae closed 6 months ago

whydrae commented 7 months ago

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: {}
MN-public commented 6 months ago

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

marufrasully commented 6 months ago

@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 commented 6 months ago

@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.