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

Sometimes the driver reports: BsonSerializationException

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical - P2 Critical - P2
    • None
    • 1.9.2
    • BSON
    • None
    • Windows

    Description

      We insert two types of data to mongodb: AaaChange and InferredChange. They both are derived from the base type Change. But when we query them out occasionally we get error: Unknown discriminator value 'InferredChange'. Attached are the code we used to query mongodb and the exception stack.

      Attachments

        1. BsonException.txt
          3 kB
        2. QueryMongo.txt
          0.6 kB

        Activity

          People

            craig.wilson@mongodb.com Craig Wilson
            jcheng@medassets.com John Cheng
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: