openmultiplayer / vscode-pawn

VS-Code extension for pawn language
https://open.mp
MIT License
16 stars 5 forks source link

Crash when restarting the extension host in settings #2

Open mysy00 opened 1 year ago

mysy00 commented 1 year ago

How to reproduce:

  1. Enter settings
  2. ctrl+shift+p
  3. Restart extension host

Logs

localProcessExtensionHost.ts:299 /home/mysy/.vscode/extensions/openmp.pawn-development-1.1.3/node_modules/astyle/dist/libastyle.js:123      throw ex;      ^RuntimeError: abort(TypeError: Cannot read properties of null (reading 'uri')) at Error:     at jsStackTrace (/home/mysy/.vscode/extensions/openmp.pawn-development-1.1.3/node_modules/astyle/dist/libastyle.js:1796:17)    at stackTrace (/home/mysy/.vscode/extensions/openmp.pawn-development-1.1.3/node_modules/astyle/dist/libastyle.js:1813:16)    at process.abort (/home/mysy/.vscode/extensions/openmp.pawn-development-1.1.3/node_modules/astyle/dist/libastyle.js:1596:44)    at process.emit (node:events:538:35)    at processEmit (/home/mysy/.vscode/extensions/ms-vsliveshare.vsliveshare-1.0.5803/extension.js:394:51519)    at processEmit (/home/mysy/.vscode/extensions/ms-vsliveshare.vsliveshare-audio-0.1.91/node_modules/signal-exit/index.js:155:32)    at process.on.process.emit (/home/mysy/.vscode/extensions/github.copilot-1.67.7944/dist/extension.js:8:879917)    at emit (node:internal/process/promises:140:20)    at processPromiseRejections (node:internal/process/promises:274:27)    at processTicksAndRejections (node:internal/process/task_queues:97:32)    at runNextTicks (node:internal/process/task_queues:65:3)    at listOnTimeout (node:internal/timers:528:9)    at processTimers (node:internal/timers:502:7)    at process.abort (/home/mysy/.vscode/extensions/openmp.pawn-development-1.1.3/node_modules/astyle/dist/libastyle.js:1602:9)    at process.emit (node:events:538:35)    at processEmit (/home/mysy/.vscode/extensions/ms-vsliveshare.vsliveshare-1.0.5803/extension.js:394:51519)    at processEmit (/home/mysy/.vscode/extensions/ms-vsliveshare.vsliveshare-audio-0.1.91/node_modules/signal-exit/index.js:155:32)    at process.on.process.emit (/home/mysy/.vscode/extensions/github.copilot-1.67.7944/dist/extension.js:8:879917)    at emit (node:internal/process/promises:140:20)    at processPromiseRejections (node:internal/process/promises:274:27)    at processTicksAndRejections (node:internal/process/task_queues:97:32)    at runNextTicks (node:internal/process/task_queues:65:3)    at listOnTimeout (node:internal/timers:528:9)    at processTimers (node:internal/timers:502:7)

vscode: 1.74.3 97dec172d3256f8ca4bfb2143f3f76b503ca0534 x64

Extension: latest