robotcode icon indicating copy to clipboard operation
robotcode copied to clipboard

[BUG] Request textDocument/documentSymbol failed.

Open SchnuckySchuster opened this issue 10 months ago • 19 comments

Describe the bug I have the plugin installed and some RobotFramework test files in CucumberFormat open. I'm working under Windows 11.

Steps To Reproduce

  1. Have some RobotFramweork files (*.robot and *.resource) open
  2. Switch between open files
  3. A error message appears

Logs [Error - 09:58:28] Request textDocument/documentSymbol failed. TypeError: Cannot read properties of undefined (reading 'range') at hn (c:\Users\P034724.vscode\extensions\d-biehl.robotcode-0.105.0\out\extension.js:35:71898) at s (c:\Users\P034724.vscode\extensions\d-biehl.robotcode-0.105.0\out\extension.js:35:46654) at Object.yD [as map] (c:\Users\P034724.vscode\extensions\d-biehl.robotcode-0.105.0\out\extension.js:35:46740) at Object.jn [as asSymbolInformations] (c:\Users\P034724.vscode\extensions\d-biehl.robotcode-0.105.0\out\extension.js:35:71541) at c (c:\Users\P034724.vscode\extensions\d-biehl.robotcode-0.105.0\out\extension.js:39:56109) at async uI.provideDocumentSymbols (file:///c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:138:126457) Start analyzing workspace for 4 documents End analyzing workspace for 4 documents took 0.0160 seconds Start collect workspace diagnostic for 4 documents End collect workspace diagnostic for 4 documents took 0.2030 seconds Start analyzing workspace for 4 documents End analyzing workspace for 4 documents took 0.0000 seconds Start collect workspace diagnostic for 4 documents End collect workspace diagnostic for 4 documents took 0.2030 seconds

SchnuckySchuster avatar Jan 07 '25 10:01 SchnuckySchuster