Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-3500

NullPointerException in org.bson.codecs.Encoder.encode is swallowed

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.11.1
    • Component/s: Async
    • 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:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            alien Boris Petrov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: