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

Free Support Forum - aspose.com

NullReferenceException raised when opening a ".docx"

Hi, I got priority support,
I encountered a case where opening a “.docx” raised an NullReferenceException. I joined the application.

I know that the “.docx” file is invalid, but a NullReferenceException ?

Hi

Thank you for additional information. I have tested with Aspose.Words 10.5.0 and I cannot reproduce the problem during loading document on my side. I use the following code for testing:

Document doc = new Document("C:\\Temp\\U5g_Hypothesis423_1.docx");

doc.Save("C:\\Temp\\out.docx", SaveFormat.Docx);

But I managed to reproduce the problem with NullReferenceException during converting to PDF. You request has been linked to the appropriate issue. You will be notified as soon as it is fixed.

Best regards,

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


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

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


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