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

Fix ElasticsearchParseException startup issue after deploying blueprint modules

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Completed
    • Affects Version/s: Master
    • Fix Version/s: None
    • Labels:
      None

      Description

      https://liferay.slack.com/archives/C0154CEGR3Q/p1610414498186200

       

      2021-01-14 18:44:30.706 ERROR [main][MainServlet:425] java.lang.RuntimeException: org.elasticsearch.ElasticsearchParseException: ElasticsearchParseException[Failed to parse content to map]; nested: JsonParseException[Illegal unquoted character ((CTRL-CHAR, code 8)): has to be escaped using backslash to be included in string value at [Source: (org.elasticsearch.common.bytes.AbstractBytesReference$MarkSupportingStreamInputWrapper); line: 23, column: 28]];java.lang.RuntimeException: org.elasticsearch.ElasticsearchParseException: ElasticsearchParseException[Failed to parse content to map]; nested: JsonParseException[Illegal unquoted character ((CTRL-CHAR, code 8)): has to be escaped using backslash to be included in string value at [Source: (org.elasticsearch.common.bytes.AbstractBytesReference$MarkSupportingStreamInputWrapper); line: 23, column: 28]];	at org.elasticsearch.common.xcontent.XContentHelper.convertToMap(XContentHelper.java:147)	at org.elasticsearch.common.xcontent.XContentHelper.convertToMap(XContentHelper.java:115)	at org.elasticsearch.action.admin.indices.create.CreateIndexRequest.source(CreateIndexRequest.java:393)	at org.elasticsearch.action.admin.indices.create.CreateIndexRequest.source(CreateIndexRequest.java:364)	at com.liferay.portal.search.elasticsearch7.internal.search.engine.adapter.index.CreateIndexRequestExecutorImpl.lambda$createCreateIndexRequest$0(CreateIndexRequestExecutorImpl.java:70)	at com.liferay.portal.search.elasticsearch7.internal.util.ClassLoaderUtil.getWithContextClassLoader(ClassLoaderUtil.java:34)	at com.liferay.portal.search.elasticsearch7.internal.search.engine.adapter.index.CreateIndexRequestExecutorImpl.createCreateIndexRequest(CreateIndexRequestExecutorImpl.java:69)	at com.liferay.portal.search.elasticsearch7.internal.search.engine.adapter.index.CreateIndexRequestExecutorImpl.execute(CreateIndexRequestExecutorImpl.java:45)	at com.liferay.portal.search.elasticsearch7.internal.search.engine.adapter.index.ElasticsearchIndexRequestExecutor.executeIndexRequest(ElasticsearchIndexRequestExecutor.java:75)	at com.liferay.portal.search.engine.adapter.index.CreateIndexRequest.accept(CreateIndexRequest.java:33)	at com.liferay.portal.search.engine.adapter.index.CreateIndexRequest.accept(CreateIndexRequest.java:22)	at com.liferay.portal.search.elasticsearch7.internal.search.engine.adapter.ElasticsearchSearchEngineAdapterImpl.execute(ElasticsearchSearchEngineAdapterImpl.java:91)	at com.liferay.portal.search.tuning.blueprints.query.index.web.internal.index.QueryStringIndexCreatorImpl.create(QueryStringIndexCreatorImpl.java:39)	at com.liferay.portal.search.tuning.blueprints.query.index.web.internal.index.creation.model.listener.QueryStringIndexCreationCompanyModelListener.onAfterCreate(QueryStringIndexCreationCompanyModelListener.java:54)	at com.liferay.portal.search.tuning.blueprints.query.index.web.internal.index.creation.model.listener.QueryStringIndexCreationCompanyModelListener.onAfterCreate(QueryStringIndexCreationCompanyModelListener.java:34)	at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.update(BasePersistenceImpl.java:710)	at com.liferay.portal.service.impl.CompanyLocalServiceImpl.addCompany(CompanyLocalServiceImpl.java:198)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50)	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:69)	at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57)
      

        Attachments

          Activity

            People

            Assignee:
            kevin.tan Kevin Tan
            Reporter:
            kevin.tan Kevin Tan
            Participants of an Issue:
            Recent user:
            Dennis Ju (Inactive)
            Engineering Assignee:
            SE Support
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              45 weeks, 5 days ago
              Development End Date:
              Development Start Date:

                Packages

                Version Package