-
Bug
-
Resolution: Fixed
-
Low
-
8.9.0, 8.9.1
-
7
-
Severity 3 - Minor
-
6
-
Issue Summary
When editing a file with non-English characters leads to errors
This is reproducible on Data Center: (yes) / (no)
Steps to Reproduce
- Install confluence 8.9.1
- Save a file with any name in non-English language (eg. ИЗ_Активности.xls)
- Go to Administration
> General Configuration > Office Connector
- Enable below options
- Create a Page
- Upload the mentioned file
- Add the Office Excel macro and select the same file
- Save the Page
- 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
- is resolved by
-
CONFSERVER-95909 When clicking on the Edit Document for the Office macro using the Edit in Office feature, the attachment fails to open with an error.
-
- Closed
-
Form Name |
---|
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.