You are not logged in. Click here to log in.

codebeamer Application Lifecycle Management (ALM)

Search In Project

Search inClear

Tags:  not added yet
IMPORTANT! The information on this page is unverified and unsupported. Always double-check the accuracy of the solutions provided. Evaluate and test the impact on any environments!

Wiki - Unable to use the Wiki Word plugin due to Exception exporting package

Description

When using the Word Wiki plugin instead of with Word document content, the below error message is displayed:


The server logs contain this error:

INFO  plugins.word.Docx4jWordToHtmlConverter - Failed to load using Docx4j [catalina-exec-35] [194] {Req#=498801, Sess#=c60..eae, serverId=server}
org.docx4j.openpackaging.exceptions.Docx4JException: Exception exporting package
    at org.docx4j.convert.out.common.AbstractExporter.export(AbstractExporter.java:106) ~[docx4j-without-xslt-6.1.2.jar:?]
    at org.docx4j.Docx4J.toHTML(Docx4J.java:830) ~[docx4j-without-xslt-6.1.2.jar:?]
    at com.intland.codebeamer.wiki.plugins.word.Docx4jWordToHtmlConverter.convertWordToHtml(Docx4jWordToHtmlConverter.java:85) [cb-21.09-SP5.jar:?]
    at com.intland.codebeamer.wiki.plugins.WordPlugin.convert(WordPlugin.java:104) [cb-21.09-SP5.jar:?]
    at com.intland.codebeamer.wiki.plugins.WordPlugin.execute(WordPlugin.java:71) [cb-21.09-SP5.jar:?]
    at com.ecyrd.jspwiki.plugin.PluginManager.execute(PluginManager.java:401) [JSPWiki-1.11.jar:?]
    at com.ecyrd.jspwiki.parser.PluginContent.getText(PluginContent.java:164) [JSPWiki-1.11.jar:?]
    at org.jdom.output.XMLOutputter.printTextRange(XMLOutputter.java:1054) [jdom-1.1.jar:1.1]
    at org.jdom.output.XMLOutputter.printContentRange(XMLOutputter.java:989) [jdom-1.1.jar:1.1]
    at org.jdom.output.XMLOutputter.outputElementContent(XMLOutputter.java:445) [jdom-1.1.jar:1.1]
    at com.ecyrd.jspwiki.render.XHTMLRenderer.getString(XHTMLRenderer.java:61) [JSPWiki-1.11.jar:?]
    at com.intland.codebeamer.wiki.WikiMarkupProcessor.transformToHtml(WikiMarkupProcessor.java:571) [cb-21.09-SP5.jar:?]
    at com.intland.codebeamer.wiki.WikiMarkupProcessor.transformToHtml(WikiMarkupProcessor.java:508) [cb-21.09-SP5.jar:?]
    at com.intland.codebeamer.wiki.WikiMarkupProcessor.transformToHtml(WikiMarkupProcessor.java:501) [cb-21.09-SP5.jar:?]
    at com.intland.codebeamer.wiki.WikiMarkupProcessor.transformToHtml(WikiMarkupProcessor.java:487) [cb-21.09-SP5.jar:?]
    at com.intland.codebeamer.ui.view.table.TrackerSimpleLayoutDecorator.renderFieldValue(TrackerSimpleLayoutDecorator.java:1595) [cb-21.09-SP5.jar:?]
    at com.intland.codebeamer.ui.view.table.TrackerSimpleLayoutDecorator.getCustomValue(TrackerSimpleLayoutDecorator.java:1563) [cb-21.09-SP5.jar:?]
    at com.intland.codebeamer.ui.view.table.TrackerSimpleLayoutDecorator.getRenderValue(TrackerSimpleLayoutDecorator.java:1553) [cb-21.09-SP5.jar:?]
    at com.intland.codebeamer.ui.view.table.TrackerSimpleLayoutDecorator.getRenderValue(TrackerSimpleLayoutDecorator.java:1540) [cb-21.09-SP5.jar:?]
    at com.intland.codebeamer.ui.view.table.TrackerSimpleLayoutDecorator.getRenderValue(TrackerSimpleLayoutDecorator.java:1530) [cb-21.09-SP5.jar:?]
    at org.apache.jsp.bugs.tracker.docview.viewPropertiesFieldsTable_jsp._jspService(viewPropertiesFieldsTable_jsp.java:627) [ROOT/:?]
[...]
Caused by: java.lang.NullPointerException
    at org.docx4j.openpackaging.parts.WordprocessingML.ObfuscatedFontPart.deleteEmbeddedFontTempFiles(ObfuscatedFontPart.java:263) ~[docx4j-without-xslt-6.1.2.jar:?]
    at org.docx4j.openpackaging.parts.WordprocessingML.FontTablePart.deleteEmbeddedFontTempFiles(FontTablePart.java:161) ~[docx4j-without-xslt-6.1.2.jar:?]
    at org.docx4j.convert.out.common.AbstractExporter.export(AbstractExporter.java:90) ~[docx4j-without-xslt-6.1.2.jar:?]
    ... 224 more

Observed on

  • codebeamer 21.09-LTS (EMMA)
  • Docker

Solution

Ensure that the user.home location is present and that the user running codebeamer has access and permissions to write into such location.

Additional Information

The root cause of this issue is the codebeamer application inability to read/write/create the necessary .docx4j and .docx4all folders on the user.home location:



For any other Support options, questions, or inputs, visit: https://intland.com/technical-support/