Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-109652

UnsupportedOperationException when starting up Portal with Solr

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: Master
    • Fix Version/s: None
    • Component/s: Search Infrastructure
    • Labels:
      None

      Description

      Steps to reproduce:

      1. Set up and deploy Solr search engine with Portal DXP
      2. Start up Portal

      Actual results: The following stacktrace appears during startup:

           [exec] 14:44:39,085 ERROR [liferay/background_task-2][BackgroundTaskMessageListener:182] Unable to execute background task
           [exec] java.lang.UnsupportedOperationException
           [exec] 	at com.liferay.portal.search.solr7.internal.search.engine.adapter.index.IndicesExistsIndexRequestExecutorImpl.execute(IndicesExistsIndexRequestExecutorImpl.java:33)
           [exec] 	at com.liferay.portal.search.solr7.internal.search.engine.adapter.index.SolrIndexRequestExecutor.executeIndexRequest(SolrIndexRequestExecutor.java:118)
           [exec] 	at com.liferay.portal.search.engine.adapter.index.IndicesExistsIndexRequest.accept(IndicesExistsIndexRequest.java:34)
           [exec] 	at com.liferay.portal.search.engine.adapter.index.IndicesExistsIndexRequest.accept(IndicesExistsIndexRequest.java:22)
           [exec] 	at com.liferay.portal.search.solr7.internal.search.engine.adapter.SolrSearchEngineAdapterImpl.execute(SolrSearchEngineAdapterImpl.java:75)
           [exec] 	at com.liferay.portal.search.tuning.rankings.web.internal.index.RankingIndexReaderImpl.isExists(RankingIndexReaderImpl.java:82)
           [exec] 	at com.liferay.portal.search.tuning.rankings.web.internal.index.importer.SingleIndexToMultipleIndexImporterImpl.importRankings(SingleIndexToMultipleIndexImporterImpl.java:54)
           [exec] 	at com.liferay.portal.search.tuning.rankings.web.internal.background.task.RankingIndexCreationBackgroundTaskExecutor.execute(RankingIndexCreationBackgroundTaskExecutor.java:50)
           [exec] 	at com.liferay.portal.kernel.backgroundtask.DelegatingBackgroundTaskExecutor.execute(DelegatingBackgroundTaskExecutor.java:41)
           [exec] 	at com.liferay.portal.background.task.internal.ThreadLocalAwareBackgroundTaskExecutor.execute(ThreadLocalAwareBackgroundTaskExecutor.java:72)
           [exec] 	at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:136)
           [exec] 	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
           [exec] 	at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:74)
           [exec] 	at com.liferay.portal.messaging.internal.ParallelDestination$1.run(ParallelDestination.java:56)
           [exec] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
           [exec] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
           [exec] 	at java.lang.Thread.run(Thread.java:745)
      

      This is causing some PortalLogAssertorTest failures in the integration test batch. Example: https://test-1-22.liferay.com/job/test-portal-acceptance-pullrequest-batch(master)/242926/

      Reproduced on:
      Portal master git commit: 8bc1b2f838d1f1b7c66c8188e30d38db8834e429

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              joshua.chong Joshua Chong
              Reporter:
              joshua.chong Joshua Chong
              Participants of an Issue:
              Recent user:
              Joshua Chong
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 20 weeks, 2 days ago

                  Packages

                  Version Package