ArgumentNullException: Value cannot be null. Parameter name: stream

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF CoreSuite for .NET (v9)  /  ArgumentNullException: Value cannot be null. Parameter name: stream

DynamicPDF CoreSuite for .NET (v9) 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 A_0, n1 A_1)
   at A_0, np A_1, String[] A_2)
   at[] 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

Please send the  PDF you're having this error with and the code to recreate it to

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

ceTe Software Support Team

All times are US Eastern Standard time. The time now is 1:30 AM.