Export to word fails
3 answers
Please check the client log for any relevant exceptions.
By default it would be located at:
C:\Documents and Settings\{Windows login id}\IBM\RequirementsComposer\workspace\.metadata\.log
Here is the log from my personal workspace:
Caused by: java.lang.ClassCastException: com.ibm.rdm.ui.richtext.export.word.RichTextDocWriter$1 cannot be cast to com.ibm.rdm.ui.export.word.model.List
at com.ibm.rdm.ui.export.word.model.ListItem.setLevel(ListItem.java:25)
at com.ibm.rdm.ui.richtext.export.word.RichTextDocWriter.writeListItem(RichTextDocWriter.java:272)
at com.ibm.rdm.ui.richtext.export.word.RichTextDocWriter.writeBlockEntity(RichTextDocWriter.java:136)
at com.ibm.rdm.ui.richtext.export.word.RichTextDocWriter.writeBody(RichTextDocWriter.java:400)
at com.ibm.rdm.ui.richtext.export.word.RichTextDocWriter.writeResourceContents(RichTextDocWriter.java:656)
at com.ibm.rdm.ui.export.word.provider.WordExportProvider.export(WordExportProvider.java:90)
at com.ibm.rdm.ui.export.word.actions.ExportToWordOperation.export(ExportToWordOperation.java:84)
at com.ibm.rdm.ui.export.word.actions.ExportToWordOperation.export(ExportToWordOperation.java:70)
at com.ibm.rdm.ui.export.word.actions.ExportToWordOperation.run(ExportToWordOperation.java:57)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Root exception:
java.lang.ClassCastException: com.ibm.rdm.ui.richtext.export.word.RichTextDocWriter$1 cannot be cast to com.ibm.rdm.ui.export.word.model.List
at com.ibm.rdm.ui.export.word.model.ListItem.setLevel(ListItem.java:25)
at com.ibm.rdm.ui.richtext.export.word.RichTextDocWriter.writeListItem(RichTextDocWriter.java:272)
at com.ibm.rdm.ui.richtext.export.word.RichTextDocWriter.writeBlockEntity(RichTextDocWriter.java:136)
at com.ibm.rdm.ui.richtext.export.word.RichTextDocWriter.writeBody(RichTextDocWriter.java:400)
at com.ibm.rdm.ui.richtext.export.word.RichTextDocWriter.writeResourceContents(RichTextDocWriter.java:656)
at com.ibm.rdm.ui.export.word.provider.WordExportProvider.export(WordExportProvider.java:90)
at com.ibm.rdm.ui.export.word.actions.ExportToWordOperation.export(ExportToWordOperation.java:84)
at com.ibm.rdm.ui.export.word.actions.ExportToWordOperation.export(ExportToWordOperation.java:70)
at com.ibm.rdm.ui.export.word.actions.ExportToWordOperation.run(ExportToWordOperation.java:57)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Please open a defect and if at all possible, provide the document that's causing the problem as an attachment. If you are not able to provide/attach the document for any reason, would you be willing to send it directly to me or try to come up with a similarly formatted document that also causes this error instead?