Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-25004

Warning about "Failed to parse date" using a modern format on XWiki 17.10.13

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • 17.10.13
    • Old Core
    • None
    • Windows 11 Pro, Edge 153, using an instance of XWiki 17.10.13 , Jetty/HSQL standalone distribution, Java 25 and Java 21
    • Unknown

    Description

      Steps to reproduce

      1. Start a Jetty/HSQL demo instance (I've tested with the Standard Flavor Pre-installed)
      2. Observe the XWiki logs

      Expected results

      No (other) warnings are displayed.

      Actual results

      The following warnings are displayed in XWiki console:

      2026-09-16 15:24:46,635 [task-manager-consumer] WARN  ateXarObjectPropertySerializer - Failed to parse date [Tue Jun 13 14:29:31 CEST 2017] using format [yyyy-MM-dd HH:mm:ss.S]. Trying again with format [EEE MMM d HH:mm:ss z yyyy].
      2026-09-16 15:24:46,667 [task-manager-consumer] WARN  ateXarObjectPropertySerializer - Failed to parse date [Tue Jun 13 14:29:31 CEST 2017] using format [yyyy-MM-dd HH:mm:ss.S]. Trying again with format [EEE MMM d HH:mm:ss z yyyy].
      2026-09-16 15:24:46,681 [task-manager-consumer] WARN  ateXarObjectPropertySerializer - Failed to parse date [Tue Jun 13 14:29:31 CEST 2017] using format [yyyy-MM-dd HH:mm:ss.S]. Trying again with format [EEE MMM d HH:mm:ss z yyyy].

      The warnings were reproduced also when importing a XAR, but it seems it doesn't reproduce consistently more than when just starting the XWiki instance.

      Also, it seems the warning couldn't be reproduced on XWiki 17.10.12 or 18.4.5 (tried multiple instance start-ups), but again, I couldn't find a consistent way to reproduce them.

      Attachments

        Activity

          People

            surli Simon Urli
            iandriuta Ilie Andriuta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: