[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.
FILES:
analytics.PNG
logs.txt
0 votes
1 answers
697 views
Hello,
Analytics pages uses Nuxeo elements which rely on Elasticsearch features such as aggregates behind the scenes.
Regards
Thank you for your reply, indeed the error caused by disabling the Elasticsearch. The Analytics page relies on Elasticsearch as you mentioned, so if we disabled the Elasticsearch from configuration we can't benefit from the Analytics page.
10/05/2020