Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-2320

Issue with reading/writing deep root object (An error occurred while deserializing)

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.2.3, 2.7.0
    • Component/s: BSON
    • Labels:
    • Environment:
      Windows server 2012, Linux CentOS7

      We have deployed Mongodb on our production environment with the primary being a Linux CentOS 7.0 and 2 secondary as windows, both running Mongodb 3.4. Its been running for more than 2 years ( We shifted primary to Linux a few months ago) 

      Over the last few weeks a lot of errors are started cropping up which read 

      An error occurred while deserializing the <Property> property of class<Class>: An error occurred while deserializing the <property1> property of class <Class1>: Attempted to read past the end of the stream.

      The <property>, <property1> and <Class1> as well as the last line of the error keeps changing but  Class is usually the same. 

      Following are some of the errors of the last line. 

      • String is missing terminating null byte.
      • Attempted to read past the end of the stream.
      • : Detected unknown BSON type "\x45" for fieldname "?". Are you using the latest driver version?
      • Expected size to be 838, not 453.

      We already updated the Driver version from 2.2.3 to 2.7.0 but the error is still there. 

      Can anyone help with this?

       

            Assignee:
            Unassigned Unassigned
            Reporter:
            gouravsinha Gourav Sinha
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: