-
Bug
-
Resolution: Cannot Reproduce
-
Medium
-
34
-
Severity 3 - Minor
-
0
-
Summary
Users are unable to import Word Documents to be used as Confluence Pages in their instance
Environment
- 1000.383.0
Steps to Reproduce
- Create a page in Confluence or go to an existing page (you want to view the page, not edit it).
- Choose > Import Word Document
- Choose Browse and locate the Word document you want to import then choose Next.
The import document options appear. - Enter a title for the new page
- Choose where you want to import the file - used Import as a new page in the current space
- Choose how to handle title conflicts - used Rename imported pages if page name already exists
- Choose whether to create a single page or multiple pages based on the heading styles in the file (this option is only available if the file contains heading styles). - N/A as example document did not contain heading styles (verified for other customer where the import fails if you choose split based on headings)
- Click Import.
Expected Results
Page is imported successfully
Actual Results
NPE is generated and displayed on page:
Cause java.lang.NullPointerException at com.benryan.webwork.WordImportAction.resolveTitleConflicts(WordImportAction.java:661) h3. Notes
It appears if the Word Document is attached and the Office Word Macro is utilized, the document can be displayed
Workaround
None
- is related to
-
CONFCLOUD-53868 Unable to Import Word Document to Confluence
- Closed
-
CONFSERVER-18853 Doc Import stuck in loop when duplicate titles are included in the Word Document
- Closed
-
CONFSERVER-20557 Import Word Document causes NullPointerException when a space does not have a homepage set
- Closed