Aspose.Cells 21.12, java.lang.NullPointerException in Chart::toPdf method

Hi,

I got a java.lang.NullPointerException exception when I called Chart::toPdf method. It seems like there is a problem when there is a dataset pointing to hidden rows.

I have attached an example and a program to reproduce it.

aspose-issue-charts-pdf.zip (37.8 KB)

Thanks,
Rodrigo Machín.

@rmachincsd,

Please notice, I am able to reproduce the issue as you mentioned by using your template file. I found an exception “java.lang.NullPointerException” on Chart.toPdf method. I have logged a ticket with an id “CELLSJAVA-44268” for your issue. We will look into it soon.

Once we have an update on it, we will let you know.

@rmachincsd,

This is to inform you that your issue has been resolved. We will include the fix in our upcoming release Aspose.Cells for Java 22.2. Hopefully, the next release will be published in the second week of February 2022.

Ok thanks you very much for your support. I will wait that.

@rmachincsd,

You are welcome. We might also prepare and provide you the interim fix that you can use for the time being.

Keep in touch.

The issues you have found earlier (filed as CELLSJAVA-44268) have been fixed in this update. This message was posted using Bugs notification tool by johnson.shi