We are migrating our code from docx4j 8.2.9 to 8.3.0;
in our code we have to insert an xhtml table into a docx file; with docx4j version 8.2.9 we haven't problems, but with version 8.3.0 we have the error:
Exception in thread "main" java.lang.ClassCastException: java.math.BigInteger cannot be cast to org.docx4j.wml.CTSignedTwipsMeasure
at org.docx4j.model.properties.run.Spacing.set(Spacing.java:115)
at org.docx4j.convert.in.xhtml.XHTMLImporterImpl.addRunProperties(XHTMLImporterImpl.java:2520)
at org.docx4j.convert.in.xhtml.XHTMLImporterImpl.formatRPr(XHTMLImporterImpl.java:2243)
at org.docx4j.convert.in.xhtml.XHTMLImporterImpl.addRun(XHTMLImporterImpl.java:2200)
at org.docx4j.convert.in.xhtml.XHTMLImporterImpl.addRuns(XHTMLImporterImpl.java:2174)
at org.docx4j.convert.in.xhtml.XHTMLImporterImpl.processInlineBoxContent(XHTMLImporterImpl.java:2099)
at org.docx4j.convert.in.xhtml.XHTMLImporterImpl.processInlineBox(XHTMLImporterImpl.java:2052)
at org.docx4j.convert.in.xhtml.XHTMLImporterImpl.traverseBlockBox(XHTMLImporterImpl.java:1393)
at org.docx4j.convert.in.xhtml.XHTMLImporterImpl.traverse(XHTMLImporterImpl.java:915)
at org.docx4j.convert.in.xhtml.XHTMLImporterImpl.traverseBlockBox(XHTMLImporterImpl.java:1377)
at org.docx4j.convert.in.xhtml.XHTMLImporterImpl.traverse(XHTMLImporterImpl.java:915)
at org.docx4j.convert.in.xhtml.XHTMLImporterImpl.traverseBlockBox(XHTMLImporterImpl.java:1377)
at ...