Uploaded image for project: 'GeoServer'
  1. GEOS-8150

WPSStorageCleaner creates badly formatted dates

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 2.10.3, 2.11.1
    • Fix Version/s: 2.13-beta
    • Component/s: WPS
    • Labels:
      None

      Description

      If you have WPS enabled and leave logging on high then your server quickly fills the disk with spurious messages many times (6 or 7) a second:

      2017-05-24 10:41:13,301 TRACE [org.geotools.util] - Error applying the converter class org.geotools.xml.XmlConverterFactory$XmlConverter on (Tue Apr 25 13:13:14 UTC 2017,class java.util.Date)
      java.lang.IllegalArgumentException: Failed to parse time Tue Apr 25 13:13:14 UTC 2017 at:Tue Apr 25 13:13:14 UTC 2017
      at org.geotools.xml.impl.DatatypeConverterImpl.parseTime(DatatypeConverterImpl.java:189)
      at org.geotools.xml.XmlConverterFactory$XmlConverter.convertFromString(XmlConverterFactory.java:123)
      at org.geotools.xml.XmlConverterFactory$XmlConverter.convert(XmlConverterFactory.java:76)
      at org.geotools.util.Converters.convert(Converters.java:168)
      at org.geotools.util.Converters.convert(Converters.java:129)
      at org.geotools.temporal.TemporalConverterFactory$2.convert(TemporalConverterFactory.java:51)
      at org.geotools.util.Converters.convert(Converters.java:168)
      at org.geotools.util.Converters.convert(Converters.java:129)
      at org.geoserver.wps.property.BeanPropertyAccessor.get(BeanPropertyAccessor.java:37)
      at org.geotools.filter.AttributeExpressionImpl.tryAccessor(AttributeExpressionImpl.java:248)
      at org.geotools.filter.AttributeExpressionImpl.evaluate(AttributeExpressionImpl.java:208)
      at org.geotools.filter.temporal.BinaryTemporalOperatorImpl.toInstant(BinaryTemporalOperatorImpl.java:64)
      at org.geotools.filter.temporal.BinaryTemporalOperatorImpl.toTemporal(BinaryTemporalOperatorImpl.java:77)
      at org.geotools.filter.temporal.BinaryTemporalOperatorImpl.evaluate(BinaryTemporalOperatorImpl.java:52)
      at org.geotools.filter.AndImpl.evaluate(AndImpl.java:44)
      at org.geotools.filter.AndImpl.evaluate(AndImpl.java:44)
      at org.geoserver.wps.MemoryProcessStatusStore.remove(MemoryProcessStatusStore.java:74)
      at org.geoserver.wps.executor.ProcessStatusTracker.cleanExpiredStatuses(ProcessStatusTracker.java:135)
      at org.geoserver.wps.WPSStorageCleaner.run(WPSStorageCleaner.java:50)
      at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
      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:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:745)

        Attachments

          Activity

            People

            • Assignee:
              ianturton Ian Turton
              Reporter:
              ianturton Ian Turton
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Stride room