Asp.net InvalidPDException:对象编号无效。在文件指针处
有时,当试图生成pdf文件时,用户会得到一个空白pdf。 这种情况并非总是发生。 错误堆栈Asp.net InvalidPDException:对象编号无效。在文件指针处,asp.net,itext,Asp.net,Itext,有时,当试图生成pdf文件时,用户会得到一个空白pdf。 这种情况并非总是发生。 错误堆栈 Exception Details Type: InvalidPdfException: Invalid object number. at file pointer 8971 Exception Class: iTextSharp.text.exceptions.InvalidPdfException Message: Invalid obj
Exception Details
Type: InvalidPdfException: Invalid object number. at file pointer 8971
Exception Class: iTextSharp.text.exceptions.InvalidPdfException
Message: Invalid object number. at file pointer 8971
API: Exception
Thread Name: <no name-229> <229> <229>
Exception StackTrace
Method Class Line File Name
ThrowError iTextSharp.text.pdf.PRTokeniser 0
ReadDocObj iTextSharp.text.pdf.PdfReader 0
ReadPdf iTextSharp.text.pdf.PdfReader 0
.ctor iTextSharp.text.pdf.PdfReader 0
RenderPages UCPDFPreview 0
SetControlLayout UCPDFPreview 0
RenderPDF UCPDFPreview 0
异常详细信息
类型:InvalidPDException:无效的对象编号。在文件指针8971处
异常类:iTextSharp.text.exceptions.InvalidPdfException
消息:无效的对象编号。在文件指针8971处
API:例外
线程名称:
异常堆栈跟踪
方法类行文件名
ThrowError iTextSharp.text.pdf.PRTokeniser 0
ReadDocObj iTextSharp.text.pdf.PdfReader 0
ReadPdf iTextSharp.text.pdf.PdfReader 0
.ctor iTextSharp.text.pdf.PdfReader 0
渲染页面UCPDFPreview 0
SetControlLayout UCPDFPreview 0
RenderPDF UCPDFPreview 0
如何创建pdf?用户是如何获得它的?异常发生在什么代码中?请检查代码段或输出的缩进。不知怎么的,它看起来不对劲。非常感谢。