The installation instructions for vscode-java-test lead to an error during jdtls-nvim initialization. #745
apechinsky
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The installation instructions for vscode-java-test lead to an error during jdtls-nvim initialization.
Configuration
JdtShowLogs
The problem is that the configuration adds all vscode-java-test JARs as bundles, but some of them are not OSGi bundles:
These files don't contain bundle information in the META-INF/MANIFEST.MF file.
eclipse.jdt.ls tries to access the missing Bundle-Version property:
https://github.com/eclipse-jdtls/eclipse.jdt.ls/blob/master/org.eclipse.jdt.ls.core/src/org/eclipse/jdt/ls/core/internal/handlers/BundleUtils.java#L335
and throws an exception:
https://github.com/eclipse-jdtls/eclipse.jdt.ls/blob/master/org.eclipse.jdt.ls.core/src/org/eclipse/jdt/ls/core/internal/handlers/BundleUtils.java#L175
Solution
Exclude the listed JARs from the bundle list.
Beta Was this translation helpful? Give feedback.
All reactions