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

The console occur "java.lang.IllegalStateException: Future got interrupted" error when the Shutdown server

    Details

      Description

      Steps to reproduce:

      1. Start the server
      2. Login
      3. Shutdown server

      Expected Result: Assert no console errors or warnings.

      Actual result: The following error occurs:

      2020-12-03 02:13:37.829 ERROR [liferay/search_writer/SYSTEM_ENGINE-9][ElasticsearchIndexWriter:170] java.lang.IllegalStateException: Future got interrupted
      java.lang.IllegalStateException: Future got interrupted
              at org.elasticsearch.common.util.concurrent.FutureUtils.get(FutureUtils.java:60)
              at org.elasticsearch.action.support.AdapterActionFuture.actionGet(AdapterActionFuture.java:34)
              at org.elasticsearch.action.ActionRequestBuilder.get(ActionRequestBuilder.java:53)
              at com.liferay.portal.search.elasticsearch6.internal.search.engine.adapter.document.DeleteDocumentRequestExecutorImpl.execute(DeleteDocumentRequestExecutorImpl.java:42)
              at com.liferay.portal.search.elasticsearch6.internal.search.engine.adapter.document.ElasticsearchDocumentRequestExecutor.executeDocumentRequest(ElasticsearchDocumentRequestExecutor.java:65)
              at com.liferay.portal.search.engine.adapter.document.DeleteDocumentRequest.accept(DeleteDocumentRequest.java:54)
              at com.liferay.portal.search.engine.adapter.document.DeleteDocumentRequest.accept(DeleteDocumentRequest.java:22)
              at com.liferay.portal.search.elasticsearch6.internal.search.engine.adapter.ElasticsearchSearchEngineAdapterImpl.execute(ElasticsearchSearchEngineAdapterImpl.java:68)
              at com.liferay.portal.search.elasticsearch6.internal.ElasticsearchIndexWriter.deleteDocument(ElasticsearchIndexWriter.java:166)
              at sun.reflect.GeneratedMethodAccessor1562.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at com.liferay.portal.kernel.messaging.proxy.ProxyRequest.execute(ProxyRequest.java:82)
              at com.liferay.portal.kernel.messaging.proxy.ProxyMessageListener.receive(ProxyMessageListener.java:58)
              at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:74)
              at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(ParallelDestination.java:52)
              at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:752)
              at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:664)
              at java.lang.Thread.run(Thread.java:748)
      Caused by: java.lang.InterruptedException
              at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:998)
              at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1304)
              at org.elasticsearch.common.util.concurrent.BaseFuture$Sync.get(BaseFuture.java:251)
              at org.elasticsearch.common.util.concurrent.BaseFuture.get(BaseFuture.java:94)
              at org.elasticsearch.common.util.concurrent.FutureUtils.get(FutureUtils.java:57)
              ... 18 more
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              brian.lee Brian Lee
              Reporter:
              chao.wang Chao Wang
              Participants of an Issue:
              Recent user:
              Brian Lee
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

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

                  Packages

                  Version Package