ArgumentNullException: Value cannot be null. Parameter name: stream

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF Generator for .NET (v9.x)  /  Display Thread

DynamicPDF Generator for .NET (v9.x) Forum

Hi all,

I've run into an ArgumentNullException when using the GetText() method. The call stack is below:

System.ArgumentNullException: Value cannot be null.
Parameter name: stream
   at System.IO.StreamReader..ctor(Stream stream, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean leaveOpen)
   at System.IO.StreamReader..ctor(Stream stream)
   at zz93.cq.b(String A_0)
   at zz93.cq.a(String A_0, of A_1)
   at zz93.cq..ctor(String A_0, String A_1, of A_2)
   at zz93.cx.a(np A_0, n1 A_1)
   at zz93.cu.a(n0 A_0, np A_1, String[] A_2)
   at zz93.cu.a(String[] A_0, n0 A_1, np A_2, Int32 A_3)
   at ceTe.DynamicPDF.Merger.PdfPage.GetText()

I'm using using runtime version v4.0.30319 of Merger for .NET 4.0 on Windows 7 64-bit .
Posted by a ceTe Software moderator
Hi,

Please send the  PDF you're having this error with and the code to recreate it to support@dynamicpdf.com.

We'll take a look at it and let you know what we find.

Thanks,
ceTe Software Support Team

All times are US Eastern Standard time. The time now is 6:58 PM.