- status: open --> closed-fixed
UpdateChannelTask.run() is not catching a
RunTimeException that could be thrown in the end of
FormatDetector.getFormat(URL url)
It seems to cancel all further updating in the whole
ChannelRegisty instance by cancelling timer.
See traces below
=======================================
Hit uncaught exception java.lang.RuntimeException
java.lang.RuntimeException: Unable to read from URL
http://lilitu.org/blog/index.rdf
at
de.nava.informa.utils.FormatDetector.getFormat
(FormatDetector.java:105)
at
de.nava.informa.utils.UpdateChannelTask.run
(UpdateChannelTask.java:73)
at java.util.TimerThread.mainLoop
(Timer.java:432)
at java.util.TimerThread.run(Timer.java:382)
StandardWrapperValve[readerservlet]: Servlet.service()
for servlet readerservlet threw exception
java.lang.IllegalStateException: Timer already cancelled.
java.lang.IllegalStateException: Timer already cancelled.
at java.util.Timer.sched(Timer.java:312)
at java.util.Timer.schedule(Timer.java:180)
at
de.nava.informa.utils.ChannelRegistry.activateChannel
(ChannelRegistry.java:140)
at pt.www.spots.ReaderServlet.doGet
(ReaderServlet.java:58)
at javax.servlet.http.HttpServlet.service
(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service
(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalD
oFilter(ApplicationFilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:243)
at
org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:566)
at
org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke
(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:190)
at
org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:566)
at
org.apache.catalina.valves.CertificatesValve.invoke
(CertificatesValve.java:246)
at
org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:564)
at
org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke
(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContext.invoke
(StandardContext.java:2347)
at
org.apache.catalina.core.StandardHostValve.invoke
(StandardHostValve.java:180)
at
org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:566)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke
(ErrorDispatcherValve.java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:564)
at
org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:564)
at
org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke
(ContainerBase.java:943)
at
org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:174)
at
org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:566)
at
org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke
(ContainerBase.java:943)
at
org.apache.catalina.connector.http.HttpProcessor.proce
ss(HttpProcessor.java:1027)
at
org.apache.catalina.connector.http.HttpProcessor.run
(HttpProcessor.java:1125)
at java.lang.Thread.run(Thread.java:536)
java.lang.IllegalStateException: Timer already cancelled.
at java.util.Timer.sched(Timer.java:312)
at java.util.Timer.schedule(Timer.java:180)
at
de.nava.informa.utils.ChannelRegistry.activateChannel
(ChannelRegistry.java:140)
at pt.www.spots.ReaderServlet.doGet
(ReaderServlet.java:58)
at javax.servlet.http.HttpServlet.service
(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service
(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalD
oFilter(ApplicationFilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:243)
at
org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:566)
at
org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke
(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:190)
at
org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:566)
at
org.apache.catalina.valves.CertificatesValve.invoke
(CertificatesValve.java:246)
at
org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:564)
at
org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke
(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContext.invoke
(StandardContext.java:2347)
at
org.apache.catalina.core.StandardHostValve.invoke
(StandardHostValve.java:180)
at
org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:566)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke
(ErrorDispatcherValve.java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:564)
at
org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:564)
at
org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke
(ContainerBase.java:943)
at
org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:174)
at
org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:566)
at
org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke
(ContainerBase.java:943)
at
org.apache.catalina.connector.http.HttpProcessor.proce
ss(HttpProcessor.java:1027)
at
org.apache.catalina.connector.http.HttpProcessor.run
(HttpProcessor.java:1125)
at java.lang.Thread.run(Thread.java:536)
--------------------------------------------------------------------------------