-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 6.2.10 EE GA1, 6.2.X EE, 7.0.0 M3
-
Labels:
-
Branch Version/s:6.2.x
-
Backported to Branch:Committed
-
Story Points:15
-
Git Pull Request:
Steps of reproduction:
1. Setup SOLR 4.8.1 (latest), SOLR 4 EE plugin and Liferay 6.2 with customer's fix-packs.
2. Create a web content article.
3. Place a Search portlet on a page.
4. Search for a word in the article. The article is found.
5. Click "Custom range" and provide two dates, click Search.
Result: Search fails with:
15:34:17,851 ERROR [http-bio-8080-exec-1][IncludeTag:129] Current URL /web/guest/home?_3_formDate=1403537625615&p_p_id=3&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view
&_3_struts_action=%2Fsearch%2Fsearch&_3_cur=1&_3_format=&_3_keywords=brazil&_3_groupId=0&_3_entryClassName=&_3_folderId=&_3_userId=&_3_modified=%5B20140601000000+TO+20140
630235959%5D&_3_modifiedselection=6&_3_modifiedfrom=2014-06-01&_3_modifiedto=2014-06-30&_3_documentsSearchContainerPrimaryKeys=15_PORTLET_10672 generates exception: null
java.lang.NullPointerException
at com.liferay.portal.search.solr.facet.SolrFacetQueryCollector.getTermCollector(SolrFacetQueryCollector.java:53)
at org.apache.jsp.html.portlet.search.facets.modified_jsp._jspService(modified_jsp.java:990)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:57)
at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:78)
at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53)
at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:295)
at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:192)
at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:83)
at org.apache.jsp.html.portlet.search.search_jsp._jspService(search_jsp.java:1151)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:57)
at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:78)
at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53)
at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:295)
at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:192)
at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:83)
at org.apache.jsp.html.common.themes.portlet_jsp._jspService(portlet_jsp.java:3807)
- relates
-
LPS-64269 Custom date range search in Search Portlet fails with NullPointerException using Solr. Facet count is always zero for "Custom Range" facet term (Elasticsearch, Solr)
- Closed