Null reference in RemoveUsageRights

Object reference error thrown in RemoveUsageRights function on a PDF downloaded from DocuSign. Using v23.4.0 but it also occurs in eariler versions.

Sample.zip (277.1 KB)

        using var pdfDoc = File.Open(@"c:\temp\Sample.pdf", FileMode.Open);
        using var pdfPrimary = new Aspose.Pdf.Document(pdfDoc);

        var sign = new Aspose.Pdf.Facades.PdfFileSignature();
        sign.BindPdf(pdfPrimary);
        sign.RemoveUsageRights();

@bruceb6,

I tested the code and it fails, I will be creating a ticket for the dev team.

@bruceb6
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): PDFNET-54342

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.