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

Theme Logo setting where the selected color does not apply consistently across the menu bar.

      Issue Summary

      In version 9.2 of the software, there is a notable issue concerning the Theme Logo setting, which does not consistently apply the selected color across the menu bar. This inconsistency can lead to confusion among users and disrupt the overall cohesion of the user interface. Maintaining a professional appearance is vital for any software, and such discrepancies can detract from the user experience.

      Steps to Reproduce

      To effectively replicate this issue, please adhere to the following steps meticulously:

      1. Begin by setting up a local environment that is specifically tailored for Confluence version 9.2. This setup is essential for accurately testing the issue.
      2. Once the environment is fully operational, proceed to upload the attached logo logos.zip
      3. Navigate to General Configuration > Look and Feel > Site Logo and Favicon > Uploaded Images.
      4. Upload the logo in both the Light theme logo and Dark theme logo areas.
      5. After completing the uploads, ensure that you click on Save.

      Expected Results

      In an ideal scenario, the Theme Logo setting in version 9.2 should apply the selected color uniformly across the entire menu bar. Achieving this consistency would ensure that users experience a cohesive and visually appealing interface, which is essential for user satisfaction and engagement.

      Actual Results

      Upon attempting to apply the Theme Logo, an exception is recorded in the atlassian-confluence.log file, highlighting a significant error during the process. The log entry reads as follows:

      2025-01-31 18:04:57,488 ERROR [http-nio-8090-exec-1 url: /admin/sitelogo/upload.action; user: admin] [apache.struts2.dispatcher.DefaultDispatcherErrorHandler] sendErrorResponse Exception occurred during processing request: Cannot invoke "com.atlassian.lookandfeel.HSBColor.getPerceivedBrightness()" because "header" is null -- url: /admin/sitelogo/upload.action | userName: admin | referer: https://instenv-444683-xxrn.instenv.internal.atlassian.com/admin/sitelogo/view-sitelogo.action | traceId: 92c6f05ae0e849fa java.lang.NullPointerException: Cannot invoke "com.atlassian.lookandfeel.HSBColor.getPerceivedBrightness()" because "header" is null

       
      This log entry clearly indicates that a NullPointerException has occurred, specifically stating that the method getPerceivedBrightness() cannot be invoked because the "header" variable is null. This error not only points to a technical malfunction but also suggests that there may be underlying issues with how the Theme Logo setting interacts with the system.

      Workaround

      At this moment, there is no known workaround available for this issue. However, once a workaround is identified, it will be documented and provided here to assist users in navigating this problem until a permanent solution can be implemented.

        1. error.log
          51 kB
        2. logos.zip
          5 kB

            [CONFSERVER-99145] Theme Logo setting where the selected color does not apply consistently across the menu bar.

            There are no comments yet on this issue.

              Unassigned Unassigned
              aa991e88e0b2 Vaibhav More
              Affected customers:
              4 This affects my team
              Watchers:
              8 Start watching this issue

                Created:
                Updated: