Index Out of Bounds Exception When Uploading a Word Document

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

  1. Confluence fails to upload a Word document.
  2. A stack trace may be thrown in the browser and/or the following appears in the atlassian-confluence.log:
java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
	at java.util.ArrayList.RangeCheck(ArrayList.java:547)
	at java.util.ArrayList.get(ArrayList.java:322)
	at com.aspose.words.kd.dy(Unknown Source)
	at com.aspose.words.List.aF(Unknown Source)
	at com.aspose.words.ListFormat.getListLevel(Unknown Source)
	at com.benryan.dom.Doc2Wiki.visitParagraphStart(Doc2Wiki.java:453)
	at com.aspose.words.Paragraph.accept(Unknown Source)
	at com.aspose.words.CompositeNode.acceptChildren(Unknown Source)
	at com.aspose.words.Body.accept(Unknown Source)
	at com.aspose.words.CompositeNode.acceptChildren(Unknown Source)
	at com.aspose.words.Section.accept(Unknown Source)
	at com.aspose.words.CompositeNode.acceptChildren(Unknown Source)

原因

The Word document may contain custom bullet points, which the Office Connector plugin cannot interpret.

回避策

  1. Select all of the text in your document.
  2. Go to Format >> Bullets and Numbering.
  3. Choose one of the default bullet or numbering types that ships with MS Word.
  4. Save the document and attempt a new import into Confluence.

ソリューション

There is currently no way to upload a Word doc containing custom bullet points into Confluence. This bug is being tracked by OFFCONN-51.

Last modified on Mar 30, 2016

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.