Sign UpSign Up   Sign InSign In Welcome Guest,
Live Chat Live Chat

NullReferenceException extracting messages from a large PST file

Last post 12-29-2010, 4:46 AM by saqib.razzaq. 4 replies.
Sort Posts: Previous Next
  •  08-31-2010, 5:24 PM 256465

    NullReferenceException extracting messages from a large PST file .NET

    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)
     
  •  09-01-2010, 4:27 AM 256526 in reply to 256465

    Re: NullReferenceException extracting messages from a large PST file .NET

    Hi,

    We fixed some similar issues in a recent release of Aspose.Network for .NET 5.6. Could you please try your PST with it and see if it works?

    Best Regards,
    Saqib Razzaq
    Support Developer, Aspose Sialkot Team
    http://www.aspose.com
    Your File Format Experts
     
  •  09-01-2010, 4:05 PM 256679 in reply to 256526

    Re: NullReferenceException extracting messages from a large PST file

    Using version 5.6 fixed my issue. Thank you.
     
  •  12-27-2010, 7:24 PM 275681 in reply to 256526

    Re: NullReferenceException extracting messages from a large PST file

    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.

     
  •  12-29-2010, 4:46 AM 275815 in reply to 275681

    Re: NullReferenceException extracting messages from a large PST file .NET

    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 http://banckle.com/ and share the link to my email.

    Best Regards,
    Saqib Razzaq
    Support Developer, Aspose Sialkot Team
    http://www.aspose.com
    Your File Format Experts
     
View as RSS news feed in XML