-
Bug
-
Resolution: Unresolved
-
Medium
-
None
-
2.10.2, 5.4-OD-4, 5.5.3, 5.6.1, 5.10.2
-
9
-
Severity 2 - Major
-
0
-
NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.
When importing the attached word document using the Office Connector, an error is returned (see attached).
Log from another issue:
@400000005089a378209e6144 2012-10-25 20:39:10,543 ERROR [TP-Processor12] [atlassian.confluence.servlet.ConfluenceServletDispatcher] sendError Could not execute action @400000005089a378209e6cfc -- url: /wiki/pages/worddav/doimportword.action | userName: sysadmin | referer: https://tdavis.jira-dev.com/wiki/pages/worddav/importword.action @400000005089a378209e74cc java.lang.IndexOutOfBoundsException: Index: 61, Size: 61 @400000005089a378209e74cc at java.util.ArrayList.RangeCheck(ArrayList.java:547) @400000005089a378209e78b4 at java.util.ArrayList.get(ArrayList.java:322) @400000005089a37820a08fdc at com.benryan.dom.DefaultSplitImportContext.getNextNode(DefaultSplitImportContext.java:52) @400000005089a37820a093c4 at com.benryan.dom.DefaultSplitImportContext.splitPage(DefaultSplitImportContext.java:62) @400000005089a37820a097ac at com.benryan.dom.DocSplitter.handleParagraphStyle(DocSplitter.java:82) @400000005089a37820a09b94 at com.benryan.dom.Doc2Wiki.visitParagraphStart(Doc2Wiki.java:472) @400000005089a37820a09f7c at com.aspose.words.Paragraph.a(Unknown Source) @400000005089a37820a0e1e4 at com.aspose.words.CompositeNode.acceptCore(Unknown Source) @400000005089a37820a0e1e4 at com.aspose.words.Paragraph.accept(Unknown Source) @400000005089a37820a0e5cc at com.aspose.words.CompositeNode.acceptChildren(Unknown Source) @400000005089a37820a0e9b4 at com.aspose.words.CompositeNode.acceptCore(Unknown Source) ...
Following appears in the atlassian-confluence.log:
2014-09-19 09:56:20,800 ERROR [http-bio-9090-exec-2] [atlassian.confluence.servlet.ConfluenceServletDispatcher] sendError Could not execute action -- url: /pages/worddav/doimportword.action | userName: admin | referer: http://localhost:9090/pages/worddav/importword.action java.lang.IndexOutOfBoundsException: Index: 63, Size: 63 at java.util.ArrayList.rangeCheck(ArrayList.java:635) at java.util.ArrayList.get(ArrayList.java:411) at com.benryan.dom.DefaultSplitImportContext.getNextNode(DefaultSplitImportContext.java:50) at com.benryan.dom.DefaultSplitImportContext.splitPage(DefaultSplitImportContext.java:60) at com.benryan.dom.DocSplitter.handleParagraphStyle(DocSplitter.java:82) at com.benryan.dom.Doc2Wiki.visitParagraphStart(Doc2Wiki.java:502) at com.aspose.words.Paragraph.욨Unknown Source) at com.aspose.words.CompositeNode.acceptCore(Unknown Source) ..... at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744)
Error in the UI:
Steps to reproduce:
- Start importing the attached word document using the "Advanced" button
- Attempt to split the document using the first level of headings
- An error is immediately thrown
- is duplicated by
-
CONFSERVER-27017 Word document import fails with IndexOutOfBounds exception when splitting by headers
- Closed
- relates to
-
CONFCLOUD-14662 Cannot split word document by headings on import
- Closed
-
CONFSERVER-26126 Import Word Document failed at split level 2 and split level 3 headings
- Closed
-
CONFSERVER-39094 Index out of bounds exception when
- Closed
-
CONFSERVER-39027 Implement Error Handling on Failed to Import Word Document
- Closed