Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-20394

Fix NPE on concurrent repository scroll reference cleanup

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 8.4-SNAPSHOT
    • Fix Version/s: 8.10
    • Component/s: Core VCS
    • Tags:
    • Sprint:
      nxBD 8.4.3, nxBD 8.4.4
    • Story Points:
      1

      Description

      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)
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: