theia: java vscode extension is not published to vsx registry properly
Description
Propose to set the redhat JAVA version 0.54.2 in open-vsx registry
Testing Theia and JAVA available in vsx-registry (https://open-vsx.org/?) The redhat JAVA version is 0.58.0 and is incompatible with version of Theia. When you install it, you get a popup dialog saying: " Activating extension Language Support for Java™ by Red Hat failed: Cannot read property ‘join’ of null. bash: syntax error near unexpected token `(’ "
refer to the issue #6791
Side effect: 1- You don’t get the “RUN | Debug” button from gitlens 2- Install MAVEN and try to expand the plugions folder from the mavens view, it loops 3- Install the JAVA dependency view , you get a popup saying: “Cannot activate extension ‘Java Dependency Viewer’ because it depends on extension ‘Language Support for Java™ by Red Hat’, which failed to activate.”
Reproduction Steps
Open THeia latest version Expand the extension view, search for JAVA plugins 1- Install “Language <support for JAva” version 0.58.0 –> observe the dialog popup 2- Install MAven, open a maven project Expand the Mavens view until the plugins tree folder and try to open it –> it loops and does not get display 3- Install the Java dependency view –> get a dialog saying: “Cannot activate extension ‘Java Dependency Viewer’ because it depends on extension ‘Language Support for Java™ by Red Hat’, which failed to activate.”
OS and Theia version: Ubuntu 18.04 Chrome Theia : latest commit 743836ed2da69e16ea2583efa6ce9a505e204eb1
Diagnostics:

About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 22 (22 by maintainers)
Commits related to this issue
- Roll back redhat.java to 0.54.2 in extensions.json Reason: https://github.com/eclipse-theia/theia/issues/7448 — committed to open-vsx/publish-extensions by jankeromnes 4 years ago
- Roll back redhat.java to 0.54.2 in extensions.json Reason: https://github.com/eclipse-theia/theia/issues/7448 — committed to tennox/publish-extensions by jankeromnes 4 years ago
@marcdumais-work it is missing workspace APIs we should work on it: https://github.com/eclipse-theia/theia/issues/7171
I don’t think there is an issue in the registry or in the extension.
Hi @jankeromnes ,
I just tried using the Theia electron example app from the main repo, using latest master. I installed the Java extension from the extensions view, pulling it from
open-vsx.org:Upon opening a
.javafile I get error:Backend exception:
Ok, i was able to reproduce it. The issue is not with Theia or VS Code java extension, but apparently with the publishing script:
(1) - is from VS Code Marketplace, this extension works (2) - is from Open VSX Registry, this extension does not work and it is very tine compare to (1)
cc @spoenemann @jankeromnes