Error in install due to java-debug-adapter jar file version mismatch · Issue #104 · nvim-java/nvim-java · GitHub
Skip to content

Error in install due to java-debug-adapter jar file version mismatch #104

Description

@distractedpen

Did you check docs and existing issues?

  • I have read all the plugin docs
  • I have searched the existing issues
  • I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)

0.9.4

Operating system/version

LMDE 6 / MacOs

Describe the bug

Installing this plugin failed due to a version mismatch between the downloaded the version of java-debug-adapter requested to download by nvim-java and the version that mason-registry tries to link.

Version 52 of java-debug-adapter downloaded contains the { name = 'java-debug-adapter', version = '0.52.0' },
        Downloading file "https://open-vsx.org/api/vscjava/vscode-java-debug/0.52.0/file/vscjava.vscode-java-debug-0.52.0.vsix"…
[...ommited unpacking log...]
        Link target "/home/distractedpen/.local/share/nvim/mason/packages/java-debug-adapter/extension/server/com.microsoft.java.debug.plugin-0.50.0.jar" does not exist.

Mason registry updated a few hours ago to java-debug-server version 55 which contains server version 50, version 52.0 of java-debug-adapter contains server version 47.0.

Steps To Reproduce

  1. Update nvim-mason to the latest version (1.9.0)
  2. Fresh install nvim-java

Expected Behavior

java-debug-adapter's server version file should match the version linked to by mason-registry.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions