-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix race condition in LanguageServerWrapper resulting in NullPointerE…
…xception during LS initialization (#985) * Fix race condition resulting in NullPointerException When running the test suite on Windows a lot of NPEs with the following stacktrace are thrown: ``` java.lang.NullPointerException: Cannot invoke "org.eclipse.core.runtime.IProgressMonitor.done()" because "this.this$0.initializeFutureMonitor" is null at org.eclipse.lsp4e.LanguageServerWrapper$2.run(LanguageServerWrapper.java:407) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63) ``` and because of the NPE random tests seem to fail. * improve method name advanceInitializeFutureMonitor * use UncheckedIOException
- Loading branch information
Showing
1 changed file
with
16 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters