Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-56417

Content By User Macro with large dataset for content throws error rendering and causes high CPU usage

    XMLWordPrintable

Details

    Description

      Steps to reproduce:
      1. Create a page and Use Content By Macro
      2. Select user who has a lot of content in his/her name.
      3. Try publishing the page, it will result in an error.

      What happened...
      An error occurred. It was
      Error Rendering content by user macro
      null

      {"timestamp":"2018-08-14T04:29:33,958Z","level":"ERROR","serviceId":null,"product":null,"hostname":"localhost","env":null,"pid":16659,"thread":"http-nio-8081-exec-19","logger":"com.atlassian.confluence.content.render.xhtml.view.macro.ViewMacroMarshaller","message":"Error rendering macro: content-by-user","err":{"msg":null,"stack":"java.lang.NullPointerException\n"},"location":{"class":"com.atlassian.confluence.content.render.xhtml.view.macro.ViewMacroMarshaller","method":"handleMacroExecutionException","line":"200"},"ext":{"traceId":"625dec9ba8d3b120","referer":"/wiki/pages/resumedraft.action?draftId=280821808&draftShareId=8b356561-edeb-4ec2-a3da-80488b570338&","action":"viewpage","page":"280821808","userName":"x","url":"/wiki/display/~x/Test+content-by-user"}} 

       

      What should have happened...
      It should successfully render the content created by the user selected.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ggautam Ganesh Gautam
              Votes:
              7 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: