SAP Knowledge Base Article - Preview

2492127 - NullPointerException after enabling DefaultFacetSearchStrategy debug mode

Symptom

An exception is thown after choosing a Category in the Storefront if the debug mode is enabled for the DefaultFacetSearchStrategy class:

ERROR [hybrisHTTP11] [SolrSearchRequestResponsePopulator] Exception while executing SOLR search
 de.hybris.platform.solrfacetsearch.search.FacetSearchException: null
	at de.hybris.platform.solrfacetsearch.search.impl.DefaultFacetSearchStrategy.search(DefaultFacetSearchStrategy.java:168) ~[solrfacetsearchserver.jar:?]
	at de.hybris.platform.solrfacetsearch.search.impl.DefaultFacetSearchService.search(DefaultFacetSearchService.java:86) ~[solrfacetsearchserver.jar:?]
	at de.hybris.platform.solrfacetsearch.search.impl.DefaultFacetSearchService.search(DefaultFacetSearchService.java:75) ~[solrfacetsearchserver.jar:?]
...
Caused by: java.lang.NullPointerException
	at org.apache.solr.common.util.StrUtils.partialURLEncodeVal(StrUtils.java:265) ~[solr-solrj-6.1.0.jar:6.1.0 4726c5b2d2efa9ba160b608d46a977d0a6b83f94 - jpountz - 2016-06-13 09:46:59]
	at org.apache.solr.common.params.SolrParams.toString(SolrParams.java:432) ~[solr-solrj-6.1.0.jar:6.1.0 4726c5b2d2efa9ba160b608d46a977d0a6b83f94 - jpountz - 2016-06-13 09:46:59]
	at de.hybris.platform.util.logging.HybrisLogger.convertToString(HybrisLogger.java:399) ~[coreserver.jar:?]
	at de.hybris.platform.util.logging.HybrisLogger.bridgeLogMsg(HybrisLogger.java:449) [coreserver.jar:?]
	at de.hybris.platform.util.logging.HybrisLogger.debug(HybrisLogger.java:332) [coreserver.jar:?]
	at de.hybris.platform.solrfacetsearch.search.impl.DefaultFacetSearchStrategy.search(DefaultFacetSearchStrategy.java:148) ~[solrfacetsearchserver.jar:?]
	... 144 more


Read more...

Environment

SAP Hybris Commerce Suite 6.2.0.9

Product

SAP Hybris Commerce 6.2

Keywords

KBA , CEC-SCC-COM-SRC-SER , Search and Navigation , Bug Filed

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.