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

Fix NPE in 'LocalRepositorySearcher.getLocalArtifactsLastVersion' #436

Conversation

vrubezhny
Copy link
Contributor

Exception in thread "Thread-61" java.lang.NullPointerException: Cannot invoke "java.nio.file.WatchService.take()" because "this.watchService" is null
	at org.eclipse.lemminx.extensions.maven.searcher.LocalRepositorySearcher.lambda$getLocalArtifactsLastVersion$1(LocalRepositorySearcher.java:73)
	at java.base/java.lang.Thread.run(Thread.java:833)

```
Exception in thread "Thread-61" java.lang.NullPointerException: Cannot invoke "java.nio.file.WatchService.take()" because "this.watchService" is null
	at org.eclipse.lemminx.extensions.maven.searcher.LocalRepositorySearcher.lambda$getLocalArtifactsLastVersion$1(LocalRepositorySearcher.java:73)
	at java.base/java.lang.Thread.run(Thread.java:833)
```
@vrubezhny vrubezhny force-pushed the fixNPEInLocalRepositorySearcher_getLocalArtifactsLastVersion branch from d9149be to 31fa852 Compare July 7, 2023 13:16
@vrubezhny vrubezhny merged commit 7405e55 into eclipse-lemminx:master Jul 7, 2023
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.

1 participant