NullReferenceException extracting messages from a large PST file

I get the error below when extracting messages from a PST file that contains over 2000 messages. With less a folder containing less than 100, it works fine.

System.NullReferenceException: Object reference not set to an instance of an object.
at Aspose.Network.Outlook.Pst.x55850985d9b257fa.x3cb7ff236de485eb(x6e378315d7f18d9f x4d880c03450811f5)
at Aspose.Network.Outlook.Pst.x05cbc1bac105d46a.x082b35eb7b70afaa(UInt32 x4795706044b92bc2, x3076b467d0e983c6 xfeb2e9e59f723093)
at Aspose.Network.Outlook.Pst.x05cbc1bac105d46a.xe4e8e9b08fe144e9(UInt32 x4795706044b92bc2)
at Aspose.Network.Outlook.Pst.x011b317f942bde1a.x5b039f60be8fb267(UInt32 xbabf3811148a81e8, MapiMessage x8a41fbc87a3fb305)
at Aspose.Network.Outlook.Pst.x011b317f942bde1a.x05a1d65648a9b06a(UInt32 x4e2174b6f6d91cbd)
at Aspose.Network.Outlook.Pst.PersonalStorage.ExtractMessage(MessageInfo messageInfo)

Hi,

We fixed some similar issues in a recent release of [Aspose.Network for .NET 5.6](http://www.aspose.com/community/files/51/.net-components/aspose.network-for-.net/default.aspx). Could you please try your PST with it and see if it works?

Using version 5.6 fixed my issue. Thank you.

I am having a similar problem with version 5.8. Here's the error:

System.ArgumentNullException: Buffer cannot be null. Parameter name: buffer

at System.IO.MemoryStream..ctor(Byte[] buffer, Boolean writable)

at Aspose.Network.Outlook.MapiNamedPropertyMappingStorage.xf8d8922c6a7ae428()

at Aspose.Network.Outlook.MapiMessage.Save(Stream stream)

This doesn't happen in 5.6. I also tested 5.9 and the error is the same.

Hi,


Is it possible for you to provide the sample PST to us, for which this exception occurs, so that we could find the problem? You may zip and upload the file at banckle and share the link to my email.