Thu Feb 28, 2019 2:34 pm
Hi Lisa,
Thank you for your response.
Please note this posting is for all 3 exceptions posted on the forum,
The application is a .Net 4.6.1 WPF application.
Also please note a stack overflow occurs when recurrence is out of control.
Not a complete stack trace is available because the application is removed by the windows operating system.
The application code runs until the foreach statement...
PdfDocument doc = new PdfDocument(bytes);
foreach (PdfPageBase page in doc.Pages)
And also please see below the 3 exceptions with stack trace as reported on the forum.
Hopefully this helps your team with resolving the bugs.
Cheers
Jan
"Object reference not set to an instance of an object."
" at spr?..ctor(spr\u171e A_0)\r\n at spr?.?(spr\u171e A_0, spr\u1719 A_1)\r\n at spr?..ctor(String A_0, spr\u171e A_1, spr? A_2)\r\n at spr?.?()\r\n at spr?..ctor(PdfPageBase A_0, spr\u171e A_1)\r\n at Spire.Pdf.PdfPageBase.?(String[] A_0, Boolean A_1, spr? A_2)\r\n at Spire.Pdf.PdfPageBase.?(spr? A_0, spr? A_1, Boolean A_2)\r\n at Spire.Pdf.PdfPageBase.ExtractText(Boolean keepWhiteSpace)\r\n at Spire.Pdf.PdfPageBase.ExtractText()\r\n at WpfApp1.PDF.Transform(Byte[] bytes, StringBuilder sb) in C:\\Users\\Jan\\source\\repos\\WpfApp1\\WpfApp1\\PDF.cs:line 94"
"No FunctionType specified in function!"
" at spr?.?(spr\u171e A_0)\r\n at spr?.?()\r\n at spr\u1879.?(String A_0)\r\n at spr\u1879.?(String[] A_0, String A_1, spr? A_2)\r\n at spr\u1879.?(Boolean A_0, Boolean A_1, List`1& A_2, Boolean A_3)\r\n at spr?.?(Boolean A_0, Boolean A_1, List`1& A_2)\r\n at spr?.?(Boolean A_0, List`1& A_1)\r\n eat Spire.Pdf.PdfPageBase.?(Boolean A_0, List`1& A_1)\r\n at Spire.Pdf.PdfPageBase.ExtractImages(Boolean processImage)\r\n at Spire.Pdf.PdfPageBase.ExtractImages()\r\n at WpfApp1.PDF.Transform(Byte[] bytes, StringBuilder sb) in C:\\Users\\Jan\\source\\repos\\WpfApp1\\WpfApp1\\PDF.cs:line 96"
Process is terminated due to StackOverflowException.
An unhandled exception of type 'System.StackOverflowException' occurred in System.Drawing.dll