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

Diagnostics without a severity make LSPAnnotator crash #376

Open
BoD opened this issue Aug 19, 2024 · 1 comment
Open

Diagnostics without a severity make LSPAnnotator crash #376

BoD opened this issue Aug 19, 2024 · 1 comment
Labels

Comments

@BoD
Copy link

BoD commented Aug 19, 2024

Description:
When the language server provides diagnostics without a severity (which is allowed in the LSP spec), a NullPointerException occurs inside of LSPAnnotator at this line.

Steps to reproduce:

Use the library with a language server that provides diagnostics without a severity.

Affected Versions:

Using 0.96.2

@BoD BoD added the Type/Bug label Aug 19, 2024
@BoD BoD changed the title Completions and diagnostics not working Diagnostics without a severity make LSPAnnotator crash Aug 20, 2024
@BoD
Copy link
Author

BoD commented Aug 20, 2024

(Amended the original title and description after understanding what caused the issue).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant