Viewing old page versions displays an error message when faster permission is enabled

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: 8.5.22, 9.2.7, 10.1.1, 9.2.10
    • None
    • 1
    • Severity 3 - Minor

      Issue Summary

      Viewing old versions of the page displays an error message related to Children macro when faster permission is enabled

      Steps to Reproduce

      1. Setup Confluence 9.2.7
      2. Create a parent page and add children display macro
      3. Create two child pages
      4. Modify the parent page
      5. Enable Faster permissions service
      6. Go to page versions and check previous versions

      Expected Results

      Viewing old page versions page shouldn’t display any error.

      Actual Results

      The below is thrown in the UI.

      Error rendering macro 'children'
      Cannot invoke "com.atlassian.confluence.spaces.Space.getId()" because "space" is null
      

      The below exception is thrown in the atlassian.confluence.log file:

      referer: https://linux-114427.prod.atl-cd.net/confluence/pages/viewpage.action?pageId=393240| traceId: 2127fe388b5e2345 | userName: admin | action: viewpage | url: /pages/viewpage.action
      java.lang.NullPointerException: Cannot invoke "com.atlassian.confluence.spaces.Space.getId()" because "space" is null
        at com.atlassian.confluence.plugins.macros.advanced.BulkPermissionHelper.getAllDescendants(BulkPermissionHelper.java:177)
        at com.atlassian.confluence.plugins.macros.advanced.xhtml.ChildrenMacro$Helper.getChildrenFromPage(ChildrenMacro.java:470)
      

      Workaround

      Disabling faster permission removes the error

        1. Screenshot 2025-11-07 at 4.23.55 PM.png
          378 kB
          Sushree Shailaja Satapathy
        2. Screenshot 2025-11-07 at 4.25.43 PM.png
          354 kB
          Sushree Shailaja Satapathy
        3. Screenshot 2025-11-07 at 4.21.06 PM.png
          430 kB
          Sushree Shailaja Satapathy

            Assignee:
            Unassigned
            Reporter:
            Sushree Shailaja Satapathy
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: