com.fatwire.cs.core.search.query.QueryConversionException: org.apache.lucene.queryParser.ParseException: Cannot parse '-': Encountered "<EOF>" at line 1, column 1. Was expecting one of: "(" ... "*" ... <QUOTED> ... <TERM> ... <PREFIXTERM> ... <WILDTERM> ... "[" ... "{" ... <NUMBER> ... <TERM> ... "*" ...

Oracle Community | 6b03b21b-ed0f-4d67-8185-cdb4e7c6deea | 1 year ago
  1. 0

    Bug: Advanced Search "All of the words" Parse Error on "-" Character

    Oracle Community | 1 year ago | 6b03b21b-ed0f-4d67-8185-cdb4e7c6deea
    com.fatwire.cs.core.search.query.QueryConversionException: org.apache.lucene.queryParser.ParseException: Cannot parse '-': Encountered "<EOF>" at line 1, column 1. Was expecting one of: "(" ... "*" ... <QUOTED> ... <TERM> ... <PREFIXTERM> ... <WILDTERM> ... "[" ... "{" ... <NUMBER> ... <TERM> ... "*" ...

    Root Cause Analysis

    1. com.fatwire.cs.core.search.query.QueryConversionException

      org.apache.lucene.queryParser.ParseException: Cannot parse '-': Encountered "<EOF>" at line 1, column 1. Was expecting one of: "(" ... "*" ... <QUOTED> ... <TERM> ... <PREFIXTERM> ... <WILDTERM> ... "[" ... "{" ... <NUMBER> ... <TERM> ... "*" ...

      at com.fatwire.search.lucene.LuceneQueryConverter._buildQuery()
    2. com.fatwire.search
      LuceneSearchEngine.search
      1. com.fatwire.search.lucene.LuceneQueryConverter._buildQuery(LuceneQueryConverter.java:353)
      2. com.fatwire.search.lucene.LuceneQueryConverter._buildQueryWrapper(LuceneQueryConverter.java:308)
      3. com.fatwire.search.lucene.LuceneQueryConverter._buildQuery(LuceneQueryConverter.java:286)
      4. com.fatwire.search.lucene.LuceneQueryConverter._buildQuery(LuceneQueryConverter.java:260)
      5. com.fatwire.search.lucene.LuceneQueryConverter.getNativeForm(LuceneQueryConverter.java:123)
      6. com.fatwire.search.lucene.LuceneQueryConverter.getNativeForm(LuceneQueryConverter.java:42)
      7. com.fatwire.search.lucene.LuceneSearchEngine.search(LuceneSearchEngine.java:617)
      7 frames
    3. com.fatwire.services
      SearchServiceImpl.search
      1. com.fatwire.services.SearchServiceImpl.search(SearchServiceImpl.java:283)
      1 frame
    4. org.apache.jsp
      SearchAction_jsp._jspService
      1. org.apache.jsp.jsp.cs_005fdeployed.UI.Data.Search.SearchAction_jsp._jspService(SearchAction_jsp.java:180)
      1 frame
    5. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      1 frame
    6. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      1 frame
    7. GWT dev
      JspServlet.service
      1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
      2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
      3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
      3 frames
    8. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      1 frame
    9. Glassfish Core
      ApplicationDispatcher.include
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
      4. org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:604)
      5. org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:543)
      5 frames
    10. COM.FutureTense.Servlet
      JSPServices.runJSP
      1. COM.FutureTense.Servlet.ServletRequest.include(ServletRequest.java:1430)
      2. COM.FutureTense.Servlet.FRequestObj.include(FRequestObj.java:1422)
      3. COM.FutureTense.Servlet.JSPServices.runJSP(JSPServices.java:111)
      3 frames
    11. COM.FutureTense.Platform
      FILESYSTEMJSPManager.runJSP
      1. COM.FutureTense.Platform.FileSystem.FILESYSTEMJSPManager.runJSP(FILESYSTEMJSPManager.java:463)
      1 frame
    12. COM.FutureTense.Servlet
      JSPServices.runJSPObject
      1. COM.FutureTense.Servlet.JSPServices.runJSPObject(JSPServices.java:50)
      1 frame
    13. COM.FutureTense.Platform
      FILESYSTEMJSPManager$JSPDataFile.run
      1. COM.FutureTense.Platform.FileSystem.FILESYSTEMJSPManager$JSPDataFile.run(FILESYSTEMJSPManager.java:190)
      1 frame
    14. COM.FutureTense.Common
      CS.CallElement
      1. COM.FutureTense.Common.ContentServer.jspExecute(ContentServer.java:3036)
      2. COM.FutureTense.Common.ContentServer.evalTemplate(ContentServer.java:2630)
      3. COM.FutureTense.Common.ContentServer.processElement(ContentServer.java:2008)
      4. COM.FutureTense.Common.CS.CallElement(CS.java:1603)
      4 frames
    15. com.fatwire.cs
      UIController.execute
      1. com.fatwire.cs.ui.framework.UIController.execute(UIController.java:124)
      1 frame
    16. org.apache.jsp
      controller_jsp._jspService
      1. org.apache.jsp.jsp.cs_005fdeployed.fatwire.ui.controller.controller_jsp._jspService(controller_jsp.java:85)
      1 frame
    17. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      1 frame
    18. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      1 frame
    19. GWT dev
      JspServlet.service
      1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
      2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
      3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
      3 frames
    20. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      1 frame
    21. Glassfish Core
      ApplicationDispatcher.include
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
      4. org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:604)
      5. org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:543)
      5 frames
    22. COM.FutureTense.Servlet
      JSPServices.runJSP
      1. COM.FutureTense.Servlet.ServletRequest.include(ServletRequest.java:1430)
      2. COM.FutureTense.Servlet.FRequestObj.include(FRequestObj.java:1422)
      3. COM.FutureTense.Servlet.JSPServices.runJSP(JSPServices.java:111)
      3 frames
    23. COM.FutureTense.Platform
      FILESYSTEMJSPManager.runJSP
      1. COM.FutureTense.Platform.FileSystem.FILESYSTEMJSPManager.runJSP(FILESYSTEMJSPManager.java:463)
      1 frame
    24. COM.FutureTense.Servlet
      JSPServices.runJSPObject
      1. COM.FutureTense.Servlet.JSPServices.runJSPObject(JSPServices.java:50)
      1 frame
    25. COM.FutureTense.Platform
      FILESYSTEMJSPManager$JSPDataFile.run
      1. COM.FutureTense.Platform.FileSystem.FILESYSTEMJSPManager$JSPDataFile.run(FILESYSTEMJSPManager.java:190)
      1 frame
    26. COM.FutureTense.Common
      ContentServer.execute
      1. COM.FutureTense.Common.ContentServer.jspExecute(ContentServer.java:3036)
      2. COM.FutureTense.Common.ContentServer.evalTemplate(ContentServer.java:2630)
      3. COM.FutureTense.Common.ContentServer.generatePage(ContentServer.java:1649)
      4. COM.FutureTense.Common.ContentServer.evalPage(ContentServer.java:1278)
      5. COM.FutureTense.Common.ContentServer.execute(ContentServer.java:467)
      5 frames
    27. COM.FutureTense.Servlet
      FTServlet.doPost
      1. COM.FutureTense.Servlet.FTServlet.execute(FTServlet.java:129)
      2. COM.FutureTense.Servlet.FTServlet.doPost(FTServlet.java:61)
      2 frames
    28. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      2 frames
    29. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    30. Tomcat WS
      WsFilter.doFilter
      1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      1 frame
    31. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    32. com.fatwire.auth
      RequestAuthenticationFilter.doFilter
      1. com.fatwire.auth.RequestAuthenticationFilter.doFilter(RequestAuthenticationFilter.java:218)
      1 frame
    33. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    34. com.fatwire.wem
      SSOFilter.doFilter
      1. com.fatwire.wem.sso.cas.filter.CASFilter.doFilter(CASFilter.java:293)
      2. com.fatwire.wem.sso.SSOFilter.doFilter(SSOFilter.java:51)
      2 frames
    35. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    36. com.fatwire.cs
      UIFilter.doFilter
      1. com.fatwire.cs.ui.framework.UIFilter.doFilter(UIFilter.java:108)
      1 frame
    37. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    38. COM.FutureTense.Security
      ContentSecurityFilter.doFilter
      1. COM.FutureTense.Security.Common.ContentSecurityFilter.doFilter(ContentSecurityFilter.java:65)
      1 frame
    39. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
      8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
      9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
      10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
      10 frames
    40. org.apache.coyote
      AjpProcessor.process
      1. org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:190)
      1 frame
    41. Grizzly HTTP
      JIoEndpoint$SocketProcessor.run
      1. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
      2. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314)
      2 frames
    42. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      2 frames
    43. Tomcat Util
      TaskThread$WrappingRunnable.run
      1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      1 frame