Topic
  • 3 replies
  • Latest Post - ‏2018-09-05T15:37:34Z by SJ-1
krishari
krishari
8 Posts

Pinned topic Solr Issue in PDP page

‏2017-06-07T18:44:06Z | issue solr

I have 4 defining and 4 descriptive attributes for product  and when selected all the defining attributes I will get below error trace . Can someone throw some light  on this .

 

 

 

[6/8/17 0:05:42:945 IST] 00000121 WASEJBMDOrche A   CNTR0098I: Container-managed pre-find persistent store synchronization disabled for bean: "WC#Enablement-RelationshipManagementData.jar#TradingDescription".
[6/8/17 0:05:43:344 IST] 00000121 AbstractBaseR E com.ibm.commerce.foundation.rest.resourcehandler.AbstractBaseResourceHandler handleException(String, Exception, String) CWXFR0200E: The following exception occurred in method byCatalogEntryIds: com.ibm.commerce.foundation.rest.resourcehandler.RestException: [Return code : 400 Bad Request, Level : SEVERE, Code : CWXFR0228E, Key : ERR_MISSING_MANDATORY_PARAMETER, Message : CWXFR0228E: Missing mandatory parameter "catalogEntryId"., Parameters : [catalogEntryId], Cause : java.lang.IllegalArgumentException: CWXFR0228E: Missing mandatory parameter "catalogEntryId".].
[6/8/17 0:05:43:344 IST] 00000121 AbstractBaseR E com.ibm.commerce.foundation.rest.resourcehandler.AbstractBaseResourceHandler handleException(String, Exception, String) Caught RestException, error is: {errors=[{errorMessage=CWXFR0228E: Missing mandatory parameter "catalogEntryId"., errorParameters=catalogEntryId, errorCode=CWXFR0228E, errorKey=ERR_MISSING_MANDATORY_PARAMETER, errorLevel=SEVERE}]}
                                 com.ibm.commerce.foundation.rest.resourcehandler.RestException: [Return code : 400 Bad Request, Level : SEVERE, Code : CWXFR0228E, Key : ERR_MISSING_MANDATORY_PARAMETER, Message : CWXFR0228E: Missing mandatory parameter "catalogEntryId"., Parameters : [catalogEntryId], Cause : java.lang.IllegalArgumentException: CWXFR0228E: Missing mandatory parameter "catalogEntryId".]
    at com.ibm.commerce.foundation.rest.resourcehandler.AbstractBaseResourceHandler.throwRestExceptionIfErrorsAreDetected(AbstractBaseResourceHandler.java:897)
    at com.ibm.commerce.rest.price.handler.PriceHandler.byCatalogEntryIds(PriceHandler.java:394)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
    at java.lang.reflect.Method.invoke(Method.java:620)
    at com.ibm.commerce.foundation.rest.resourcehandler.OperationRegistry.executeOperation(OperationRegistry.java:153)
    at com.ibm.commerce.foundation.rest.resourcehandler.AbstractBaseResourceHandler.runQuery(AbstractBaseResourceHandler.java:2233)
    at com.ibm.commerce.rest.price.handler.PriceHandler.findByQuery(PriceHandler.java:306)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
    at java.lang.reflect.Method.invoke(Method.java:620)
    at org.apache.wink.server.internal.handlers.InvokeMethodHandler.handleRequest(InvokeMethodHandler.java:63)
    at org.apache.wink.server.handlers.AbstractHandler.handleRequest(AbstractHandler.java:33)
    at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
    at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
    at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)
    at com.ibm.commerce.foundation.rest.handlers.WhiteListProtectionRequestHandler.handleRequest(WhiteListProtectionRequestHandler.java:121)
    at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
    at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
    at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)
    at com.ibm.commerce.foundation.rest.handlers.CrossSiteScriptingRequestHandler.handleRequest(CrossSiteScriptingRequestHandler.java:121)
    at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
    at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
    at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)
    at com.ibm.commerce.foundation.rest.handlers.AbstractCommerceTokenRequestHandler.handleRequest(AbstractCommerceTokenRequestHandler.java:110)
    at com.ibm.commerce.foundation.rest.handlers.CommerceTokenRequestHandler.handleRequest(CommerceTokenRequestHandler.java:587)
    at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
    at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
    at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)
    at com.ibm.commerce.foundation.rest.handlers.BusinessContextRequestHandler.handleRequest(BusinessContextRequestHandler.java:386)
    at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
    at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
    at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)
    at com.ibm.commerce.foundation.rest.handlers.RequestPerformanceMeasurementHandler.handleRequest(RequestPerformanceMeasurementHandler.java:98)
    at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
    at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
    at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)
    at org.apache.wink.server.internal.handlers.CreateInvocationParametersHandler.handleRequest(CreateInvocationParametersHandler.java:54)
    at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
    at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
    at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)
    at org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleResourceMethod(FindResourceMethodHandler.java:151)
    at org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleRequest(FindResourceMethodHandler.java:65)
    at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
    at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
    at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)
    at org.apache.wink.server.internal.handlers.FindRootResourceHandler.handleRequest(FindRootResourceHandler.java:95)
    at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
    at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
    at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)
    at org.apache.wink.server.internal.handlers.HeadMethodHandler.handleRequest(HeadMethodHandler.java:53)
    at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
    at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
    at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)
    at org.apache.wink.server.internal.handlers.OptionsMethodHandler.handleRequest(OptionsMethodHandler.java:46)
    at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
    at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
    at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)
    at org.apache.wink.server.internal.handlers.SearchResultHandler.handleRequest(SearchResultHandler.java:33)
    at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
    at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
    at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)
    at org.apache.wink.server.internal.log.ResourceInvocation.handleRequest(ResourceInvocation.java:92)
    at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
    at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
    at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)
    at org.apache.wink.server.internal.log.Requests.handleRequest(Requests.java:76)
    at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
    at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
    at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)
    at org.apache.wink.server.handlers.AbstractHandlersChain.run(AbstractHandlersChain.java:48)
    at org.apache.wink.server.internal.RequestProcessor.handleRequestWithoutFaultBarrier(RequestProcessor.java:207)
    at org.apache.wink.server.internal.RequestProcessor.handleRequest(RequestProcessor.java:154)
    at org.apache.wink.server.internal.servlet.RestServlet.service(RestServlet.java:119)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1238)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:782)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:481)
    at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:79)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:967)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1107)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:1389)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:550)
    at com.ibm.commerce.foundation.internal.client.util.RestLocalDispatcher.dispatchInternalRequest(RestLocalDispatcher.java:310)
    at com.ibm.commerce.foundation.internal.client.util.RestLocalDispatcher.getInternalRequestWithMultiValuedParams(RestLocalDispatcher.java:123)
    at com.ibm.commerce.foundation.internal.client.util.RESTHandler.executeLocal(RESTHandler.java:217)
    at com.ibm.commerce.foundation.internal.client.taglib.RESTTag.myExecute(RESTTag.java:1234)
    at com.ibm.commerce.foundation.internal.client.taglib.RESTTag.execute(RESTTag.java:1121)
    at com.ibm.commerce.foundation.internal.client.taglib.RESTTag.doEndTag(RESTTag.java:551)
    at com.ibm._jsp._GetCatalogEntryDetailsByID._jspx_meth_wcf_rest_8(_GetCatalogEntryDetailsByID.java:16638)
    at com.ibm._jsp._GetCatalogEntryDetailsByID._jspx_meth_c_forEach_12(_GetCatalogEntryDetailsByID.java:17552)
    at com.ibm._jsp._GetCatalogEntryDetailsByID._jspx_meth_c_if_69(_GetCatalogEntryDetailsByID.java:17625)
    at com.ibm._jsp._GetCatalogEntryDetailsByID._jspService(_GetCatalogEntryDetailsByID.java:941)
    at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:99)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1238)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:782)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:481)
    at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
    at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
    at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:220)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97)
    at com.ibm.commerce.webcontroller.JspExecutionServiceLoggingFilter.doFilter(JspExecutionServiceLoggingFilter.java:251)
    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:967)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1107)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:1389)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:195)
    at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1085)
    at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:398)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
    at com.ibm.commerce.struts.ECActionServlet.processRequest(ECActionServlet.java:229)
    at com.ibm.commerce.struts.ECActionServlet.doPost(ECActionServlet.java:184)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
    at com.ibm.commerce.struts.ECActionServlet.service(ECActionServlet.java:715)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1238)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:782)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:481)
    at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97)
    at com.ibm.commerce.foundation.server.services.servlet.filter.HttpSecurityFilter.doFilter(HttpSecurityFilter.java:237)
    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
    at com.ibm.commerce.dynacache.filter.CacheFilter$1.run(CacheFilter.java:390)
    at com.ibm.commerce.dynacache.filter.CacheFilter.doFilter(CacheFilter.java:553)
    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
    at com.ibm.commerce.webcontroller.RuntimeServletFilter.doFilterAction(RuntimeServletFilter.java:823)
    at com.ibm.commerce.webcontroller.RuntimeServletFilter.access$0(RuntimeServletFilter.java:613)
    at com.ibm.commerce.webcontroller.RuntimeServletFilter$1.run(RuntimeServletFilter.java:457)
    at com.ibm.commerce.webcontroller.RuntimeServletFilter.doFilter(RuntimeServletFilter.java:499)
    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:967)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1107)
    at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3980)
    at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1016)
    at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1817)
    at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:463)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:530)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:316)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:287)
    at com.ibm.ws.ssl.channel.impl.SSLConnectionLink.determineNextChannel(SSLConnectionLink.java:1084)
    at com.ibm.ws.ssl.channel.impl.SSLConnectionLink.readyInboundPostHandshake(SSLConnectionLink.java:732)
    at com.ibm.ws.ssl.channel.impl.SSLConnectionLink$MyHandshakeCompletedCallback.complete(SSLConnectionLink.java:428)
    at com.ibm.ws.ssl.channel.impl.SSLUtils.handleHandshake(SSLUtils.java:1138)
    at com.ibm.ws.ssl.channel.impl.SSLHandshakeIOCallback.complete(SSLHandshakeIOCallback.java:87)
    at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
    at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
    at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
    at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
    at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
    at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
    at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1892)
