Thinking about it, it's pretty obvious it reached a state not contemplated
on any test case: that at the time of starting to watch the directory, it
doesn't yet exist.
It's gonna be an easy fix, sorry for the trouble.

El sáb., 16 de noviembre de 2019 11:25 a. m., Andrea Aime <
andrea.a...@geo-solutions.it> escribió:

> Hi Gabriel,
> ok, scheduling reverts
>
> Cheers
> Andrea
>
> On Sat, Nov 16, 2019 at 3:08 PM Gabriel Roldan <gabriel.rol...@gmail.com>
> wrote:
>
>> Damn, please feel free to revert
>> https://github.com/geoserver/geoserver/pull/3860 and I'll get back to it
>> first thing Monday. Unfortunately I'm on a family trip right now and can't
>> take care of it before Monday.
>>
>> Gabriel.
>>
>> El vie., 15 de noviembre de 2019 1:07 p. m., Jody Garnett <
>> jody.garn...@gmail.com> escribió:
>>
>>> A recent change to file system watcher was Performed by Gabriel.
>>>
>>> On Fri, Nov 15, 2019 at 6:24 AM fernando.m...@geo-solutions.it <
>>> fernando.m...@geo-solutions.it> wrote:
>>>
>>>>
>>>> Hi all,
>>>>
>>>> Today I started to get a cyclic error (doesn't stop to show all the
>>>> time) log running Geoserver master from web app module:
>>>>
>>>> 15 Nov 09:04:04 WARN [platform.resource] - Error polling contents of
>>>> /home/fernando/Documents/geosolutions/geoserver/src/web/app/src/main/webapp/data/gwc-layers
>>>> java.lang.NullPointerException
>>>>     at java.base/java.util.Objects.requireNonNull(Objects.java:221)
>>>>     at
>>>> org.geoserver.platform.resource.FileSystemWatcher$Watch.pollDirectory(FileSystemWatcher.java:213)
>>>>     at
>>>> org.geoserver.platform.resource.FileSystemWatcher$Watch.changed(FileSystemWatcher.java:209)
>>>>     at
>>>> org.geoserver.platform.resource.FileSystemWatcher$1.run(FileSystemWatcher.java:349)
>>>>     at
>>>> java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
>>>>     at
>>>> java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
>>>>     at
>>>> java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
>>>>     at
>>>> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
>>>>     at
>>>> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
>>>>     at java.base/java.lang.Thread.run(Thread.java:834)
>>>>
>>>> Any hint about what could be the root cause for this?
>>>>
>>>> Thanks.
>>>>
>>>> Regards,
>>>>
>>>> Fernando Mino
>>>>
>>>> ==
>>>>
>>>> GeoServer Professional Services from the experts! Visit
>>>> http://goo.gl/it488V for more information.
>>>>
>>>> ==
>>>>
>>>> Fernando Mino
>>>>
>>>> Software Engineer
>>>>
>>>> GeoSolutions S.A.S.
>>>>
>>>> Via di Montramito 3
>>>> <https://www.google.com/maps/search/Via+di+Montramito+3?entry=gmail&source=g>
>>>> /A
>>>>
>>>> 55054  Massarosa (LU)
>>>>
>>>> Italy
>>>>
>>>> phone: +39 0584 962313
>>>>
>>>> fax:     +39 0584 1660272
>>>>
>>>> http://www.geo-solutions.it
>>>>
>>>> http://twitter.com/geosolutions_it
>>>>
>>>> -------------------------------------------------------
>>>>
>>>>
>>>> Con riferimento alla normativa sul trattamento dei dati personali (Reg.
>>>> UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si
>>>> precisa che ogni circostanza inerente alla presente email (il suo
>>>> contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è
>>>> riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
>>>> messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra
>>>> operazione è illecita. Le sarei comunque grato se potesse darmene notizia.
>>>>
>>>> This email is intended only for the person or entity to which it is
>>>> addressed and may contain information that is privileged, confidential or
>>>> otherwise protected from disclosure. We remind that - as provided by
>>>> European Regulation 2016/679 “GDPR” - copying, dissemination or use of this
>>>> e-mail or the information herein by anyone other than the intended
>>>> recipient is prohibited. If you have received this email by mistake, please
>>>> notify us immediately by telephone or e-mail.
>>>>
>>>>
>>>> _______________________________________________
>>>> Geoserver-devel mailing list
>>>> Geoserver-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>>>>
>>> --
>>> --
>>> Jody Garnett
>>> _______________________________________________
>>> Geoserver-devel mailing list
>>> Geoserver-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>>>
>> _______________________________________________
>> Geoserver-devel mailing list
>> Geoserver-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>>
>
>
> --
>
> Regards, Andrea Aime == GeoServer Professional Services from the experts!
> Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime
> @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054
> Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339
> 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it
> ------------------------------------------------------- *Con riferimento
> alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 -
> Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni
> circostanza inerente alla presente email (il suo contenuto, gli eventuali
> allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i
> destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per
> errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le
> sarei comunque grato se potesse darmene notizia. This email is intended
> only for the person or entity to which it is addressed and may contain
> information that is privileged, confidential or otherwise protected from
> disclosure. We remind that - as provided by European Regulation 2016/679
> “GDPR” - copying, dissemination or use of this e-mail or the information
> herein by anyone other than the intended recipient is prohibited. If you
> have received this email by mistake, please notify us immediately by
> telephone or e-mail.*
>
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to