We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

NPE while saving RTF

Hi,
Apose (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
Thanks
Romain

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.