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

Possible NPE on UpdateACEStatusWork on corrupted ACE (Mongo)

    XMLWordPrintable

    Details

      Description

      The following NPE has been observed every 5min

      Exception during work: UpdateACEStatusWork(, Progress(?%, ?/0), Updating ACE status)
      
      java.lang.NullPointerException: null
      	at org.nuxeo.ecm.core.security.UpdateACEStatusWork.work(UpdateACEStatusWork.java:99) ~[nuxeo-core-10.10-HF53.jar:?]
      	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:493) ~[nuxeo-core-event-10.10-HF44.jar:?]
      	at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:383) ~[nuxeo-core-event-10.10-HF44.jar:?]
      	at org.nuxeo.ecm.core.work.WorkHolder.run(WorkHolder.java:57) ~[nuxeo-core-event-10.10-HF44.jar:?]
      	at org.nuxeo.ecm.core.work.WorkComputation.processRecord(WorkComputation.java:104) ~[nuxeo-core-event-10.10-HF44.jar:?]
      

      This means that the ACE grant is null probably due to corruption (see NXP-30515 or NXP-30639).

      We should provide a way to fix that at the Mongo level along with a fix to avoid NPE in such case.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: