null write concern should throw IllegalArgumentException for all methods that take one

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.9.0
    • Affects Version/s: None
    • Component/s: API
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Passing a null write concern to any update method causes the connection pool to be emptied, due to an NPE thrown in DBTCPConnector.say when dereferencing the write concern and the subsequent exception handling. Should fix this by throwing IllegalArgumentException from all public update methods that take a write concern if the write concern is null.

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

                Created:
                Updated:
                Resolved: