Concurrency Issue in Aspose Cell while saving any excel file as HTML in multithreaded environment
In multithreaded environment workbook.save function is hanging and utilizing 100% CPU. Here is the thread dump
ReportGen-Thread:0" prio=10 tid=0x00002ab6f16b7800 nid=0x6bd3 runnable [0x000000004490e000]
java.lang.Thread.State: RUNNABLE
at java.util.HashMap.get(HashMap.java:303)
at com.aspose.cells.kS.a(Unknown Source)
at com.aspose.cells.kw.f(Unknown Source)
at com.aspose.cells.kw.c(Unknown Source)
at com.aspose.cells.kw.e(Unknown Source)
at com.aspose.cells.km.a(Unknown Source)
at com.aspose.cells.km.a(Unknown Source)
at com.aspose.cells.km.b(Unknown Source)
at com.aspose.cells.km.a(Unknown Source)
at com.aspose.cells.ko.b(Unknown Source)
at com.aspose.cells.ko.a(Unknown Source)
at com.aspose.cells.kp.a(Unknown Source)
at com.aspose.cells.Workbook.save(Unknown Source)
Code : Aspose Version : 7.4.2
Workbook workbook = new Workbook();
workbook.open(new ByteArrayInputStream(//excel file)));
workbook.calculateFormula();
HtmlSaveOptions options = new HtmlSaveOptions();
options.setHiddenColDisplayType(HtmlHiddenColDisplayType.HIDDEN);
options.setHiddenRowDisplayType(HtmlHiddenColDisplayType.HIDDEN);
workbook.save(filename, options);