Hi all,

is anybody familiar with this exception:


---------
2023-04-30 18:01:08 ERROR [ModificationWatcher Task] [SYSTEM] Task - Task 
'ModificationWatcher' terminated
java.lang.InterruptedException: sleep interrupted
        at java.lang.Thread.sleep(Native Method) ~[?:?]
        at org.apache.wicket.util.thread.Task$1.run(Task.java:151) 
[wicket-util-9.12.0.jar:9.12.0]
        at java.lang.Thread.run(Thread.java:829) [?:?]
---------

This seems to happen when I shut down my Spring Boot based application. As far 
as I can see, it is generated
when org.apache.wicket.util.watch.ModificationWatcher.destroy() is called:


---------
        @Override
        public void destroy()
        {
                if (task != null)
                {
                        // task.stop();
                        task.interrupt();
                }
        }
---------

It seems to me, that this exception is kind of expected when shutting down the 
application.
Is that that case? If it is an expected and common exception, it might not need 
to be logged
as an error?

Cheers,

-- Richard

Reply via email to