caused by
Return code : 400 Bad Request, Level : SEVERE, Code : CWXFR0228E, Key : ERR_MISSING_MANDATORY_PARAMETER, Message : CWXFR0228E: Missing mandatory parameter "catalogEntryId"., Parameters : [catalogEntryId], Cause : java.lang.IllegalArgumentException: CWXFR0228E: Missing mandatory parameter "catalogEntryId".java.lang.IllegalArgumentException: CWXFR0228E: Missing mandatory parameter "catalogEntryId".
    at com.ibm.commerce.foundation.rest.resourcehandler.AbstractBaseResourceHandler.addInvalidInputError(AbstractBaseResourceHandler.java:1287)
    at com.ibm.commerce.foundation.rest.resourcehandler.AbstractBaseResourceHandler.addInvalidInputError(AbstractBaseResourceHandler.java:1262)
    at com.ibm.commerce.foundation.rest.resourcehandler.AbstractBaseResourceHandler.getLongParameterValues(AbstractBaseResourceHandler.java:1097)
    at com.ibm.commerce.rest.price.handler.PriceHandler.byCatalogEntryIds(PriceHandler.java:360)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

  • Sreejith.kanneri
    Sreejith.kanneri
    164 Posts

    Re: Solr Issue in PDP page

    ‏2017-06-08T08:11:27Z  

    Could you share the rest call details that is being executed ?

  • krishari
    krishari
    8 Posts

    Re: Solr Issue in PDP page

    ‏2017-06-20T05:57:17Z  

    Hi All,

     

     Able to resolve the issue.  The data related to salescatalogassoc was not loaded correctly.  After correcting the data the issue got resolved. 

     

    Kris

  • SJ-1
    SJ-1
    1 Post

    Re: Solr Issue in PDP page

    ‏2018-09-05T15:37:34Z  
    • krishari
    • ‏2017-06-20T05:57:17Z

    Hi All,

     

     Able to resolve the issue.  The data related to salescatalogassoc was not loaded correctly.  After correcting the data the issue got resolved. 

     

    Kris

    Hi Kris,

     

    Can you please elaborate your solution (The data related to salescatalogassoc was not loaded correctly.  After correcting the data the issue got resolved.), we have similar issue for just one product

     

    Thanks