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

Fix MongoDB GridFS binary manager after java driver update

    XMLWordPrintable

    Details

      Description

      Since NXP-29636, the MongoDB GridFS binary manager fails can't be used anymore. Each actions fail with:

      java.lang.NullPointerException: null
      	at org.nuxeo.ecm.core.blob.binary.AbstractBinaryManager.getDigestAlgorithm(AbstractBinaryManager.java:221) ~[nuxeo-core-api-2021.2-SNAPSHOT.jar:?]
      	at org.nuxeo.ecm.core.blob.binary.AbstractBinaryManager.storeAndDigest(AbstractBinaryManager.java:170) ~[nuxeo-core-api-2021.2-SNAPSHOT.jar:?]
      	at org.nuxeo.ecm.core.storage.mongodb.GridFSBinaryManager.getBinary(GridFSBinaryManager.java:214) ~[nuxeo-core-storage-mongodb-2021.2-SNAPSHOT.jar:?]
      	at org.nuxeo.ecm.core.blob.binary.AbstractBinaryManager.getBinary(AbstractBinaryManager.java:130) ~[nuxeo-core-api-2021.2-SNAPSHOT.jar:?]
      	at org.nuxeo.ecm.core.storage.mongodb.GridFSBinaryManager.getBinary(GridFSBinaryManager.java:190) ~[nuxeo-core-storage-mongodb-2021.2-SNAPSHOT.jar:?]
      	at org.nuxeo.ecm.core.blob.binary.BinaryBlobProvider.writeBlob(BinaryBlobProvider.java:135) ~[nuxeo-core-api-2021.2-SNAPSHOT.jar:?]
      	at org.nuxeo.ecm.core.storage.mongodb.GridFSBinaryManager.writeBlob(GridFSBinaryManager.java:246) ~[nuxeo-core-storage-mongodb-2021.2-SNAPSHOT.jar:?]
      	at org.nuxeo.ecm.core.blob.BlobProvider.writeBlob(BlobProvider.java:139) ~[nuxeo-core-api-2021.2-SNAPSHOT.jar:?]
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: