Skip to content

bug: java-debug-adapter installation fails #406

@logrusx

Description

@logrusx

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.11.2

Operating system/version

Linux

Describe the bug

When trying to download java-debug-adapter from Mason, the downloaded archive does not contain the file that is described in the package should be there.

There are two possible fixes:

  1. change java-debug-adapter version to 0.58.2 in the default config.
  2. add a java-debug-adapter package in nvim-java/mason-registry.

I can only provide a PR for 1.

Steps To Reproduce

  1. Comment out any custom configuration that alters java-debug-adapter version from the default config.
  2. Open Mason UI
  3. (dangerous) If java-debug-adapter is installed, uninstall it.
  4. Restart Neovim
  5. Nvim-java opnes Mason UI which and starts java-debug-adapter installation.
  6. It fails with: Link target "/home/ilya/.local/share/nvim/mason/packages/java-debug-adapter/extension/server/com.microsoft.java.debug.plugin-0.53.2.jar" does not exist.

Expected Behavior

Mason is able to install the desired java-debug-adapter version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions