-
Type:
Bug
-
Resolution: Obsolete
-
Priority:
Low
-
Affects Version/s: 5.8.10, 5.8.13
-
Component/s: Editor - Page / Comment Editor
-
3
-
Severity 3 - Minor
-
1
Summary
Microsoft Office Excel file viewer macro will break if contains certain image file
Environment
- Microsoft excel, (.xlsx)
Steps to Reproduce
- Upload the following test xlsx file provided in this bug report to Confluence
Expected Results
All contents including the images are rendered normally
Actual Results
Confluence Excel file viewer throws error:
Error rendering macro 'viewxls' : com.benryan.conversion.ConversionException: java.lang.ArrayIndexOutOfBoundsException: Coordinate out of bounds!
The below exception is thrown in the atlassian-confluence.log file:
2015-10-15 19:44:59,922 WARN [http-nio-15813-exec-4] [xhtml.view.macro.ViewMacroMarshaller] marshalInternal Exception executing macro: viewxls, with message: com.benryan.conversion.ConversionException: java.lang.ArrayIndexOutOfBoundsException: Coordinate out of bounds! -- referer: <Confluence_base_URL>/pages/editpage.action?pageId=360452 | url: /display/TS/test+space | userName: admin | action: viewpage | page: 360452
Workaround
Convert the excel file to word file first before uploading to Confluence