codeql
codeql copied to clipboard
Error running query: Webview is disposed in CodeQL with Java Extension Pack
Description:
I have encountered an issue when using CodeQL in Visual Studio Code, which seems to be related to the "Extension Pack for Java". Here are the details of the error and the steps I took to reproduce it:
Error Description:
The error message I received is: "Error running query: Webview is disposed (codeQL.runLocalQueryFromFileTab)". The full error stack trace is as follows:
Error: Error running query: Webview is disposed
at C.c (/path/to/extensionHostProcess.js:157:51827)
at C.get visible [as visible] (/path/to/extensionHostProcess.js:157:51471)
at ResultsView.showResults (/path/to/extension.js:113926:16)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at LocalQueries.showResultsForCompletedQuery (/path/to/extension.js:113270:5)
at LocalQueryRun.complete (/path/to/extension.js:112775:5)
at LocalQueries.compileAndRunQueryInternal (/path/to/extension.js:113190:9)
at LocalQueries.compileAndRunQuery (/path/to/extension.js:113128:5)
at withProgress.title (/path/to/extension.js:112923:9)