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

Catch RuntimeExceptions thrown by Solr SearchEngineAdapter

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: None
    • Fix Version/s: 7.2.X, Master
    • Component/s: Workflow > Metrics
    • Labels:
      None

      Description

      Example test results:
      https://github.com/BryanEngler/liferay-portal/pull/372#issuecomment-509522383

      Example test failure: MBCategoryIndexerTest.testNotReindexGroupNotContainingMBCategories

      Error message:

      java.lang.AssertionError: Thread Thread[com.liferay.portal.workflow.metrics.internal.petra.executor.WorkflowMetricsPortalExecutor-2,5,main] caught concurrent failure: java.lang.AssertionError: \{level=ERROR, loggerName=com.liferay.portal.workflow.metrics.internal.petra.executor.WorkflowMetricsPortalExecutor, message=java.lang.RuntimeException: org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at [http://localhost:8983/solr:] Expected mime type application/octet-stream but got text/html. <html>
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              brian.chan Brian Chan
              Reporter:
              bryan.engler Bryan Engler
              Engineering Assignee:
              Bryan Engler
              Recent user:
              Joshua Chong
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  7.2.X
                  Master