InvalidOperationException: Unexpected end of stream

Hello,

One of our customers has experienced the following exception once:

System.InvalidOperationException: Unexpected end of stream.
   at .()
   at .(Stream )
   at GroupDocs.Search.Common.ExtractedData.Deserialize(Byte[] array)

We were not able to reproduce it. We don’t do anything special… We serialize the ExtractedData and serialize it in a different process. Usually, it works…

@jamsharp
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): SEARCHNET-3519

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

@jamsharp

Most likely, corrupted data was passed for deserialization or the position in the stream was not zero. Were you able to record/trace this issue/exception again?

We started catching the exception and ignoring it when it happens (it was rare). Therefore, we haven’t seen it since then.

Hi @jamsharp!

We will address this issue as well in the upcoming release, together with the rest of the issues related to unexpected document content.
Thank you!