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

NPE in ContentModelCodeActionParticipant.doCodeAction#L47 #671

Closed
fbricon opened this issue May 3, 2020 · 1 comment · Fixed by #747
Closed

NPE in ContentModelCodeActionParticipant.doCodeAction#L47 #671

fbricon opened this issue May 3, 2020 · 1 comment · Fixed by #747
Labels
bug Something isn't working good first issue Good for newcomers
Milestone

Comments

@fbricon
Copy link
Contributor

fbricon commented May 3, 2020

I'm not able to reproduce, so I don't understand how it occured, but I saw some NPEs in

@fbricon fbricon added the bug Something isn't working label May 3, 2020
@fbricon fbricon added this to the 0.12.0 milestone May 3, 2020
@fbricon fbricon added the good first issue Good for newcomers label May 5, 2020
@fbricon
Copy link
Contributor Author

fbricon commented May 29, 2020

@datho7561 please add a test case checking the NPE occurs when diagnostic has no code, then add the null check in doCodeAction()

datho7561 added a commit to datho7561/lemminx that referenced this issue May 29, 2020
Fixes eclipse#671

Signed-off-by: David Thompson <davthomp@redhat.com>
datho7561 added a commit to datho7561/lemminx that referenced this issue May 29, 2020
Fixes eclipse#671

Signed-off-by: David Thompson <davthomp@redhat.com>
fbricon pushed a commit that referenced this issue May 29, 2020
Fixes #671

Signed-off-by: David Thompson <davthomp@redhat.com>
angelozerr pushed a commit to angelozerr/lemminx that referenced this issue Mar 4, 2022
Fixes eclipse#671

Signed-off-by: azerr <azerr@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant