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
NullPointerException on ResourceWatcherService #7689
Labels
Comments
ES v1.2.1 |
I'm not able to reproduce this. I added a test, which passes on 1.x and the 1.2.1 release. Can you list of set of reproducible steps? |
imotov
added a commit
to imotov/elasticsearch
that referenced
this issue
Oct 3, 2014
imotov
added a commit
that referenced
this issue
Oct 3, 2014
imotov
added a commit
that referenced
this issue
Oct 3, 2014
mute
pushed a commit
to mute/elasticsearch
that referenced
this issue
Jul 29, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I made a mistake while i deployed a script. I created a file (instead of a directory) named "scripts" to save my script. And now, even if scripts is a directory (with the script inside), i got the following exception
[2014-09-11 13:55:15,117][WARN ][threadpool ] [Barristan] failed to run org.elasticsearch.watcher.ResourceWatcherService$ResourceMonitor@5985e4fa java.lang.NullPointerException at org.elasticsearch.watcher.FileWatcher$FileObserver.updateChildren(FileWatcher.java:184) at org.elasticsearch.watcher.FileWatcher$FileObserver.checkAndNotify(FileWatcher.java:93) at org.elasticsearch.watcher.FileWatcher.doCheckAndNotify(FileWatcher.java:47) at org.elasticsearch.watcher.AbstractResourceWatcher.checkAndNotify(AbstractResourceWatcher.java:43) at org.elasticsearch.watcher.ResourceWatcherService$ResourceMonitor.run(ResourceWatcherService.java:102) at org.elasticsearch.threadpool.ThreadPool$LoggingRunnable.run(ThreadPool.java:440) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)
The text was updated successfully, but these errors were encountered: