Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error running query: Webview is disposed in CodeQL with Java Extension Pack #16889

Open
houanran-hzh opened this issue Jul 2, 2024 · 1 comment
Labels
question Further information is requested

Comments

@houanran-hzh
Copy link

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)
@houanran-hzh houanran-hzh added the question Further information is requested label Jul 2, 2024
@robertbrignull
Copy link
Contributor

Hi, could you explain a little more about the steps needed to reproduce this? For example, what exactly did you click on or what command did you run to trigger this? What file or view was open in VS Code at the time? Had VS Code only just started up and were there any windows already open from last time you used it? Are you able to reproduce it consistently?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants