Issue
Whenever username in Users tab is clicked, error "An unexpected error occurred" happened and no content is displayed.
The issue can happen after upgrade from 2020.x to 2021.x or to 2022.1
Reindexing does not resolve the issue.
The following error is displayed in contentexploration log:
2022-05-10 15:59:03.177 +1200 (,,,YnnjBv3svmFsScBPMgchTQAAArc,anFVZSvmKuI=) http-nio-8683-exec-1 : ERROR com.tableau.voltron.logging.GlobalExceptionHandler - {"errId":"F26365B13F7ACF8AFACECA6BB7AE61FB","errMessage":"Elasticsearch exception [type=search_phase_execution_exception, reason=all shards failed]","errCode":"UNKNOWN_ERROR","httpErrorCode":500,"stackTrace":"ElasticsearchStatusException[Elasticsearch exception [type=search_phase_execution_exception, reason=all shards failed]]; nested: ElasticsearchException[Elasticsearch exception [type=illegal_argument_exception, reason=no mapping found for `datasourceId_number` in order to collapse on]]; nested: ElasticsearchException[Elasticsearch exception [type=illegal_argument_exception, reason=no mapping found for `datasourceId_number` in order to collapse on]];
And this error in elasticsearch log
Caused by: java.lang.IllegalArgumentException: no mapping found for `datasourceId_number` in order to collapse on
at org.elasticsearch.search.collapse.CollapseBuilder.build(CollapseBuilder.java:204) ~[elasticsearch-7.9.3.jar:7.9.3]