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

Free Support Forum - aspose.com

Aspose.Email.Outlook.Pst.FolderInfo.DisplayName exception

Aspose.Email 1.3 throws an exception on FolderInfo.DisplayName:

System.NullReferenceException: Object reference not set to an instance of an object.
at ?..get_Version()
at Aspose.Email.Outlook.Pst.FolderInfo.get_DisplayName()

Best regards,

Rob

Hi Rob,


I am afraid, I am unable to replicate your said exception on my end with Aspose.Email for NET v1.3.0. I have performed these tests on my own sample PST file with different assemblies of Aspose.Email component. If you have already shared your problematic PST then please point out from four sample files that you have shared earlier. Else please share the sample with us.

Regards,

Hi,
I encountered the same exception while using the Aspose.Email for NET v1.3.0:

DETAILS: System.NullReferenceException: Object reference not set to an instance of an object.
at Â’..get_Version()
at Aspose.Email.Outlook.Pst.FolderInfo.get_DisplayName()

Unfortunately I cannot attach the pst file. I can only say that:
1. the pst file is about 3.5Mb (small)
2. the inbox folder is empty; instead there are several custom folders under the root, while folder names are non-english


Hi Alexey,


Thank you for your inquiry.

The said exception was never reproduced on our end due to the unavailability of sample files. Although, we have fixed several issues related to the PST parsing functionality in our latest version of Aspose.Email for .NET v1.5.0. Please check the release notes for your reference and give the latest version a try.

Looking forward to your results.