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

Free Support Forum - aspose.com

NullReferenceException in Aspose.Pdf.Document.GetXmpMetadata under Windows and segmentation fault under Linux

Used Aspose.Pdf 18.3.0.

Aspose.Pdf.Document.GetXmpMetadata throws NullReferenceException for https://www.esrl.noaa.gov/psd/programs/infrasound/atmospheric_infrasound.pdf.

If run is under .Net Core Linux then segmentation fault occurs.

    static void Main(string[] args)
        var doc = new Aspose.Pdf.Document(new FileStream("D:\\atmospheric_infrasound.pdf", FileMode.Open));

        var ms = new MemoryStream();

        catch (NullReferenceException e)


We managed to replicate the said error in our environment. It has been logged under the ticket ID PDFNET-44480 in our bug tracking system. We have linked your post to this ticket and will keep you informed regarding any available updates.

The issues you have found earlier (filed as ) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by MuzammilKhan

We try Aspose.Pdf 19.4 and problem still reproduced.


Thank you for your kind feedback.

The resolution notification was mistakenly posted in this thread while PDFNET-44480 is still unresolved. We have recorded your concerns and will notify you once it will be resolved. We appreciate your patience in this regard.