IntelliJ plugin Watchman exceptions
- Dominant language
- C++
- Stars
- 13.7k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
I get this repeated error in the Theia Filewatcher (sometimes up to 50 times in a row) while using IntelliJ Ultimate 2019.1.3. This will typically occur after leaving the IntelliJ window in the background for awhile (1-2 hours) or after sleeping the computer and then bringing IntelliJ to the foreground.
```
Could not watch root in Watchman
java.util.concurrent.ExecutionException: com.facebook.watchman.WatchmanException: connection closing down
at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:526)
at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:487)
at com.google.common.util.concurrent.AbstractFuture$TrustedFuture.get(AbstractFuture.java:83)
at com.facebook.tools.intellij.theia.WatchRefresher.run(WatchRefresher.java:95)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: com.facebook.watchman.WatchmanException: connection closing down
at com.facebook.watchman.WatchmanConnection.run(WatchmanConnection.java:173)
at com.facebook.watchman.WatchmanClientImpl.watch(WatchmanClientImpl.java:116)
... 8 more
```
Contributor guide
Assessment
This issue has not been assessed yet.