question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug]: Java extension not working in 4.0.1, connection broken very often

See original GitHub issue

Is there an existing issue for this?

  • I have searched the existing issues

OS/Web Information

- Web Browser: Chrome 97.0.4692.99
- Local OS: Mac OS 12.0.1, Chrome OS 97.x
- Remote OS: Ubuntu 20.04 LTS
- Remote Architecture: Hyperviser Proxmox, LXC
- `code-server --version`: 4.0.1 735c6da829535969ff7193c79379299e4a1cb9bc

Expected

Java plugin should start/work. This is a vanilla installation but upgrading an existing (working) installation (3.11) does not work either afterwards.

I’m getting the dialog “Cannot reconnect. Please reload the window” after a short time (ca. 30-45s) as well. After reconnecting, the dialog comes up again after some time and so forth.

Actual

Just nothing, footer shows “activiting extension” and nothing else happens.

Logs

log.txt

Screenshot/Video

No response

Does this issue happen in VS Code?

  • I cannot reproduce this in VS Code.

Are you accessing code-server over HTTPS?

  • I am using HTTPS.

Notes

Does work as a expected under 3.11 and 3.12 (same environment)

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
steeeffencommented, Jan 28, 2022

@jsjoeio See attached screenshot. Take this from the open marketplace. Once installed, you get the “create project”… vscode_java

1reaction
steeeffencommented, Jan 26, 2022

@jkcoxson: to reproduce, just install a fresh (vanilla) code-server, a jdk11 and use the java extension from the marketplace (the bundle one from MS). Click on “new project” -> nothing will happen.

BTW: Password is not leaked, is replaced with a dummy one in the logs (and not a public server anyway) but thx for the hint.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Code Completion stopped working for "Java Extension Pack"
The last version of "Language Support for Java(TM) by Red Hat" extension throws errors and break code completion.
Read more >
Upgrade 3.11 to 4.0.1 - Now get java.lang.NoSuchMethodError
I upgraded Mirth Connect from version 3.11.0 to 4.0.1. Now I cannot deploy any channels. The server log shows a java.lang.NoSuchMethodError.
Read more >
Known issues with Android Studio and Android Gradle Plugin
This section describes known issues that exist in the latest stable version of Android Studio. Error when rendering Compose Preview. Starting with Android ......
Read more >
Bug listing with status RESOLVED with resolution FIXED as at ...
... Bug:155 - "php fails to compile due to java problems" status:RESOLVED ... Bug:427 - "blackdown-jdk-1.3.1 segfaults, so does jre, but less often" ......
Read more >
Resin Change Log
keySet() for linking issues (#6288, rep by A. Thai); server: on HMUX requests, wait for server ... bam: too much logging for queue...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found