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

Remove NPE in LanguageServiceAccessor.getLSWrapper(IProject, #155

Merged
merged 1 commit into from
Jun 23, 2022

Conversation

rubenporras
Copy link
Contributor

LanguageServerDefinition, IPath) when the project is null and there are
started language server wrappers.

LanguageServerDefinition, IPath) when the project is null and there are
started language server wrappers.
@@ -428,12 +428,12 @@ public static LanguageServerWrapper getLSWrapperForConnection(@NonNull IProject
return getLSWrapper(project, serverDefinition);
}

private static LanguageServerWrapper getLSWrapper(@NonNull IProject project,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this declaration was incorrect, as there is a check for null project on line 443

@mickaelistria mickaelistria merged commit 12a9af4 into eclipse:master Jun 23, 2022
@rubenporras rubenporras deleted the fixNPE branch July 11, 2022 07:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants