Exception while saving pdf file

Hi,


Getting the below exception while saving the attached ods file to pdf file.

java.lang.NumberFormatException: For input string: “Oil – Proved reserves.A1”
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:481)
at java.lang.Integer.parseInt(Integer.java:514)
at com.aspose.cells.a.a.i.p.(Unknown Source)
at com.aspose.cells.a.a.i.e.a(Unknown Source)
at com.aspose.cells.a.a.i.b.a(Unknown Source)
at com.aspose.cells.a.a.b.d.a(Unknown Source)
at com.aspose.cells.a.a.b.b.a(Unknown Source)
at com.aspose.cells.a.a.b.s.a(Unknown Source)
at com.aspose.cells.a.a.b.b.a(Unknown Source)
at com.aspose.cells.a.a.b.s.a(Unknown Source)
at com.aspose.cells.a.a.b.b.a(Unknown Source)
at com.aspose.cells.a.a.b.g.a(Unknown Source)
at com.aspose.cells.a.a.j.w.a(Unknown Source)
at com.aspose.cells.a.a.i.b.a(Unknown Source)
at com.aspose.cells.a.a.j.k.a(Unknown Source)
at com.aspose.cells.iG.c(Unknown Source)
at com.aspose.cells.iG.b(Unknown Source)
at com.aspose.cells.Workbook.save(Unknown Source)

Regards,
Santhosh

Hi,

Thanks for reporting this issue.

We have logged this bug in our database. We will fix it and let you know asap.

This issue has been logged as CELLSJAVA-28361.

Hi,

We have fixed this issue. Please download Aspose.Cells for Java v2.5.4.6

Hi,


Thank you. Now it’s working fine. But now i have an issue in chart. OHLC chart in the input ods file is changed to Column chart in the output pdf file. Same issue exist for html save also. Attached the input ods file.

Regards,
Santhosh

Hi,

Thanks for your feedback and comment. I have logged it in our database. We will fix it asap and get back to you.

Hi,

Currently we do not support OHLC chart type for chart2image. We will try to
support it in later versions but cannot support it soon.