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

Fix NPE on access to version without live doc under DBS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 6.0
    • Fix Version/s: 6.0-HF16, 7.4
    • Component/s: Core MongoDB

      Description

      When the live doc for a version has been removed, access to the version may fail:

      Caused by: java.lang.NullPointerException
      	at org.nuxeo.ecm.core.storage.dbs.DBSDocument.getParent(DBSDocument.java:269)
      	at org.nuxeo.ecm.core.api.DocumentModelFactory.createDocumentModel(DocumentModelFactory.java:90)
      	at org.nuxeo.ecm.core.storage.dbs.DBSSession.query(DBSSession.java:1471)
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: