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

Possible NPE on scroller computation during rolling upgrade

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: 2021.x, 2023.x
    • Component/s: Streams

      Description

      Here the observed trace:

      Computation: bulk/scroller fails last record: bulk-command-01:+44, after retries.
      
      java.lang.NullPointerException: null
      	at org.nuxeo.ecm.core.bulk.BulkAdminServiceImpl.getInputStream(BulkAdminServiceImpl.java:119) ~[nuxeo-core-bulk-2021.31.6.jar:?]
      	at org.nuxeo.ecm.core.bulk.computation.BulkScrollerComputation.getCommandConfiguration(BulkScrollerComputation.java:285) ~[nuxeo-core-bulk-2021.31.6.jar:?]
      	at org.nuxeo.ecm.core.bulk.computation.BulkScrollerComputation.processRecord(BulkScrollerComputation.java:170) ~[nuxeo-core-bulk-2021.31.6.jar:?]
      	at org.nuxeo.ecm.core.bulk.computation.BulkScrollerComputation.processRecord(BulkScrollerComputation.java:154) ~[nuxeo-core-bulk-2021.31.6.jar:?]
      

      A stream failure on the scroller computation with NPE is possible during a rolling upgrade where a new node schedule a new bulk action where the scroll is executed on a not-yet-upgraded node where the bulk action is unknown.

      This can be safely ignored because the bulk command is executed on another node and the stream failure is resolved after the upgrade.

        Attachments

          Activity

            People

            • Assignee:
              bdelbosc Benoit Delbosc
              Reporter:
              bdelbosc Benoit Delbosc
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: