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

StackOverflowError when creating a topic on a forum

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 11.8-rc-1, 11.10
    • Fix Version/s: 11.10.1, 12.0-rc-1
    • Component/s: Old Core
    • Labels:
    • Environment:
      Windows 10 Pro 64 bit, Chrome 78 using a local instance XWiki 11.10 on PostgreSQL 12
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      STEPS TO REPRODUCE

      1. Login as Admin
      2. Install Forum application
      3. Click on Forums from Navigation Panel
      4. Add a forum
      5. On that forum, add a topic

      EXPECTED RESULTS

      The topic is created successfully.

      ACTUAL RESULTS

      Most of the times, on the page, there is the following error encountered:

      Failed to execute the [velocity] macro. Cause: [null]. Click on this message for details.

      having the following stacktrace:

      java.lang.StackOverflowError
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:85)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:88)
      	at org.xwiki.properties.converter.AbstractConverter.convertToType(AbstractConverter.java:105)
      ...
      

      The error does not reproduce all the times, however, but most of the times. There are no errors in console.

      The issue could not be reproduced on XWiki 11.7 (tested also on 10.11.10 and 11.3.6), but reproduced starting 11.8RC1 to 11.10.

      Due to the fact that the same version of Forum was used for testing (2.2.1), indicates that might be an issue related to platform.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                surli Simon Urli
                Reporter:
                iandriuta Ilie Andriuta
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: