ballerina-platform / lsp4intellij

This language client library provides language server protocol support for IntelliJ IDEA and other Jetbrains IDEs.
Apache License 2.0
438 stars 104 forks source link

Removed NullPointer in getInitParams #319

Closed jnt0r closed 1 year ago

jnt0r commented 1 year ago

Purpose

This method causes a NullPointerException as the rootUri has been replaced with WorkspaceFolders and this line seems to be duplicated and not needed anymore. With this line, the plugin does not connect to the LSP, as this causes a NPE every time.

payne911 commented 1 year ago

Exact same commit was already merged: https://github.com/ballerina-platform/lsp4intellij/commit/9b07759746ec9e753c7ecde843e8cb8a257c7597

This PR can be closed

jnt0r commented 1 year ago

@payne911 didn't saw this. Closing this PR