Hello,
I'm still getting the same error after testing the SPIREXLS-4996 issue with the latest version.
Kindly look into this on priority.
- Code: Select all
workbook.loadFromFile(file.getPath());
The stack trace is mentioned below for your reference.
com.spire.office.packages.spriona.<init>(ghg:208)
com.spire.office.packages.spriona.<init>(ghg:2)
com.spire.office.packages.spriona.<init>(ghg:93)
com.spire.office.packages.sprfpna.spr︼▌—(cog:661)
com.spire.office.packages.sprgsg.spr‱└(Unknown Source)
com.spire.office.packages.sprgsg.<init>(Unknown Source)
com.spire.xls.core.spreadsheet.XlsWorkbook.<init>(Unknown Source)
com.spire.xls.Workbook.loadFromFile(Unknown Source)
com.spire.xls.Workbook.loadFromFile(Unknown Source)
com.cs.SampleSingle.convertExcelToPdf(SampleSingle.java:56)
com.cs.SampleSingle.main(SampleSingle.java:31)
at com.spire.office.packages.spriona.<init>(ghg:208)
at com.spire.office.packages.spriona.<init>(ghg:2)
at com.spire.office.packages.spriona.<init>(ghg:93)
at com.spire.office.packages.sprfpna.spr︼▌—(cog:661)
at com.spire.office.packages.sprgsg.spr‱└(Unknown Source)
at com.spire.office.packages.sprgsg.<init>(Unknown Source)
at com.spire.xls.core.spreadsheet.XlsWorkbook.<init>(Unknown Source)
at com.spire.xls.Workbook.loadFromFile(Unknown Source)
at com.spire.xls.Workbook.loadFromFile(Unknown Source)
at com.cs.SampleSingle.convertExcelToPdf(SampleSingle.java:56)
at com.cs.SampleSingle.main(SampleSingle.java:31)