You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DatastoreImpl's bulk insert does not check hasNext() before calling next(). If there is no first element in the iterable, a NoSuchElementException is thrown.
Similarly, when using the vararg bulk insert, entities[0] throws an ArrayIndexOutOfBoundsException.
The text was updated successfully, but these errors were encountered:
kstafford3
changed the title
DatastoreImpl Insert with an empty Iterable causes an error.
DatastoreImpl bulk insert with an empty Iterable causes an error.
Feb 27, 2016
DatastoreImpl's bulk insert does not check hasNext() before calling next(). If there is no first element in the iterable, a NoSuchElementException is thrown.
Similarly, when using the vararg bulk insert, entities[0] throws an ArrayIndexOutOfBoundsException.
morphia: 1.2.0-SNAPSHOT
java 1.8.0_66
mongodb: 3.2
The text was updated successfully, but these errors were encountered: