NPE while saving RTF

Aspose (tested v14.4.1 , v14.5) produces a NullPointerException when saving the given RTF.

new Document("test.rtf").save("out.rtf");

It seems that the issue is related to the control word ‘\oldpprops’.

new Document(new ByteArrayInputStream("{\\rtf1{\\oldpprops}x}".getBytes())).save("out.rtf");

Could you please have a look at this

Hi Romain,

Thanks for your inquiry.

I have tested the scenario and have managed to reproduce the same issue at my side. For the sake of correction, I have logged this problem in our issue tracking system as WORDSJAVA-908. I have linked this forum thread to the same issue and you will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSJAVA-908) have been fixed in this .NET update and this Java update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.