Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
Master
-
7.2.x
-
Committed
-
4
-
Search|S03 Sprint 10 |1.6-1.24
-
Regression Bug
Description
Steps to reproduce:
- Shut down Portal server
- Restart Portal server
Result: Following startup errors appears in the console:
[junit] 12:59:12,443 ERROR [main][SynonymSetIndexCreationBundleActivator:93] bundle com.liferay.portal.search.tuning.synonyms.web:2.0.0 (1259)[com.liferay.portal.search.tuning.synonyms.web.internal.index.creation.activator.SynonymSetIndexCreationBundleActivator(6029)] : The activate method has thrown an exception [junit] java.lang.NullPointerException [junit] at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:46) [junit] at org.elasticsearch.action.ActionRequestBuilder.get(ActionRequestBuilder.java:53) [junit] at com.liferay.portal.search.elasticsearch6.internal.search.engine.adapter.index.IndicesExistsIndexRequestExecutorImpl.execute(IndicesExistsIndexRequestExecutorImpl.java:43) [junit] at com.liferay.portal.search.elasticsearch6.internal.search.engine.adapter.index.ElasticsearchIndexRequestExecutor.executeIndexRequest(ElasticsearchIndexRequestExecutor.java:118) [junit] at com.liferay.portal.search.engine.adapter.index.IndicesExistsIndexRequest.accept(IndicesExistsIndexRequest.java:34) [junit] at com.liferay.portal.search.engine.adapter.index.IndicesExistsIndexRequest.accept(IndicesExistsIndexRequest.java:22) [junit] at com.liferay.portal.search.elasticsearch6.internal.search.engine.adapter.ElasticsearchSearchEngineAdapterImpl.execute(ElasticsearchSearchEngineAdapterImpl.java:78) [junit] at com.liferay.portal.search.tuning.synonyms.web.internal.index.SynonymSetIndexCreatorImpl.isExists(SynonymSetIndexCreatorImpl.java:58) [junit] at com.liferay.portal.search.tuning.synonyms.web.internal.index.creation.activator.SynonymSetIndexCreationBundleActivator.hasNoSynonymSetIndex(SynonymSetIndexCreationBundleActivator.java:67) [junit] at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174) [junit] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) [junit] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) [junit] at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374) [junit] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) [junit] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) [junit] at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
Example test that is failing because of this:
https://testray.liferay.com/home/-/testray/case_results/936238152
Reproduced on:
Portal master git commit: c8a983065875bcad76254eb125cf75b902a6cde4
Attachments
Issue Links
- is caused by
-
LPS-100272 Reindexing search indices deletes all Synonym Sets
- Closed
- is duplicated by
-
LPS-106569 New user is lost after upgrading from 72 SP1
- Closed
- relates
-
LPS-104584 Restore synonyms from the filter configuration on update
-
- Closed
-