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

Unable to start with GridFS

    XMLWordPrintable

    Details

    • Release Notes Summary:
      Nuxeo Stream starts correctly woth GridFS.
    • Backlog priority:
      850
    • Sprint:
      nxplatform #79, nxplatform #80
    • Story Points:
      0

      Description

      When starting Nuxeo 10.10 >= HF63 with MongoDB + GridFS (gridfsbinaries template), the startup fails with this exception

      ERROR ComponentManager Component service:org.nuxeo.runtime.stream.service notification of application started failed: null
       java.lang.NullPointerException
              at org.nuxeo.runtime.mongodb.MongoDBConnectionHelper.getDatabase(MongoDBConnectionHelper.java:244)
              at org.nuxeo.runtime.mongodb.MongoDBComponent.getDatabase(MongoDBComponent.java:145)
              at org.nuxeo.runtime.mongodb.MongoDBComponent.getDatabase(MongoDBComponent.java:122)
              at org.nuxeo.ecm.core.storage.mongodb.GridFSBinaryManager.initialize(GridFSBinaryManager.java:137)
              at org.nuxeo.ecm.core.blob.BlobManagerComponent.getBlobProvider(BlobManagerComponent.java:209)
              at org.nuxeo.ecm.core.blob.BlobManagerComponent.getBlobProviderWithNamespace(BlobManagerComponent.java:236)
              at org.nuxeo.ecm.core.transientstore.keyvalueblob.KeyValueBlobTransientStore.getBlobProvider(KeyValueBlobTransientStore.java:218)
              at org.nuxeo.ecm.core.transientstore.keyvalueblob.KeyValueBlobTransientStore.init(KeyValueBlobTransientStore.java:209)
              at org.nuxeo.ecm.core.transientstore.TransientStorageComponent.getStore(TransientStorageComponent.java:75)
              at org.nuxeo.ecm.core.transientstore.computation.TransientStoreOverflowRecordFilter.getTransientStore(TransientStoreOverflowRecordFilter.java:52)
              at org.nuxeo.ecm.core.transientstore.computation.TransientStoreOverflowRecordFilter.init(TransientStoreOverflowRecordFilter.java:48)
              at org.nuxeo.runtime.stream.StreamProcessorDescriptor$FilterDescriptor.getFilter(StreamProcessorDescriptor.java:95)
              at org.nuxeo.runtime.stream.StreamServiceImpl.lambda$getSettings$5(StreamServiceImpl.java:208)
              at java.util.ArrayList.forEach(ArrayList.java:1259)
              at org.nuxeo.runtime.stream.StreamServiceImpl.getSettings(StreamServiceImpl.java:208)
              at org.nuxeo.runtime.stream.StreamServiceImpl.initProcessor(StreamServiceImpl.java:182)
              at java.util.ArrayList.forEach(ArrayList.java:1259)
              at org.nuxeo.runtime.stream.StreamServiceImpl.start(StreamServiceImpl.java:160)
      

      This is due to the change on the definition of "reindex" and "csvExport" processors to avoid overflow : NXP-31080 et NXP-31002

      This is also related to NXP-30621 which forces the blob provider initialization for the transient store.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: