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

Calendar - Inputting text into "Other Calendars" or "Invitations" input field throws errors

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 7.0.0 M4
    • Fix Version/s: 7.0.0 M4
    • Component/s: Calendar
    • Labels:

      Description

      Steps to Reproduce:

      1. Deploy Calendar portlet
      2. Add Calendar portlet to Welcome page
      3. Input any characters into "Other Calendars" input field

      or

      1. Deploy Calendar portlet
      2. Add Calendar portlet to Welcome page
      3. Add Event
      4. Input any character into "Invitations" input field

      Expected Result:
      Field can receive input without error.

      Actual Result:
      Console throws errors every time a character is entered.

      17:58:34,916 ERROR [http-bio-9080-exec-10][PortletServlet:117] javax.portlet.PortletException: com.liferay.portal.kernel.search.SearchException: Failed to execute phase [query_fetch], all shards failed; shardFailures {[9TyTZX6NSIy3QwM8Jm-tpw][20151][0]: SearchParseException[[20151][0]: from[-1],size[0]: Parse Failure [Failed to parse source [{"size":0,"query":{"query_string":{"query":"+()"}}}]]]; nested: QueryParsingException[[20151] Failed to parse query [+()]]; nested: ParseException[Cannot parse '+()': Encountered " ")" ") "" at line 1, column 2._Was expecting one of:_    <NOT> ..._    "+" ..._    "-" ..._    <BAREOPER> ..._    "(" ..._    "*" ..._    <QUOTED> ..._    <TERM> ..._    <PREFIXTERM> ..._    <WILDTERM> ..._    <REGEXPTERM> ..._    "[" ..._    "{" ..._    <NUMBER> ..._    <TERM> ..._    "*" ..._    ]; nested: ParseException[Encountered " ")" ") "" at line 1, column 2._Was expecting one of:_    <NOT> ..._    "+" ..._    "-" ..._    <BAREOPER> ..._    "(" ..._    "*" ..._    <QUOTED> ..._    <TERM> ..._    <PREFIXTERM> ..._    <WILDTERM> ..._    <REGEXPTERM> ..._    "[" ..._    "{" ..._    <NUMBER> ..._    <TERM> ..._    "*" ..._    ]; } [Sanitized]
      javax.portlet.PortletException: com.liferay.portal.kernel.search.SearchException: Failed to execute phase [query_fetch], all shards failed; shardFailures {[9TyTZX6NSIy3QwM8Jm-tpw][20151][0]: SearchParseException[[20151][0]: from[-1],size[0]: Parse Failure [Failed to parse source [{"size":0,"query":{"query_string":{"query":"+()"}}}]]]; nested: QueryParsingException[[20151] Failed to parse query [+()]]; nested: ParseException[Cannot parse '+()': Encountered " ")" ") "" at line 1, column 2._Was expecting one of:_    <NOT> ..._    "+" ..._    "-" ..._    <BAREOPER> ..._    "(" ..._    "*" ..._    <QUOTED> ..._    <TERM> ..._    <PREFIXTERM> ..._    <WILDTERM> ..._    <REGEXPTERM> ..._    "[" ..._    "{" ..._    <NUMBER> ..._    <TERM> ..._    "*" ..._    ]; nested: ParseException[Encountered " ")" ") "" at line 1, column 2._Was expecting one of:_    <NOT> ..._    "+" ..._    "-" ..._    <BAREOPER> ..._    "(" ..._    "*" ..._    <QUOTED> ..._    <TERM> ..._    <PREFIXTERM> ..._    <WILDTERM> ..._    <REGEXPTERM> ..._    "[" ..._    "{" ..._    <NUMBER> ..._    <TERM> ..._    "*" ..._    ]; } [Sanitized]
      	at com.liferay.calendar.portlet.CalendarPortlet.serveResource(CalendarPortlet.java:252)
      	at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:122)
      	at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:71)
      	at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:113)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:119)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
      	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
      	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)
      	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
      	at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:519)
      	at com.liferay.portlet.InvokerPortletImpl.invokeResource(InvokerPortletImpl.java:614)
      	at com.liferay.portlet.InvokerPortletImpl.serveResource(InvokerPortletImpl.java:458)
      	at com.liferay.portlet.PortletContainerImpl._doServeResource(PortletContainerImpl.java:806)
      	at com.liferay.portlet.PortletContainerImpl.serveResource(PortletContainerImpl.java:152)
      	at com.liferay.portlet.SecurityPortletContainerWrapper.serveResource(SecurityPortletContainerWrapper.java:165)
      	at com.liferay.portlet.RestrictPortletContainerWrapper.serveResource(RestrictPortletContainerWrapper.java:166)
      	at com.liferay.portal.kernel.portlet.PortletContainerUtil.serveResource(PortletContainerUtil.java:163)
      	at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:314)
      	at com.liferay.portal.action.LayoutAction.doExecute(LayoutAction.java:179)
      	at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:84)
      	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
      	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
      	at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:180)
      	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
      	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
      	at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:543)
      	at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:520)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
      	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
      	at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:293)
      	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
      	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
      	at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42)
      	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:119)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
      	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
      	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)
      	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
      	at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:159)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
      	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
      	at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:125)
      	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
      	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
      	at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:293)
      	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
      	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
      	at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:243)
      	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
      	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
      	at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:86)
      	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
      	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
      	at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42)
      	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
      	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
      	at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:264)
      	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
      	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
      	at com.liferay.portal.servlet.filters.sso.ntlm.NtlmPostFilter.processFilter(NtlmPostFilter.java:87)
      	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
      	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
      	at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:88)
      	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
      	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
      	at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:225)
      	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:185)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
      	at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
      	at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
      	at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
      	at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394)
      	at com.liferay.portal.servlet.filters.urlrewrite.UrlRewriteFilter.processFilter(UrlRewriteFilter.java:65)
      	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:165)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:165)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:185)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:119)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
      	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
      	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
      	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
      	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
      	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
      	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
      	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
      	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: com.liferay.portal.kernel.search.SearchException: Failed to execute phase [query_fetch], all shards failed; shardFailures {[9TyTZX6NSIy3QwM8Jm-tpw][20151][0]: SearchParseException[[20151][0]: from[-1],size[0]: Parse Failure [Failed to parse source [{"size":0,"query":{"query_string":{"query":"+()"}}}]]]; nested: QueryParsingException[[20151] Failed to parse query [+()]]; nested: ParseException[Cannot parse '+()': Encountered " ")" ") "" at line 1, column 2._Was expecting one of:_    <NOT> ..._    "+" ..._    "-" ..._    <BAREOPER> ..._    "(" ..._    "*" ..._    <QUOTED> ..._    <TERM> ..._    <PREFIXTERM> ..._    <WILDTERM> ..._    <REGEXPTERM> ..._    "[" ..._    "{" ..._    <NUMBER> ..._    <TERM> ..._    "*" ..._    ]; nested: ParseException[Encountered " ")" ") "" at line 1, column 2._Was expecting one of:_    <NOT> ..._    "+" ..._    "-" ..._    <BAREOPER> ..._    "(" ..._    "*" ..._    <QUOTED> ..._    <TERM> ..._    <PREFIXTERM> ..._    <WILDTERM> ..._    <REGEXPTERM> ..._    "[" ..._    "{" ..._    <NUMBER> ..._    <TERM> ..._    "*" ..._    ]; } [Sanitized]
      	at com.liferay.portal.search.elasticsearch.ElasticsearchIndexSearcher.search(ElasticsearchIndexSearcher.java:126)
      	at sun.reflect.GeneratedMethodAccessor451.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at com.liferay.portal.kernel.messaging.proxy.ProxyRequest.execute(ProxyRequest.java:86)
      	at com.liferay.portal.kernel.messaging.proxy.ProxyMessageListener.receive(ProxyMessageListener.java:51)
      	at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:72)
      	at com.liferay.portal.kernel.messaging.SynchronousDestination.send(SynchronousDestination.java:41)
      	at com.liferay.portal.kernel.messaging.sender.DirectSynchronousMessageSender.send(DirectSynchronousMessageSender.java:54)
      	at com.liferay.portal.kernel.messaging.proxy.BaseMultiDestinationProxyBean.synchronousSend(BaseMultiDestinationProxyBean.java:47)
      	at com.liferay.portal.messaging.proxy.MultiDestinationMessagingProxyInvocationHandler.invoke(MultiDestinationMessagingProxyInvocationHandler.java:50)
      	at com.sun.proxy.$Proxy260.search(Unknown Source)
      	at com.liferay.portal.kernel.search.SearchEngineUtil.search(SearchEngineUtil.java:797)
      	at com.liferay.portal.kernel.search.BaseIndexer.doSearch(BaseIndexer.java:1535)
      	at com.liferay.portal.kernel.search.DefaultSearchResultPermissionFilter.getHits(DefaultSearchResultPermissionFilter.java:94)
      	at com.liferay.portal.kernel.search.BaseSearchResultPermissionFilter.search(BaseSearchResultPermissionFilter.java:87)
      	at com.liferay.portal.kernel.search.BaseIndexer.search(BaseIndexer.java:579)
      	at com.liferay.calendar.portlet.CalendarPortlet.search(CalendarPortlet.java:879)
      	at com.liferay.calendar.portlet.CalendarPortlet.serveCalendarResources(CalendarPortlet.java:1021)
      	at com.liferay.calendar.portlet.CalendarPortlet.serveResource(CalendarPortlet.java:236)
      	... 137 more
      Caused by: com.liferay.portal.kernel.search.SearchException: Failed to execute phase [query_fetch], all shards failed; shardFailures {[9TyTZX6NSIy3QwM8Jm-tpw][20151][0]: SearchParseException[[20151][0]: from[-1],size[0]: Parse Failure [Failed to parse source [{"size":0,"query":{"query_string":{"query":"+()"}}}]]]; nested: QueryParsingException[[20151] Failed to parse query [+()]]; nested: ParseException[Cannot parse '+()': Encountered " ")" ") "" at line 1, column 2._Was expecting one of:_    <NOT> ..._    "+" ..._    "-" ..._    <BAREOPER> ..._    "(" ..._    "*" ..._    <QUOTED> ..._    <TERM> ..._    <PREFIXTERM> ..._    <WILDTERM> ..._    <REGEXPTERM> ..._    "[" ..._    "{" ..._    <NUMBER> ..._    <TERM> ..._    "*" ..._    ]; nested: ParseException[Encountered " ")" ") "" at line 1, column 2._Was expecting one of:_    <NOT> ..._    "+" ..._    "-" ..._    <BAREOPER> ..._    "(" ..._    "*" ..._    <QUOTED> ..._    <TERM> ..._    <PREFIXTERM> ..._    <WILDTERM> ..._    <REGEXPTERM> ..._    "[" ..._    "{" ..._    <NUMBER> ..._    <TERM> ..._    "*" ..._    ]; } [Sanitized]
      	at com.liferay.portal.search.elasticsearch.ElasticsearchIndexSearcher.searchCount(ElasticsearchIndexSearcher.java:164)
      	at com.liferay.portal.search.elasticsearch.ElasticsearchIndexSearcher.search(ElasticsearchIndexSearcher.java:94)
      	... 156 more
      Caused by: org.elasticsearch.action.search.SearchPhaseExecutionException: Failed to execute phase [query_fetch], all shards failed; shardFailures {[9TyTZX6NSIy3QwM8Jm-tpw][20151][0]: SearchParseException[[20151][0]: from[-1],size[0]: Parse Failure [Failed to parse source [{"size":0,"query":{"query_string":{"query":"+()"}}}]]]; nested: QueryParsingException[[20151] Failed to parse query [+()]]; nested: ParseException[Cannot parse '+()': Encountered " ")" ") "" at line 1, column 2._Was expecting one of:_    <NOT> ..._    "+" ..._    "-" ..._    <BAREOPER> ..._    "(" ..._    "*" ..._    <QUOTED> ..._    <TERM> ..._    <PREFIXTERM> ..._    <WILDTERM> ..._    <REGEXPTERM> ..._    "[" ..._    "{" ..._    <NUMBER> ..._    <TERM> ..._    "*" ..._    ]; nested: ParseException[Encountered " ")" ") "" at line 1, column 2._Was expecting one of:_    <NOT> ..._    "+" ..._    "-" ..._    <BAREOPER> ..._    "(" ..._    "*" ..._    <QUOTED> ..._    <TERM> ..._    <PREFIXTERM> ..._    <WILDTERM> ..._    <REGEXPTERM> ..._    "[" ..._    "{" ..._    <NUMBER> ..._    <TERM> ..._    "*" ..._    ]; } [Sanitized]
      	at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.onFirstPhaseResult(TransportSearchTypeAction.java:233)
      	at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction$1.onFailure(TransportSearchTypeAction.java:179)
      	at org.elasticsearch.search.action.SearchServiceTransportAction$23.run(SearchServiceTransportAction.java:523)
      	... 3 more
      Feb 03, 2015 5:58:34 PM org.apache.catalina.core.ApplicationDispatcher invoke
      SEVERE: Servlet.service() for servlet 1 Servlet threw exception
      org.elasticsearch.action.search.SearchPhaseExecutionException: Failed to execute phase [query_fetch], all shards failed; shardFailures {[9TyTZX6NSIy3QwM8Jm-tpw][20151][0]: SearchParseException[[20151][0]: from[-1],size[0]: Parse Failure [Failed to parse source [{"size":0,"query":{"query_string":{"query":"+()"}}}]]]; nested: QueryParsingException[[20151] Failed to parse query [+()]]; nested: ParseException[Cannot parse '+()': Encountered " ")" ") "" at line 1, column 2.
      Was expecting one of:
          <NOT> ...
          "+" ...
          "-" ...
          <BAREOPER> ...
          "(" ...
          "*" ...
          <QUOTED> ...
          <TERM> ...
          <PREFIXTERM> ...
          <WILDTERM> ...
          <REGEXPTERM> ...
          "[" ...
          "{" ...
          <NUMBER> ...
          <TERM> ...
          "*" ...
          ]; nested: ParseException[Encountered " ")" ") "" at line 1, column 2.
      Was expecting one of:
          <NOT> ...
          "+" ...
          "-" ...
          <BAREOPER> ...
          "(" ...
          "*" ...
          <QUOTED> ...
          <TERM> ...
          <PREFIXTERM> ...
          <WILDTERM> ...
          <REGEXPTERM> ...
          "[" ...
          "{" ...
          <NUMBER> ...
          <TERM> ...
          "*" ...
          ]; }
      	at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.onFirstPhaseResult(TransportSearchTypeAction.java:233)
      	at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction$1.onFailure(TransportSearchTypeAction.java:179)
      	at org.elasticsearch.search.action.SearchServiceTransportAction$23.run(SearchServiceTransportAction.java:523)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:745)
      
      

      Reproducible on:
      Tomcat 7.0.42 + MySQL 5.5.41. Portal master GIT ID: 648fdeee81844e01029d4ee0ac529f8b44472a2b.
      Plugins master GIT ID: e25f3d51541c6455d5fac30e4cf2cded3c017485.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                4 years, 44 weeks, 2 days ago

                Packages

                Version Package
                7.0.0 M4