The attached PDF file will hang the Aspose.Pdf.Document() constructor using Aspose.PDF version 23.12.0 (.net4.0). The file came from a customer years ago, and I use it for regression testing as an example of the crazy PDF files you can encounter in the wild. I have been using version 22.9.0 successfully, and that version does not hang.
All you need to reproduce the hang:
new Aspose.Pdf.Document(@“c:\test\nopages.pdf”);
nopages.pdf (235 Bytes)