redhat-developer / redhat-developer/vscode-java
Exceptions activating vscode-java extension
Open
@rgrunber is already working on this.
Since Jan 31, 2024.
bug
extension-start
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 546
- Avg merge
- 20h 1m
- Merged PRs (30d)
- 11
Description
Exceptions activating vscode-java extension. The spinning wheel just keeps going in the bottom-right corner.
Environment
- Operating System: OSX 12.3.1
- JDK version: embedded into vscode-java
- Visual Studio Code version: 1.66.1
- Java extension version: 1.4.0
Steps To Reproduce
- Open a Java file
- Java spinning wheel spinning in the bottom right corner. Exception in debug output:
rejected promise not handled within 1 second: Error: write EPIPE
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:104
stack trace: Error: write EPIPE
at WriteWrap.onWriteComplete [as oncomplete] (node:internal[/stream_base_commons:98:16]())
at WriteWrap.callbackTrampoline (node:internal[/async_hooks:130:17]())
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:104
rejected promise not handled within 1 second: Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:104
stack trace: Error: Cannot call write after a stream was destroyed
at new NodeError (node:internal[/errors:371:5]())
at _write (node:internal[/streams/writable:321:11]())
at Socket.write (node:internal[/streams/writable:334:10]())
at [/Users/aboyko/.vscode/extensions/redhat.java-1.4.0-darwin-x64/dist/extension.js:2:1014845]()
at new Promise (<anonymous>)
at c.write ([/Users/aboyko/.vscode/extensions/redhat.java-1.4.0-darwin-x64/dist/extension.js:2:1014763]())
at _.doWrite ([/Users/aboyko/.vscode/extensions/redhat.java-1.4.0-darwin-x64/dist/extension.js:2:1004314]())
at [/Users/aboyko/.vscode/extensions/redhat.java-1.4.0-darwin-x64/dist/extension.js:2:1004209]()
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:104
Test Project: https://github.com/spring-projects/spring-petclinic
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.