Hello,
We are converting an HTML document to Word document and we get the below given exception. The html file is 15MB, it is a confidential file and hence i will be able to upload it here. Please let me know the probable causes for this error. I have uploaded the part of code that does HTML conversion.
Error is:.Cell shading sprm is too long.
java.lang.IllegalStateException: Cell shading sprm is too long.
at com.aspose.words.bh.dP(CellPrCollectionFiler.java:565)
at com.aspose.words.bh.a(CellPrCollectionFiler.java:524)
at com.aspose.words.atp.arq(TablePrFiler.java:850)
at com.aspose.words.atp.adH(TablePrFiler.java:729)
at com.aspose.words.aka.a(PrFiler.java:89)
at com.aspose.words.atp.a(TablePrFiler.java:220)
at com.aspose.words.atp.a(TablePrFiler.java:172)
at com.aspose.words.fh.visitRowEnd(DocWriter.java:419)
at com.aspose.words.Row.b(Row.java:155)
at com.aspose.words.CompositeNode.acceptCore(CompositeNode.java:641)
at com.aspose.words.Row.accept(Row.java:145)
at com.aspose.words.CompositeNode.acceptChildren(CompositeNode.java:667)
at com.aspose.words.CompositeNode.acceptCore(CompositeNode.java:638)
at com.aspose.words.Table.accept(Table.java:100)
at com.aspose.words.CompositeNode.acceptChildren(CompositeNode.java:667)
at com.aspose.words.CompositeNode.acceptCore(CompositeNode.java:638)
at com.aspose.words.Body.accept(Body.java:57)
at com.aspose.words.fh.b(DocWriter.java:254)
at com.aspose.words.fh.run(DocWriter.java:189)
at com.aspose.words.fh.a(DocWriter.java:38)
at com.aspose.words.Document.a(Document.java:1320)
at com.aspose.words.Document.save(Document.java:713)
at com.aspose.words.Document.save(Document.java:685)
at com.bci.bulkexport.BulkExportProcedures.generateWordFile(BulkExportPr
ocedures.java:681)
at com.bci.bulkexport.BulkExportProcedures.exportSingleProcess(BulkExpor
tProcedures.java:1042)
at com.bci.bulkexport.BulkExportProcedures.main(BulkExportProcedures.jav
a:126)