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

Random "exception in macro" error related to Main.WebHome when creating a page

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 17.10.3
    • None
    • None
    • Windows 11 Pro, Firefox 148, using an instance of XWiki 17.10.4 onOracle 19c, Tomcat 11, Java 21
    • Unknown

    Description

      Steps to reproduce

      1. Go to Main.WebHome
      2. Click 'Create' button
      3. On the Location, click on 'Edit the new location' (Pencil) button
      4. Insert a non existing parent
      5. Insert a page name
      6. Click 'Create' button

      Expected results

      No errors are displayed in the logs.

      Actual results

      The following stacktrace is displayed in XWiki console:

      2026-03-04 14:38:38,425 [http-nio-1115-exec-9 - http://localhost:1115/xwiki/bin/get/Main/WebHome?] ERROR o.a.v.d.null                   - Exception in macro #rawResponse called at <unknown template>[line 2998, column 1]
      2026-03-04 14:38:38,425 [http-nio-1115-exec-9 - http://localhost:1115/xwiki/bin/get/Main/WebHome?] ERROR o.a.v.d.null                   - Exception in macro #jsonResponse called at xwiki:XWiki.DocumentTreeMacros[line 103, column 1]
      2026-03-04 14:38:38,425 [http-nio-1115-exec-9 - http://localhost:1115/xwiki/bin/get/Main/WebHome?] ERROR o.a.v.d.null                   - Exception in macro #handleDocumentTreeRequest called at xwiki:XWiki.ExportDocumentTree[line 3, column 1]

      The above steps were done on a clean XWiki 17.10.4 (Oracle 19c/ Tomcat 11.0.18) instance.

      Unfortunately, I couldn't find the exact steps to reproduce the issue, I also tried on another clean instance by backtracking the steps that could lead to the issue.

      Attachments

        Activity

          People

            Unassigned Unassigned
            iandriuta Ilie Andriuta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: