-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Duplicate
-
Affects Version/s: 2021.28
-
Fix Version/s: None
-
Component/s: Core MongoDB
-
Tags:
-
Backlog priority:600
Steps to Reproduce
- Set up Nuxeo instance with mongodb and gridfsbinaries templates
- Start the instance
The following error is seen in the logs
2022-11-15T12:52:21,582 ERROR [main] [org.nuxeo.runtime.model.impl.RegistrationInfoImpl] Component service:org.nuxeo.runtime.stream.service notification of application started failed: null java.lang.NullPointerException: null at org.nuxeo.runtime.mongodb.MongoDBConnectionHelper.getDatabase(MongoDBConnectionHelper.java:256) ~[nuxeo-runtime-mongodb-2021.14.7.jar:?] at org.nuxeo.runtime.mongodb.MongoDBComponent.getDatabase(MongoDBComponent.java:111) ~[nuxeo-runtime-mongodb-2021.14.7.jar:?] at org.nuxeo.ecm.core.storage.mongodb.GridFSBinaryManager.initialize(GridFSBinaryManager.java:133) ~[nuxeo-core-storage-mongodb-2021.25.8.jar:?] at org.nuxeo.ecm.core.blob.BlobManagerComponent.getBlobProvider(BlobManagerComponent.java:209) ~[nuxeo-core-api-2021.25.8.jar:?] at org.nuxeo.ecm.core.blob.BlobManagerComponent.getBlobProviderWithNamespace(BlobManagerComponent.java:236) ~[nuxeo-core-api-2021.25.8.jar:?] at org.nuxeo.ecm.core.transientstore.keyvalueblob.KeyValueBlobTransientStore.getBlobProvider(KeyValueBlobTransientStore.java:219) ~[nuxeo-core-cache-2021.23.2.jar:?] at org.nuxeo.ecm.core.transientstore.keyvalueblob.KeyValueBlobTransientStore.init(KeyValueBlobTransientStore.java:210) ~[nuxeo-core-cache-2021.23.2.jar:?] at org.nuxeo.ecm.core.transientstore.TransientStorageComponent.getStore(TransientStorageComponent.java:75) ~[nuxeo-core-cache-2021.23.2.jar:?] at org.nuxeo.ecm.core.transientstore.computation.TransientStoreOverflowRecordFilter.getTransientStore(TransientStoreOverflowRecordFilter.java:52) ~[nuxeo-core-cache-2021.23.2.jar:?] at org.nuxeo.ecm.core.transientstore.computation.TransientStoreOverflowRecordFilter.init(TransientStoreOverflowRecordFilter.java:48) ~[nuxeo-core-cache-2021.23.2.jar:?]
After removing the gridfsbinaries template, the server starts successfully.