Trying to read attached excel to parse data but somehow aspose library consider it as an empty excel and fails to parse it

Hi there,

I have been trying to read attached excel to parse data but somehow aspose library consider it as an empty excel and fails to parse it. If I open attached excel and save it manually, aspose library read excel contents successfully.

I have attached excel and code for your review and advise.

Let me know if you need more details to investigate issue. its urgent.

thx.
irfan

Hi Irfan,


Thank you for attaching the sample spreadsheet and code snippet.

I have checked your presented scenario while using the latest version of Aspose.Cells for Java 17.02.0 (attached), and I am able to read the cells values as you can see from the output shared at the bottom of this post. Please note, I didn’t even load the sample in Excel before performing the tests. Please give a try to the latest version on your side, and share your feedback.

Output:

17.02.1
1.8.0_111
trows = 48 tcolumns 7 sheetname TestYTD Return Check
null|null|null|null|null|null|null|
null|null|null|Return Check for|null|null|null|
null|null|null|Fund :|null|null|TestYTD|
null|null|null|Partnership Code :|null|null|TestYTD|
null|null|null|Period Start Date :|null|null|null|
null|null|null|null|null|null|2017-01-01T00:00:00|
null|null|null|null|null|null|null|
null|null|null|null|null|null|null|
null|null|null|Period End Date :|null|null|null|
null|null|null|null|null|null|2017-01-31T00:00:00|
null|null|null|null|null|null|null|
null|null|null|null|null|null|null|
null|null|null|null|null|null|null|
|null|null||null|null|null|
||null||null|null|null|
Returns Check (in Local Ccy)|null|null||null|null|null|
|null|null||null|null|null|
Class Name|null|null|Class A|null|null|null|
Series Name|null|null|TestYTD - ClassA - Series001Jan2017|null|null|null|
Starting Net Capital|null|null|1000|null|null|null|
Period Net Return|null|null|0.46|null|null|null|
Back out of :||null||null|null|null|
HI005|null|null|0.01|null|null|null|
Periodic Change in Incentive Fee|null|null|0|null|null|null|
Gross Performance|null|null|0.45|null|null|null|
||null||null|null|null|
null|null|null|null|null|null|null|
|null|null||null|null|null|
Expected vs Actual returns Check (Based on Net NAV’s)|null|null||null|null|null|
|null|null||null|null|null|
Class Name|null|null|Class A|null|null|null|
Series Name|null|null|TestYTD - ClassA - Series001Jan2017|null|null|null|
FX Rates|null|null|USD|null|null|null|
Previous Month|null|null|1|null|null|null|
Current Month|null|null|1|null|null|null|
|null|null||null|null|null|
Base Return|null|null|0.46|null|null|null|
|null|null||null|null|null|
Management Fee Percentage|null|null|0|null|null|null|
Incentive Fee Percentage|null|null|0|null|null|null|
|null|null||null|null|null|
Un-even Items Amount|null|null|10|null|null|null|
Un-even items Percentage|null|null|0.01|null|null|null|
|null|null||null|null|null|
Expected Returns|null|null|0.47|null|null|null|
Period Net Return|null|null|0.46|null|null|null|
Difference|null|null|0.01|null|null|null|
||null||null|null|null|
null|null|null|null|null|null|null|