Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug with DAP fails #111

Closed
2 tasks done
akurtakov opened this issue Nov 22, 2023 · 1 comment · Fixed by eclipse-lsp4e/lsp4e#878
Closed
2 tasks done

Debug with DAP fails #111

akurtakov opened this issue Nov 22, 2023 · 1 comment · Fixed by eclipse-lsp4e/lsp4e#878
Labels
bug Something isn't working

Comments

@akurtakov
Copy link
Collaborator

Let's make sure issue is not already fixed in snapshots first.

Steps to reproduce

From a fresh installation and clean workspace:

  • Ctrl+3
  • Debug with VScode Java Debug Adapter

I expected: Debugging starts

But got: Error dialog with:

Error executing 'com.redhat.eclipseide.jdtlsclient.debugwithvscode': java.lang.NullPointerException: Cannot invoke "java.util.Map.putAll(java.util.Map)" because "builder.dspParameters" is null
Error executing 'com.redhat.eclipseide.jdtlsclient.debugwithvscode': java.lang.NullPointerException: Cannot invoke "java.util.Map.putAll(java.util.Map)" because "builder.dspParameters" is null

Community

  • I understand reporting an issue to this OSS project does not mandate anyone to fix it. Other contributors may consider the issue, or not, at their own convenience. The most efficient way to get it fixed is that I fix it myself and contribute it back as a good quality patch to the project.
@akurtakov akurtakov added the bug Something isn't working label Nov 22, 2023
@akurtakov
Copy link
Collaborator Author

Seems like eclipse-lsp4e/lsp4e#756 broke it . It removed DSPLaunchDelegate.jsonToMap which made sure that dspParameters is initialized while the new code doesn't do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant