[bug] error while navigating the analytics page with disabled elasticsearch

Hello,

we are using a docker image for Nuxeo 10.10 with a postgresql database.

we have disabled the elasticsearch by adding this option elasticsearch.enabled=false in nuxeo.conf file. Nuxeo works fine with this configuration, but while navigating the Analytics in the Administration tap; we get an error.

logs:

ERROR [WebEngineExceptionMapper] java.lang.NullPointerException
java.lang.NullPointerException: null
        at org.nuxeo.elasticsearch.ElasticSearchComponent.getRepositoryNames(ElasticSearchComponent.java:264) ~[nuxeo-elasticsearch-core-10.10.jar:?]
        at org.nuxeo.elasticsearch.http.readonly.filter.RequestValidator.<init>(RequestValidator.java:51) ~[nuxeo-elasticsearch-http-read-only-10.10.jar:?]
        at org.nuxeo.elasticsearch.http.readonly.AbstractSearchRequestFilterImpl.init(AbstractSearchRequestFilterImpl.java:60) ~[nuxeo-elasticsearch-http-read-only-10.10.jar:?]

a complete logs file and analytics page screenshot attached.

Thank you.

0 votes

1 answers

88 views

ANSWER



Hello,

Analytics pages uses Nuxeo elements which rely on Elasticsearch features such as aggregates behind the scenes.

Regards

0 votes