Is there any news on this issue? I'm experiencing the same exception, but since the files are confidential, I can't share them, unfortunately.
Thanks in advance.
My stack trace is:
Code:
at PdfSharp.Pdf.PdfPages.GetKids(PdfReference iref, InheritedValues values, PdfDictionary parent)
at PdfSharp.Pdf.PdfPages.FlattenPageTree()
at PdfSharp.Pdf.Advanced.PdfCatalog.get_Pages()
at PdfSharp.Pdf.PdfDocument.get_Pages()
...
I've tried PDFsharp.1.50.4000-beta3b and PDFsharp-MigraDoc.1.50.4790-beta5a with same result.
EDIT: I have attached some output from veraPDF (it's probably not supposed to be a PDF/A file, but it still might give you some hints). Sorry for hijacking the thread if it's a different issue.