where args[f] has a value of : C:\Users\abhishek\AppData\Local\Temp\2\tmp3A78.tmp
The stack trace is :
A first chance exception of type 'System.OverflowException' occurred in mscorlib.dll
Value was either too large or too small for an Int32.
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at System.Int32.Parse(String s)
at iTextSharp.text.pdf.PRTokeniser.get_IntValue()
at iTextSharp.text.pdf.PRTokeniser.CheckObjectStart(Byte[] line)
at iTextSharp.text.pdf.PdfReader.RebuildXref()
at iTextSharp.text.pdf.PdfReader.ReadPdf()
at iTextSharp.text.pdf.PdfReader..ctor(String filename, Byte[] ownerPassword)
at iTextSharp.text.pdf.PdfReader..ctor(String filename)
Can you please tell me what could be the issue and how to avoid this.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi All,
I am getting the below exception at the code line
Code : PdfReader reader = new PdfReader(args[f]);
where args[f] has a value of : C:\Users\abhishek\AppData\Local\Temp\2\tmp3A78.tmp
The stack trace is :
A first chance exception of type 'System.OverflowException' occurred in mscorlib.dll
Value was either too large or too small for an Int32.
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at System.Int32.Parse(String s)
at iTextSharp.text.pdf.PRTokeniser.get_IntValue()
at iTextSharp.text.pdf.PRTokeniser.CheckObjectStart(Byte[] line)
at iTextSharp.text.pdf.PdfReader.RebuildXref()
at iTextSharp.text.pdf.PdfReader.ReadPdf()
at iTextSharp.text.pdf.PdfReader..ctor(String filename, Byte[] ownerPassword)
at iTextSharp.text.pdf.PdfReader..ctor(String filename)
Can you please tell me what could be the issue and how to avoid this.