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)

Atlassian JIRA | Tyler Davis [Atlassian] | 4 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    [CONF-14662] Cannot split word document by headings on import - Atlassian JIRA

    atlassian.com | 2 years ago
    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)
  2. 0

    When importing a word document and selecting "split by X headings", either L1 or L2, the import fails with the following (truncated) stacktrace: {noformat} @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) ... {noformat}

    Atlassian JIRA | 4 years ago | Tyler Davis [Atlassian]
    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)

    Root Cause Analysis

    1. 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)

      at com.aspose.words.CompositeNode.acceptCore()
    2. com.aspose.words
      Paragraph.accept
      1. com.aspose.words.CompositeNode.acceptCore(Unknown Source)
      2. com.aspose.words.Paragraph.accept(Unknown Source)
      2 frames