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

Editing a file with non Latin characters in the name using Microsoft excel leads to errors

      Issue Summary

      When editing a file with non-English characters leads to errors

      This is reproducible on Data Center: (yes) / (no)

      Steps to Reproduce

      1. Install confluence 8.9.1
      2. Save a file with any name in non-English language (eg. ИЗ_Активности.xls)
      3. Go to Administration   > General Configuration > Office Connector
      1. Enable below options
      2. Create a Page
      3. Upload the mentioned file
      4. Add the Office Excel macro and select the same file
      5. Save the Page
      6. Now click on the Edit Document button

      Expected Results

      Excel files open

      Actual Results

      Below error is observed

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

      2024-07-04 13:34:21,221 ERROR [http-nio-8090-exec-61 url: /confluence/500page.jsp] [atlassian.confluence.status.SystemErrorInformationLogger] logException Unhandled exception a79fcbd5-208e-4e30-a915-ae195e346fa4: Cannot invoke \"com.atlassian.confluence.pages.Attachment.getFileName()\" because \"this.attachment\" is null
       -- traceId: 247130c483edccaf
      java.lang.NullPointerException: Cannot invoke "com.atlassian.confluence.pages.Attachment.getFileName()" because "this.attachment" is null
              at com.benryan.servlet.webdav.AttachmentResource.checkEditPermission(AttachmentResource.java:133)
              at com.benryan.servlet.webdav.ResourceBuilder.buildAttachmentResource(ResourceBuilder.java:123)
      

      Workaround

      Rename the file to have English characters and try editing the files

          Form Name

            [CONFSERVER-96115] Editing a file with non Latin characters in the name using Microsoft excel leads to errors

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

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

              mleizerovich Maxim Leizerovich
              d51fc966722f Shivangi Nayak
              Affected customers:
              0 This affects my team
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: