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

Possible NPE after DBS transaction rollback

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 10.10
    • Fix Version/s: HOTFIX_10.10, 2021.x
    • Component/s: Core DBS

      Description

      The following stack trace has been seen during a retry, a first attempt to delete the doc has been done previously but the tx has been rollbacked because of a timeout.

      java.lang.NullPointerException: null
      	at org.nuxeo.ecm.core.storage.StateHelper.deepCopy(StateHelper.java:318) ~[nuxeo-core-storage-10.10-HF49.jar:?]
      	at org.nuxeo.ecm.core.storage.StateHelper.deepCopy(StateHelper.java:309) ~[nuxeo-core-storage-10.10-HF49.jar:?]
      	at org.nuxeo.ecm.core.storage.dbs.DBSTransactionState.removeStates(DBSTransactionState.java:780) ~[nuxeo-core-storage-dbs-10.10-HF47.jar:?]
      	at org.nuxeo.ecm.core.storage.dbs.DBSSession.remove(DBSSession.java:987) ~[nuxeo-core-storage-dbs-10.10-HF47.jar:?]
      	at org.nuxeo.ecm.core.storage.dbs.DBSDocument.remove(DBSDocument.java:805) ~[nuxeo-core-storage-dbs-10.10-HF47.jar:?]
      	at org.nuxeo.ecm.core.api.AbstractSession.removeNotifyOneDoc(AbstractSession.java:1458) ~[nuxeo-core-10.10-HF49.jar:?]
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: