Concurrent scroll calls can raise NPE if there are timed out scroll to clean.
2016-09-06 12:48:26,188 ERROR [Nuxeo-Work-elasticSearchIndexing-4:6442918383059859.261739403] [org.nuxeo.ecm.core.work.AbstractWork] Exception during work: ScrollingIndexingWorker(/elasticSearchIndexing:6442918314532340.1890836320, Progress(?%, ?/0), null)
java.lang.NullPointerException
at org.nuxeo.ecm.core.storage.sql.jdbc.JDBCMapper.lambda$checkForTimedoutScroll$0(JDBCMapper.java:944)
at java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1540)
at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
at org.nuxeo.ecm.core.storage.sql.jdbc.JDBCMapper.checkForTimedoutScroll(JDBCMapper.java:944)
at org.nuxeo.ecm.core.storage.sql.jdbc.JDBCMapper.scroll(JDBCMapper.java:938)
- depends on
-
NXP-20250 Implement scroll api keepalive check for VCS
- Resolved