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

Jira Issue Macro can fail to load in a clustered Confluence Data Center 7.13.10

      Note

      We've been able to reproduce the problem and can confirm it occurs when Confluence is cold started with 7.13.10 or with the upgrade JAR file for the Jira Issue Macro plugin.

      As a result of this, we've removed Confluence 7.13.10 from download, and have provided a workaround JAR file below in the Workaround section

      Problem

      The Jira Issue Macro won't be displayed properly in a Confluence Data Center version 7.13.10

      Environment

      Issue reproduced on Confluence Data Center version 7.13.10 (please note the issue has been seen on Clustered mode however in Standalone it is working fine)

      Steps to Reproduce

      • Create a new Confluence DC Clustered instance version 7.13.10
      • Connect to a Jira instance with Application Link
      • Attempt to display Jira Issues in Confluence using the Jira Issues Macro

      Expected Results

      The Jira Issues Macro should load fine

      Actual Results

      The Jira Issues Macros are failing

       We would also see the below stack trace appearing in the logs

      atlassian-confluence.log
      [...]
      2022-10-13 16:40:46,009 ERROR [http-nio-21310-exec-5] [extra.jira.helper.JiraExceptionHelper] throwMacroExecutionException Macro execution exception: 
       -- url: /display/TEST/Test+Jira+Issues+Macro | page: 65609 | traceId: 369e4daf361f6002 | userName: admin | referer: confluenceBaseURL | action: viewpage
      com.atlassian.cache.CacheException: Problem retrieving a value from cache com.atlassian.confluence.extra.jira.services.DefaultAsyncJiraIssueBatchService
      [...]
      Caused by: com.hazelcast.nio.serialization.HazelcastSerializationException: Failed to serialize 'com.atlassian.confluence.extra.jira.model.ClientId'
      [...]
      Caused by: com.hazelcast.nio.serialization.HazelcastSerializationException: There is no suitable serializer for class com.atlassian.confluence.extra.jira.model.ClientId
      [...]
      

      Workaround

      Due to the severity of this and a related issue, we've release a custom JAR file that includes a fix.

      To implement it, please

      1. Download the new file from https://packages.atlassian.com/maven-external/com/atlassian/confluence/plugins/confluence-jira-plugin/11.5.10/
        Please be careful when installing JAR files from the internet as they are executable code. In this case the JAR file is hosted on a known Atlassian domain, but we generally recommend against doing this
      2. In Confluence, click the Cog icon on the top right, and click Manage Apps
      3. On the Manage Apps page, click Upload App
      4. Select the downloaded JAR file, and click Upload
      5. Wait for the installation to complete
      6. Perform a rolling restart on the cluster (restarting one node, waiting for it to come back up, restarting the next node)
        This is required to fix an issue with a misconfigured cache

      Should you need to uninstall the app for any reason, please refer to Installing, Uninstalling, Upgrading and Downgrading Marketplace Apps on Confluence using REST API

      Notes

      The issue was not present on Confluence DC 7.13.9

          Form Name

            [CONFSERVER-80139] Jira Issue Macro can fail to load in a clustered Confluence Data Center 7.13.10

            A fix for this issue is available in Confluence Server and Data Center 8.0.0.
            Upgrade now or check out the Release Notes to see what other issues are resolved.

            James Whitehead added a comment - A fix for this issue is available in Confluence Server and Data Center 8.0.0. Upgrade now or check out the Release Notes to see what other issues are resolved.

            A fix for this issue is available in Confluence Server and Data Center 7.19.3.
            Upgrade now or check out the Release Notes to see what other issues are resolved.

            odykovy (Inactive) added a comment - A fix for this issue is available in Confluence Server and Data Center 7.19.3. Upgrade now or check out the Release Notes to see what other issues are resolved.

            A fix for this issue is available in Confluence Server and Data Center 7.20.1.
            Upgrade now or check out the Release Notes to see what other issues are resolved.

            Saran Babu Pannuru (Inactive) added a comment - A fix for this issue is available in Confluence Server and Data Center 7.20.1. Upgrade now or check out the Release Notes to see what other issues are resolved.

            A fix for this issue is available in Confluence Server and Data Center 7.13.11.
            Upgrade now or check out the Release Notes to see what other issues are resolved.

            Madhubabu Kethineni (Inactive) added a comment - A fix for this issue is available in Confluence Server and Data Center 7.13.11. Upgrade now or check out the Release Notes to see what other issues are resolved.

            Hi,
            I can confirm that the patched plugin resolves this issue.

            Thanks,
            Richard

            Richard Bukovansky added a comment - Hi, I can confirm that the patched plugin resolves this issue. Thanks, Richard

            I have just installed the new version in STG and can confirm that it fixes the issue. THX

            georg.brunmayr added a comment - I have just installed the new version in STG and can confirm that it fixes the issue. THX

            James Ponting added a comment - - edited

            Hi All,

            Thanks for the patience on this one.

            We have a fixed JAR file available for download, and I've included the download link and steps for its use in the Workaround section in the issue above.

            de4f7b20fd7b - The Support team was acting on the information i'd provided them yesterday. We ran into issues testing and had to delay until this morning. Apologies for the inconvenience.

            Thanks,
            James Ponting
            Engineering Manager - Confluence Data Center

            James Ponting added a comment - - edited Hi All, Thanks for the patience on this one. We have a fixed JAR file available for download, and I've included the download link and steps for its use in the Workaround section in the issue above. de4f7b20fd7b - The Support team was acting on the information i'd provided them yesterday. We ran into issues testing and had to delay until this morning. Apologies for the inconvenience. Thanks, James Ponting Engineering Manager - Confluence Data Center

            Could I politely request a status update - your support team yesterday(18/Oct/22 04:38 AM)  directed me to watch this JIRA, (which I was already doing, I'd pointed them to it in my original ticket) - because "we are going to release the updated JAR with the fix mostly by today"... I see zero movement here, well over 24h later. (so allowing for all timezone possibilities.) The last meaningful update here is 2d ago.

            My organisation is already testy at having the huge price hike of data-center forced on them. Now we're asking them to work thru an external-audit, with a Confluence that is no longer joined up to JIRA... if I could just get a realistic fix-forecast, I could reduce the angst... I'm sure I'm not alone!

            Thanks,

            malc.

            Malcolm Lashley added a comment - Could I politely request a status update - your support team yesterday(18/Oct/22 04:38 AM)  directed me to watch this JIRA, (which I was already doing, I'd pointed them to it in my original ticket) - because "we are going to release the updated JAR with the fix mostly by today"... I see zero movement here, well over 24h later. (so allowing for all timezone possibilities.) The last meaningful update here is 2d ago. My organisation is already testy at having the huge price hike of data-center forced on them. Now we're asking them to work thru an external-audit, with a Confluence that is no longer joined up to JIRA... if I could just get a realistic fix-forecast, I could reduce the angst... I'm sure I'm not alone! Thanks, malc.

            Hey 0a67c4c11251,

            Thanks for letting us know.

            I've added a note at the top of the ticket. We're working to get this resolved post haste.

            Thanks in advance for your patience on this one, and apologies for the inconvenience.

            Thanks,
            James Ponting
            Engineering Manager - Confluence Data Center

            James Ponting added a comment - Hey 0a67c4c11251 , Thanks for letting us know. I've added a note at the top of the ticket. We're working to get this resolved post haste. Thanks in advance for your patience on this one, and apologies for the inconvenience. Thanks, James Ponting Engineering Manager - Confluence Data Center

            rmontag-ap added a comment - - edited

            EDIT: Cannot upload my screenshots as attachment.

             

            I can see on our instances after upgrade to 7.13.10 that the first link on a page containing Jira links is always broken and shown as red error:

             

            Error rendering macro 'jira'
            Problem retrieving a value from cache com.atlassian.confluence.extra.jira.services.DefaultAsyncJiraIssueBatchService
            

             

            , so this is a little different to the screenshot in the description which only shows a yellow warning. 

            The other Jira Links on the same page are shown correctly.

            In the server log I see exact the same errors as mentioned in the description.
            I have created a support ticket, hopefully this will get fixed asap.

            Same setup as mentioned in the description, i.e.

            • updated from 7.13.9 to 7.13.10
            • our Confluence Data Center is running in Cluster-Mode

             

            rmontag-ap added a comment - - edited EDIT: Cannot upload my screenshots as attachment.   I can see on our instances after upgrade to 7.13.10 that the first link on a page containing Jira links is always broken and shown as red error:   Error rendering macro 'jira' Problem retrieving a value from cache com.atlassian.confluence.extra.jira.services.DefaultAsyncJiraIssueBatchService   , so this is a little different to the screenshot in the description which only shows a yellow warning.  The other Jira Links on the same page are shown correctly. In the server log I see exact the same errors as mentioned in the description. I have created a support ticket, hopefully this will get fixed asap. Same setup as mentioned in the description, i.e. updated from 7.13.9 to 7.13.10 our Confluence Data Center is running in Cluster-Mode  

              5337e069d1ab Pille Saral
              2e857505f334 Pascal Oberle
              Affected customers:
              13 This affects my team
              Watchers:
              33 Start watching this issue

                Created:
                Updated:
                Resolved: