We're using your component for quite a while now. Every now and then, some pdf files fail to load correctly, and trigger an exception. We are using the latest stable (3.8.102) I have sent some sample files, together with a test program to your support e-mail box (Support@e-iceblue.com). Can you provide us with a fix for these issues?
The exceptions we get are:
System.ArgumentNullException - System.ArgumentNullException: Value cannot be null.
Parameter name: dictionary
at sprᥠ..ctor(sprᥠ A_0)
at sprᲆ..ctor(spr᧔ A_0, sprᥠ A_1)
at spr᧔.ᜄ()
at spr᧔.ᜁ(Stream A_0)
at spr᧔..ctor(Stream A_0, Boolean A_1)
at Spire.Pdf.PdfDocument..ctor(Byte[] bytes)
System.NullReferenceException - System.NullReferenceException: Object reference not set to an instance of an object.
at spr᰿.ᜀ(sprᦔ A_0)
at spr᰿.ᜄ(sprᦔ A_0)
at sprᵷ.ᜂ()
at sprᵷ.ᜀ()
at sprᵷ.ᜅ()
at spr᰿.ᜄ(sprᦔ A_0)
at Spire.Pdf.PdfPageBase.᜕()
at Spire.Pdf.PdfPageWidget..ctor(PdfDocumentBase A_0, spr᰿ A_1, sprᥠ A_2)
at Spire.Pdf.Widget.PdfPageCollection.ᜄ(sprᥠ A_0)
at spr᰿.ᜀ(sprᦔ A_0)
at spr᰿.ᜄ(sprᦔ A_0)
at sprᵷ.ᜂ()
at sprᵷ.ᜀ()
at sprᵷ.ᜅ()
at spr᰿.ᜄ(sprᦔ A_0)
at Spire.Pdf.Widget.PdfPageCollection.ᜀ(sprᥠ A_0, Int32 A_1, Int32& A_2, Int32& A_3)
at Spire.Pdf.Widget.PdfPageCollection.ᜀ(Int32 A_0, Int32& A_1, Boolean A_2)
at Spire.Pdf.Widget.PdfPageCollection.ᜀ(Int32 A_0)
at Spire.Pdf.Widget.PdfPageCollection.get_Item(Int32 index)
at spr᧔.ᜁ(Boolean A_0)
at spr᧔.ᜋ()
at Spire.Pdf.PdfDocument.Dispose()
Spire.Pdf.Exceptions.PdfException - Spire.Pdf.Exceptions.PdfException: Badly formed dictionary next should be a name. before 809
at spr⏄.ᜀ(ErrorType A_0, String A_1)
at spr⏄.ᜀ()
at spr⏄.ᜁ()
at spr⏄.ᜑ()
at spr⏄.ᜐ()
at spr⏄.ᜁ(Int64 A_0)
at spr៝.ᜀ(sprᦔ A_0)
at spr᰿.ᜄ(sprᦔ A_0)
at sprᵷ.ᜂ()
at sprᵷ.ᜀ()
at sprᵷ.ᜅ()
at spr᰿.ᜄ(sprᦔ A_0)
at Spire.Pdf.Bookmarks.PdfBookmarkCollection.ᜀ(PdfBookmarkCollection A_0)
at Spire.Pdf.Bookmarks.PdfBookmarkCollection.ᜈ()
at Spire.Pdf.Bookmarks.PdfBookmarkWidget.get_List()
at Spire.Pdf.Bookmarks.PdfBookmarkCollection.get_Count()
at Spire.Pdf.PdfDocumentBase.ᜣ()
at Spire.Pdf.PdfDocumentBase.ImportPageRange(PdfDocumentBase ldDoc, Int32 startIndex, Int32 endIndex)
at Spire.Pdf.PdfDocument.InsertPageRange(PdfDocument doc, Int32 startIndex, Int32 endIndex)
System.ArgumentNullException - System.ArgumentNullException: Value cannot be null.
Parameter name: dictionary
at sprᥠ..ctor(sprᥠ A_0)
at sprᲆ..ctor(spr᧔ A_0, sprᥠ A_1)
at spr᧔.ᜄ()
at spr᧔.ᜁ(Stream A_0)
at spr᧔..ctor(Stream A_0, Boolean A_1)
at Spire.Pdf.PdfDocument..ctor(Byte[] bytes)