Failed rendering of pages with a large number of static macros

XMLWordPrintable

    • 5
    • Severity 3 - Minor
    • 2

      Issue Summary

      Pages with a large number of static macros do not render reliably. 

      Steps to Reproduce

      1. Add 100 static macros to a page.
      2. View the page.

      Expected Results

      The page renders reliably.

      Actual Results

      The page intermittently fails to render. See screenshots.

      When inspecting the developer console, the following response can be seen in the <site>/cgraphql?q=MacroContentRendererQuery requests:

      {"errors":[{
      "message":"Exception querying the remote GraphQL service: io.atlassian.platform.micros.asynchttp.UnexpectedHttpStatusResponseException: Unexpected status code 500",
      "locations":[{"line":2,"column":3}],
      "path":["contentRenderer"],"extensions":{"statusCode":"500"}}],
      "data":{"contentRenderer":null}}
      

      In the logs on the Atlassian end, the error relates to the following:

      Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.GenericJDBCException: 
      Unable to acquire JDBC Connection
      

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

        1. error-a.png
          55 kB
          Dugald Morrow
        2. error-b.png
          75 kB
          Dugald Morrow

            Assignee:
            Alex K
            Reporter:
            Dugald Morrow
            Votes:
            12 Vote for this issue
            Watchers:
            22 Start watching this issue

              Created:
              Updated:
              Resolved: