NullPointerException in org.bson.codecs.Encoder.encode

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.11.1
    • Component/s: Async
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I have a class that implements Codec<T>. In the `encode` method there was a NPE thrown but there was nothing in the logs. It took me a few hours to figure it out. That should be fixed so other people are not hit by this like me.

      I'm using the latest version of the async Java driver.

            Assignee:
            Jeffrey Yemin
            Reporter:
            Praveen D
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: