[JAVA-2265] MixedBulkWriteOperation doesn't null check the items in the WriteRequests list Created: 29/Jul/16  Updated: 19/Oct/16  Resolved: 11/Oct/16

Status: Closed
Project: Java Driver
Component/s: API
Affects Version/s: 3.0.0
Fix Version/s: 3.4.0-rc1, 3.4.0

Type: Bug Priority: Minor - P4
Reporter: Ross Lawley Assignee: Ross Lawley
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Possible to get a NPE by including a null value in the list.



 Comments   
Comment by Githook User [ 11/Oct/16 ]

Author:

{u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}

Message: Add NPE checks for lists parameters and their contents

JAVA-2265
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/ad3612a3a5164fc6083d809257bb793b72a99f1a

Comment by Ross Lawley [ 10/Oct/16 ]

PR: https://github.com/rozza/mongo-java-driver/pull/168

Comment by Jeffrey Yemin [ 30/Sep/16 ]

Also check bulkWrite implementations in MongoCollection implementations (sync and async)

Generated at Thu Feb 08 08:56:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.