SyncWorkProcessor leads to NoSuchElementException on empty WorkList

Description

Most likely due to an empty List<LuceneWork> being passed.
I could not spot where such an empty list would be passed by the upper stack.

From Matt:

Environment

None

Status

Assignee

Emmanuel Bernard

Reporter

Emmanuel Bernard

Labels

None

Suitable for new contributors

None

Pull Request

None

Feedback Requested

None

Components

Fix versions

Affects versions

Priority

Major
Configure