Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: Aquidneck
-
Fix Version/s: 2.0.0, sprint 14: 12-05-2012, Aquidneck
-
Component/s: None
-
Labels:None
-
Environment:
QA Env SAPI 266 and UI 268
-
Sprint:Sprint 14
Description
I tried to sort on the Merchants column in the orders page and got the following stack trace. All orders disappear from the view and the page needs to be refreshed to get them back. (same thing seems to happen by sorting on the Order Name column.
2012-11-28 22:10:34,560-8605872 [http-8080-4] WARN org.apache.cxf.phase.PhaseInterceptorChain - Application
{http://security.services.sapi.thesearchagency.com/}SecurityService has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: org.elasticsearch.action.search.SearchPhaseExecutionException: Failed to execute phase [dfs], total failure; shardFailures {[Svwv8CAUQzK9I3QAgVjjow][com.reseller1][1]: SearchParseException[[com.reseller1][1]: from[0],size[10]: Parse Failure [Failed to parse source [{"from":0,"size":10,"sort":[
,
{"modificationDate":"desc"}],"query":{"query_string":
{"query":"*"},"filtered":{"filter":{"type":
{"value":"order"}}}}}]]]; nested: SearchParseException[[com.reseller1][1]: from[0],size[10]: Parse Failure [No mapping found for [associatedMerchant.name.sortable] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.reseller1][4]: SearchParseException[[com.reseller1][4]: from[0],size[10]: Parse Failure [Failed to parse source [{"from":0,"size":10,"sort":[
{"associatedMerchant.name.sortable":"asc"},
{"modificationDate":"desc"}],"query":{"query_string":
{"query":"*"},"filtered":{"filter":{"type":
{"value":"order"}}}}}]]]; nested: SearchParseException[[com.reseller1][4]: from[0],size[10]: Parse Failure [No mapping found for [associatedMerchant.name.sortable] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.reseller1][2]: SearchParseException[[com.reseller1][2]: from[0],size[10]: Parse Failure [Failed to parse source [{"from":0,"size":10,"sort":[
{"associatedMerchant.name.sortable":"asc"},
{"modificationDate":"desc"}],"query":{"query_string":
{"query":"*"},"filtered":{"filter":{"type":
{"value":"order"}}}}}]]]; nested: SearchParseException[[com.reseller1][2]: from[0],size[10]: Parse Failure [No mapping found for [associatedMerchant.name.sortable] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.reseller1][0]: SearchParseException[[com.reseller1][0]: from[0],size[10]: Parse Failure [Failed to parse source [{"from":0,"size":10,"sort":[
{"associatedMerchant.name.sortable":"asc"},
{"modificationDate":"desc"}],"query":{"query_string":
{"query":"*"},"filtered":{"filter":{"type":
{"value":"order"}}}}}]]]; nested: SearchParseException[[com.reseller1][0]: from[0],size[10]: Parse Failure [No mapping found for [associatedMerchant.name.sortable] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.reseller1][3]: SearchParseException[[com.reseller1][3]: from[0],size[10]: Parse Failure [Failed to parse source [{"from":0,"size":10,"sort":[
{"associatedMerchant.name.sortable":"asc"},
{"modificationDate":"desc"}],"query":{"query_string":
{"query":"*"},"filtered":{"filter":{"type":
{"value":"order"}}}}}]]]; nested: SearchParseException[[com.reseller1][3]: from[0],size[10]: Parse Failure [No mapping found for [associatedMerchant.name.sortable] in order to sort on]]; }
at org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:162)
at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:128)
at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:167)
at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:94)
at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)
at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:94)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)
at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:211)
at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:213)
at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:154)
at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:130)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:221)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:146)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:197)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:679)
Caused by: com.thesearchagency.saas.core.services.search.SearchException: org.elasticsearch.action.search.SearchPhaseExecutionException: Failed to execute phase [dfs], total failure; shardFailures {[Svwv8CAUQzK9I3QAgVjjow][com.reseller1][1]: SearchParseException[[com.reseller1][1]: from[0],size[10]: Parse Failure [Failed to parse source [{"from":0,"size":10,"sort":[
,
{"modificationDate":"desc"}],"query":{"query_string":
{"query":"*"},"filtered":{"filter":{"type":
{"value":"order"}}}}}]]]; nested: SearchParseException[[com.reseller1][1]: from[0],size[10]: Parse Failure [No mapping found for [associatedMerchant.name.sortable] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.reseller1][4]: SearchParseException[[com.reseller1][4]: from[0],size[10]: Parse Failure [Failed to parse source [{"from":0,"size":10,"sort":[
{"associatedMerchant.name.sortable":"asc"},
{"modificationDate":"desc"}],"query":{"query_string":
{"query":"*"},"filtered":{"filter":{"type":
{"value":"order"}}}}}]]]; nested: SearchParseException[[com.reseller1][4]: from[0],size[10]: Parse Failure [No mapping found for [associatedMerchant.name.sortable] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.reseller1][2]: SearchParseException[[com.reseller1][2]: from[0],size[10]: Parse Failure [Failed to parse source [{"from":0,"size":10,"sort":[
{"associatedMerchant.name.sortable":"asc"},
{"modificationDate":"desc"}],"query":{"query_string":
{"query":"*"},"filtered":{"filter":{"type":
{"value":"order"}}}}}]]]; nested: SearchParseException[[com.reseller1][2]: from[0],size[10]: Parse Failure [No mapping found for [associatedMerchant.name.sortable] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.reseller1][0]: SearchParseException[[com.reseller1][0]: from[0],size[10]: Parse Failure [Failed to parse source [{"from":0,"size":10,"sort":[
{"associatedMerchant.name.sortable":"asc"},
{"modificationDate":"desc"}],"query":{"query_string":
{"query":"*"},"filtered":{"filter":{"type":
{"value":"order"}}}}}]]]; nested: SearchParseException[[com.reseller1][0]: from[0],size[10]: Parse Failure [No mapping found for [associatedMerchant.name.sortable] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.reseller1][3]: SearchParseException[[com.reseller1][3]: from[0],size[10]: Parse Failure [Failed to parse source [{"from":0,"size":10,"sort":[
{"associatedMerchant.name.sortable":"asc"},
{"modificationDate":"desc"}],"query":{"query_string":
{"query":"*"},"filtered":{"filter":{"type":
{"value":"order"}}}}}]]]; nested: SearchParseException[[com.reseller1][3]: from[0],size[10]: Parse Failure [No mapping found for [associatedMerchant.name.sortable] in order to sort on]]; }
at com.thesearchagency.saas.core.services.search.internal.ElasticSearchIndex.search(ElasticSearchIndex.java:155)
at com.thesearchagency.saas.core.services.search.internal.ElasticSearchIndex.search(ElasticSearchIndex.java:93)
at com.thesearchagency.saas.core.services.search.internal.SearchServiceComponent.search(SearchServiceComponent.java:44)
at com.thesearchagency.sapi.services.order.OrderService.getOrders(OrderService.java:379)
at sun.reflect.GeneratedMethodAccessor148.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180)
at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)
... 26 more
Caused by: org.elasticsearch.action.search.SearchPhaseExecutionException: Failed to execute phase [dfs], total failure; shardFailures {[Svwv8CAUQzK9I3QAgVjjow][com.reseller1][1]: SearchParseException[[com.reseller1][1]: from[0],size[10]: Parse Failure [Failed to parse source [{"from":0,"size":10,"sort":[
,
{"modificationDate":"desc"}],"query":{"query_string":
{"query":"*"},"filtered":{"filter":{"type":
{"value":"order"}}}}}]]]; nested: SearchParseException[[com.reseller1][1]: from[0],size[10]: Parse Failure [No mapping found for [associatedMerchant.name.sortable] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.reseller1][4]: SearchParseException[[com.reseller1][4]: from[0],size[10]: Parse Failure [Failed to parse source [{"from":0,"size":10,"sort":[
{"associatedMerchant.name.sortable":"asc"},
{"modificationDate":"desc"}],"query":{"query_string":
{"query":"*"},"filtered":{"filter":{"type":
{"value":"order"}}}}}]]]; nested: SearchParseException[[com.reseller1][4]: from[0],size[10]: Parse Failure [No mapping found for [associatedMerchant.name.sortable] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.reseller1][2]: SearchParseException[[com.reseller1][2]: from[0],size[10]: Parse Failure [Failed to parse source [{"from":0,"size":10,"sort":[
{"associatedMerchant.name.sortable":"asc"},
{"modificationDate":"desc"}],"query":{"query_string":
{"query":"*"},"filtered":{"filter":{"type":
{"value":"order"}}}}}]]]; nested: SearchParseException[[com.reseller1][2]: from[0],size[10]: Parse Failure [No mapping found for [associatedMerchant.name.sortable] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.reseller1][0]: SearchParseException[[com.reseller1][0]: from[0],size[10]: Parse Failure [Failed to parse source [{"from":0,"size":10,"sort":[
{"associatedMerchant.name.sortable":"asc"},
{"modificationDate":"desc"}],"query":{"query_string":
{"query":"*"},"filtered":{"filter":{"type":
{"value":"order"}}}}}]]]; nested: SearchParseException[[com.reseller1][0]: from[0],size[10]: Parse Failure [No mapping found for [associatedMerchant.name.sortable] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.reseller1][3]: SearchParseException[[com.reseller1][3]: from[0],size[10]: Parse Failure [Failed to parse source [{"from":0,"size":10,"sort":[
{"associatedMerchant.name.sortable":"asc"},
{"modificationDate":"desc"}],"query":{"query_string":
{"query":"*"},"filtered":{"filter":{"type":
{"value":"order"}}}}}]]]; nested: SearchParseException[[com.reseller1][3]: from[0],size[10]: Parse Failure [No mapping found for [associatedMerchant.name.sortable] in order to sort on]]; }
at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.onFirstPhaseResult(TransportSearchTypeAction.java:260)
at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction$3.onFailure(TransportSearchTypeAction.java:213)
at org.elasticsearch.search.action.SearchServiceTransportAction.sendExecuteDfs(SearchServiceTransportAction.java:109)
at org.elasticsearch.action.search.type.TransportSearchDfsQueryThenFetchAction$AsyncAction.sendExecuteFirstPhase(TransportSearchDfsQueryThenFetchAction.java:86)
at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.performFirstPhase(TransportSearchTypeAction.java:205)
at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.performFirstPhase(TransportSearchTypeAction.java:192)
at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction$2.run(TransportSearchTypeAction.java:178)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
... 1 more
2012-11-28 22:10:34,562-8605874 [http-8080-4] WARN org.apache.cxf.phase.PhaseInterceptorChain - Exception in handleFault on interceptor org.apache.cxf.binding.xml.interceptor.XMLFaultOutInterceptor@474c0cac
org.apache.cxf.interceptor.Fault: org.elasticsearch.action.search.SearchPhaseExecutionException: Failed to execute phase [dfs], total failure; shardFailures {[Svwv8CAUQzK9I3QAgVjjow][com.reseller1][1]: SearchParseException[[com.reseller1][1]: from[0],size[10]: Parse Failure [Failed to parse source [{"from":0,"size":10,"sort":[
,
{"modificationDate":"desc"}],"query":{"query_string":
{"query":"*"},"filtered":{"filter":{"type":
{"value":"order"}}}}}]]]; nested: SearchParseException[[com.reseller1][1]: from[0],size[10]: Parse Failure [No mapping found for [associatedMerchant.name.sortable] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.reseller1][4]: SearchParseException[[com.reseller1][4]: from[0],size[10]: Parse Failure [Failed to parse source [{"from":0,"size":10,"sort":[
{"associatedMerchant.name.sortable":"asc"},
{"modificationDate":"desc"}],"query":{"query_string":
{"query":"*"},"filtered":{"filter":{"type":
{"value":"order"}}}}}]]]; nested: SearchParseException[[com.reseller1][4]: from[0],size[10]: Parse Failure [No mapping found for [associatedMerchant.name.sortable] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.reseller1][2]: SearchParseException[[com.reseller1][2]: from[0],size[10]: Parse Failure [Failed to parse source [{"from":0,"size":10,"sort":[
{"associatedMerchant.name.sortable":"asc"},
{"modificationDate":"desc"}],"query":{"query_string":
{"query":"*"},"filtered":{"filter":{"type":
{"value":"order"}}}}}]]]; nested: SearchParseException[[com.reseller1][2]: from[0],size[10]: Parse Failure [No mapping found for [associatedMerchant.name.sortable] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.reseller1][0]: SearchParseException[[com.reseller1][0]: from[0],size[10]: Parse Failure [Failed to parse source [{"from":0,"size":10,"sort":[
{"associatedMerchant.name.sortable":"asc"},
{"modificationDate":"desc"}],"query":{"query_string":
{"query":"*"},"filtered":{"filter":{"type":
{"value":"order"}}}}}]]]; nested: SearchParseException[[com.reseller1][0]: from[0],size[10]: Parse Failure [No mapping found for [associatedMerchant.name.sortable] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.reseller1][3]: SearchParseException[[com.reseller1][3]: from[0],size[10]: Parse Failure [Failed to parse source [{"from":0,"size":10,"sort":[
{"associatedMerchant.name.sortable":"asc"},
{"modificationDate":"desc"}],"query":{"query_string":
{"query":"*"},"filtered":{"filter":{"type":
{"value":"order"}}}}}]]]; nested: SearchParseException[[com.reseller1][3]: from[0],size[10]: Parse Failure [No mapping found for [associatedMerchant.name.sortable] in order to sort on]]; }
at org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:162)
at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:128)
at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:167)
at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:94)
at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)
at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:94)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)
at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:211)
at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:213)
at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:154)
at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:130)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:221)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:146)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:197)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:679)
Caused by: com.thesearchagency.saas.core.services.search.SearchException: org.elasticsearch.action.search.SearchPhaseExecutionException: Failed to execute phase [dfs], total failure; shardFailures {[Svwv8CAUQzK9I3QAgVjjow][com.reseller1][1]: SearchParseException[[com.reseller1][1]: from[0],size[10]: Parse Failure [Failed to parse source [{"from":0,"size":10,"sort":[
,
{"modificationDate":"desc"}],"query":{"query_string":
{"query":"*"},"filtered":{"filter":{"type":
{"value":"order"}}}}}]]]; nested: SearchParseException[[com.reseller1][1]: from[0],size[10]: Parse Failure [No mapping found for [associatedMerchant.name.sortable] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.reseller1][4]: SearchParseException[[com.reseller1][4]: from[0],size[10]: Parse Failure [Failed to parse source [{"from":0,"size":10,"sort":[
{"associatedMerchant.name.sortable":"asc"},
{"modificationDate":"desc"}],"query":{"query_string":
{"query":"*"},"filtered":{"filter":{"type":
{"value":"order"}}}}}]]]; nested: SearchParseException[[com.reseller1][4]: from[0],size[10]: Parse Failure [No mapping found for [associatedMerchant.name.sortable] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.reseller1][2]: SearchParseException[[com.reseller1][2]: from[0],size[10]: Parse Failure [Failed to parse source [{"from":0,"size":10,"sort":[
{"associatedMerchant.name.sortable":"asc"},
{"modificationDate":"desc"}],"query":{"query_string":
{"query":"*"},"filtered":{"filter":{"type":
{"value":"order"}}}}}]]]; nested: SearchParseException[[com.reseller1][2]: from[0],size[10]: Parse Failure [No mapping found for [associatedMerchant.name.sortable] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.reseller1][0]: SearchParseException[[com.reseller1][0]: from[0],size[10]: Parse Failure [Failed to parse source [{"from":0,"size":10,"sort":[
{"associatedMerchant.name.sortable":"asc"},
{"modificationDate":"desc"}],"query":{"query_string":
{"query":"*"},"filtered":{"filter":{"type":
{"value":"order"}}}}}]]]; nested: SearchParseException[[com.reseller1][0]: from[0],size[10]: Parse Failure [No mapping found for [associatedMerchant.name.sortable] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.reseller1][3]: SearchParseException[[com.reseller1][3]: from[0],size[10]: Parse Failure [Failed to parse source [{"from":0,"size":10,"sort":[
{"associatedMerchant.name.sortable":"asc"},
{"modificationDate":"desc"}],"query":{"query_string":
{"query":"*"},"filtered":{"filter":{"type":
{"value":"order"}}}}}]]]; nested: SearchParseException[[com.reseller1][3]: from[0],size[10]: Parse Failure [No mapping found for [associatedMerchant.name.sortable] in order to sort on]]; }
at com.thesearchagency.saas.core.services.search.internal.ElasticSearchIndex.search(ElasticSearchIndex.java:155)
at com.thesearchagency.saas.core.services.search.internal.ElasticSearchIndex.search(ElasticSearchIndex.java:93)
at com.thesearchagency.saas.core.services.search.internal.SearchServiceComponent.search(SearchServiceComponent.java:44)
at com.thesearchagency.sapi.services.order.OrderService.getOrders(OrderService.java:379)
at sun.reflect.GeneratedMethodAccessor148.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180)
at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)
... 26 more
Caused by: org.elasticsearch.action.search.SearchPhaseExecutionException: Failed to execute phase [dfs], total failure; shardFailures {[Svwv8CAUQzK9I3QAgVjjow][com.reseller1][1]: SearchParseException[[com.reseller1][1]: from[0],size[10]: Parse Failure [Failed to parse source [{"from":0,"size":10,"sort":[
,
{"modificationDate":"desc"}],"query":{"query_string":
{"query":"*"},"filtered":{"filter":{"type":
{"value":"order"}}}}}]]]; nested: SearchParseException[[com.reseller1][1]: from[0],size[10]: Parse Failure [No mapping found for [associatedMerchant.name.sortable] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.reseller1][4]: SearchParseException[[com.reseller1][4]: from[0],size[10]: Parse Failure [Failed to parse source [{"from":0,"size":10,"sort":[
{"associatedMerchant.name.sortable":"asc"},
{"modificationDate":"desc"}],"query":{"query_string":
{"query":"*"},"filtered":{"filter":{"type":
{"value":"order"}}}}}]]]; nested: SearchParseException[[com.reseller1][4]: from[0],size[10]: Parse Failure [No mapping found for [associatedMerchant.name.sortable] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.reseller1][2]: SearchParseException[[com.reseller1][2]: from[0],size[10]: Parse Failure [Failed to parse source [{"from":0,"size":10,"sort":[
{"associatedMerchant.name.sortable":"asc"},
{"modificationDate":"desc"}],"query":{"query_string":
{"query":"*"},"filtered":{"filter":{"type":
{"value":"order"}}}}}]]]; nested: SearchParseException[[com.reseller1][2]: from[0],size[10]: Parse Failure [No mapping found for [associatedMerchant.name.sortable] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.reseller1][0]: SearchParseException[[com.reseller1][0]: from[0],size[10]: Parse Failure [Failed to parse source [{"from":0,"size":10,"sort":[
{"associatedMerchant.name.sortable":"asc"},
{"modificationDate":"desc"}],"query":{"query_string":
{"query":"*"},"filtered":{"filter":{"type":
{"value":"order"}}}}}]]]; nested: SearchParseException[[com.reseller1][0]: from[0],size[10]: Parse Failure [No mapping found for [associatedMerchant.name.sortable] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.reseller1][3]: SearchParseException[[com.reseller1][3]: from[0],size[10]: Parse Failure [Failed to parse source [{"from":0,"size":10,"sort":[
{"associatedMerchant.name.sortable":"asc"},
{"modificationDate":"desc"}],"query":{"query_string":
{"query":"*"},"filtered":{"filter":{"type":
{"value":"order"}}}}}]]]; nested: SearchParseException[[com.reseller1][3]: from[0],size[10]: Parse Failure [No mapping found for [associatedMerchant.name.sortable] in order to sort on]]; }
at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.onFirstPhaseResult(TransportSearchTypeAction.java:260)
at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction$3.onFailure(TransportSearchTypeAction.java:213)
at org.elasticsearch.search.action.SearchServiceTransportAction.sendExecuteDfs(SearchServiceTransportAction.java:109)
at org.elasticsearch.action.search.type.TransportSearchDfsQueryThenFetchAction$AsyncAction.sendExecuteFirstPhase(TransportSearchDfsQueryThenFetchAction.java:86)
at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.performFirstPhase(TransportSearchTypeAction.java:205)
at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.performFirstPhase(TransportSearchTypeAction.java:192)
at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction$2.run(TransportSearchTypeAction.java:178)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
... 1 more
2012-11-28 22:10:34,562-8605874 [http-8080-4] ERROR org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver - Error occurred during error handling, give up!
org.apache.cxf.interceptor.Fault: org.elasticsearch.action.search.SearchPhaseExecutionException: Failed to execute phase [dfs], total failure; shardFailures {[Svwv8CAUQzK9I3QAgVjjow][com.reseller1][1]: SearchParseException[[com.reseller1][1]: from[0],size[10]: Parse Failure [Failed to parse source [{"from":0,"size":10,"sort":[
,
{"modificationDate":"desc"}],"query":{"query_string":
{"query":"*"},"filtered":{"filter":{"type":
{"value":"order"}}}}}]]]; nested: SearchParseException[[com.reseller1][1]: from[0],size[10]: Parse Failure [No mapping found for [associatedMerchant.name.sortable] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.reseller1][4]: SearchParseException[[com.reseller1][4]: from[0],size[10]: Parse Failure [Failed to parse source [{"from":0,"size":10,"sort":[
{"associatedMerchant.name.sortable":"asc"},
{"modificationDate":"desc"}],"query":{"query_string":
{"query":"*"},"filtered":{"filter":{"type":
{"value":"order"}}}}}]]]; nested: SearchParseException[[com.reseller1][4]: from[0],size[10]: Parse Failure [No mapping found for [associatedMerchant.name.sortable] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.reseller1][2]: SearchParseException[[com.reseller1][2]: from[0],size[10]: Parse Failure [Failed to parse source [{"from":0,"size":10,"sort":[
{"associatedMerchant.name.sortable":"asc"},
{"modificationDate":"desc"}],"query":{"query_string":
{"query":"*"},"filtered":{"filter":{"type":
{"value":"order"}}}}}]]]; nested: SearchParseException[[com.reseller1][2]: from[0],size[10]: Parse Failure [No mapping found for [associatedMerchant.name.sortable] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.reseller1][0]: SearchParseException[[com.reseller1][0]: from[0],size[10]: Parse Failure [Failed to parse source [{"from":0,"size":10,"sort":[
{"associatedMerchant.name.sortable":"asc"},
{"modificationDate":"desc"}],"query":{"query_string":
{"query":"*"},"filtered":{"filter":{"type":
{"value":"order"}}}}}]]]; nested: SearchParseException[[com.reseller1][0]: from[0],size[10]: Parse Failure [No mapping found for [associatedMerchant.name.sortable] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.reseller1][3]: SearchParseException[[com.reseller1][3]: from[0],size[10]: Parse Failure [Failed to parse source [{"from":0,"size":10,"sort":[
{"associatedMerchant.name.sortable":"asc"},
{"modificationDate":"desc"}],"query":{"query_string":
{"query":"*"},"filtered":{"filter":{"type":
{"value":"order"}}}}}]]]; nested: SearchParseException[[com.reseller1][3]: from[0],size[10]: Parse Failure [No mapping found for [associatedMerchant.name.sortable] in order to sort on]]; }
at org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:162)
at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:128)
at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:167)
at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:94)
at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)
at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:94)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)
at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:211)
at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:213)
at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:154)
at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:130)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:221)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:146)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:197)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:679)
Caused by: com.thesearchagency.saas.core.services.search.SearchException: org.elasticsearch.action.search.SearchPhaseExecutionException: Failed to execute phase [dfs], total failure; shardFailures {[Svwv8CAUQzK9I3QAgVjjow][com.reseller1][1]: SearchParseException[[com.reseller1][1]: from[0],size[10]: Parse Failure [Failed to parse source [{"from":0,"size":10,"sort":[
,
{"modificationDate":"desc"}],"query":{"query_string":
{"query":"*"},"filtered":{"filter":{"type":
{"value":"order"}}}}}]]]; nested: SearchParseException[[com.reseller1][1]: from[0],size[10]: Parse Failure [No mapping found for [associatedMerchant.name.sortable] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.reseller1][4]: SearchParseException[[com.reseller1][4]: from[0],size[10]: Parse Failure [Failed to parse source [{"from":0,"size":10,"sort":[
{"associatedMerchant.name.sortable":"asc"},
{"modificationDate":"desc"}],"query":{"query_string":
{"query":"*"},"filtered":{"filter":{"type":
{"value":"order"}}}}}]]]; nested: SearchParseException[[com.reseller1][4]: from[0],size[10]: Parse Failure [No mapping found for [associatedMerchant.name.sortable] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.reseller1][2]: SearchParseException[[com.reseller1][2]: from[0],size[10]: Parse Failure [Failed to parse source [{"from":0,"size":10,"sort":[
{"associatedMerchant.name.sortable":"asc"},
{"modificationDate":"desc"}],"query":{"query_string":
{"query":"*"},"filtered":{"filter":{"type":
{"value":"order"}}}}}]]]; nested: SearchParseException[[com.reseller1][2]: from[0],size[10]: Parse Failure [No mapping found for [associatedMerchant.name.sortable] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.reseller1][0]: SearchParseException[[com.reseller1][0]: from[0],size[10]: Parse Failure [Failed to parse source [{"from":0,"size":10,"sort":[
{"associatedMerchant.name.sortable":"asc"},
{"modificationDate":"desc"}],"query":{"query_string":
{"query":"*"},"filtered":{"filter":{"type":
{"value":"order"}}}}}]]]; nested: SearchParseException[[com.reseller1][0]: from[0],size[10]: Parse Failure [No mapping found for [associatedMerchant.name.sortable] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.reseller1][3]: SearchParseException[[com.reseller1][3]: from[0],size[10]: Parse Failure [Failed to parse source [{"from":0,"size":10,"sort":[
{"associatedMerchant.name.sortable":"asc"},
{"modificationDate":"desc"}],"query":{"query_string":
{"query":"*"},"filtered":{"filter":{"type":
{"value":"order"}}}}}]]]; nested: SearchParseException[[com.reseller1][3]: from[0],size[10]: Parse Failure [No mapping found for [associatedMerchant.name.sortable] in order to sort on]]; }
at com.thesearchagency.saas.core.services.search.internal.ElasticSearchIndex.search(ElasticSearchIndex.java:155)
at com.thesearchagency.saas.core.services.search.internal.ElasticSearchIndex.search(ElasticSearchIndex.java:93)
at com.thesearchagency.saas.core.services.search.internal.SearchServiceComponent.search(SearchServiceComponent.java:44)
at com.thesearchagency.sapi.services.order.OrderService.getOrders(OrderService.java:379)
at sun.reflect.GeneratedMethodAccessor148.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180)
at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)
... 26 more
Caused by: org.elasticsearch.action.search.SearchPhaseExecutionException: Failed to execute phase [dfs], total failure; shardFailures {[Svwv8CAUQzK9I3QAgVjjow][com.reseller1][1]: SearchParseException[[com.reseller1][1]: from[0],size[10]: Parse Failure [Failed to parse source [{"from":0,"size":10,"sort":[
,
{"modificationDate":"desc"}],"query":{"query_string":
{"query":"*"},"filtered":{"filter":{"type":
{"value":"order"}}}}}]]]; nested: SearchParseException[[com.reseller1][1]: from[0],size[10]: Parse Failure [No mapping found for [associatedMerchant.name.sortable] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.reseller1][4]: SearchParseException[[com.reseller1][4]: from[0],size[10]: Parse Failure [Failed to parse source [{"from":0,"size":10,"sort":[
{"associatedMerchant.name.sortable":"asc"},
{"modificationDate":"desc"}],"query":{"query_string":
{"query":"*"},"filtered":{"filter":{"type":
{"value":"order"}}}}}]]]; nested: SearchParseException[[com.reseller1][4]: from[0],size[10]: Parse Failure [No mapping found for [associatedMerchant.name.sortable] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.reseller1][2]: SearchParseException[[com.reseller1][2]: from[0],size[10]: Parse Failure [Failed to parse source [{"from":0,"size":10,"sort":[
{"associatedMerchant.name.sortable":"asc"},
{"modificationDate":"desc"}],"query":{"query_string":
{"query":"*"},"filtered":{"filter":{"type":
{"value":"order"}}}}}]]]; nested: SearchParseException[[com.reseller1][2]: from[0],size[10]: Parse Failure [No mapping found for [associatedMerchant.name.sortable] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.reseller1][0]: SearchParseException[[com.reseller1][0]: from[0],size[10]: Parse Failure [Failed to parse source [{"from":0,"size":10,"sort":[
{"associatedMerchant.name.sortable":"asc"},
{"modificationDate":"desc"}],"query":{"query_string":
{"query":"*"},"filtered":{"filter":{"type":
{"value":"order"}}}}}]]]; nested: SearchParseException[[com.reseller1][0]: from[0],size[10]: Parse Failure [No mapping found for [associatedMerchant.name.sortable] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.reseller1][3]: SearchParseException[[com.reseller1][3]: from[0],size[10]: Parse Failure [Failed to parse source [{"from":0,"size":10,"sort":[
{"associatedMerchant.name.sortable":"asc"},
{"modificationDate":"desc"}],"query":{"query_string":
{"query":"*"},"filtered":{"filter":{"type":
{"value":"order"}}}}}]]]; nested: SearchParseException[[com.reseller1][3]: from[0],size[10]: Parse Failure [No mapping found for [associatedMerchant.name.sortable] in order to sort on]]; }
at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.onFirstPhaseResult(TransportSearchTypeAction.java:260)
at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction$3.onFailure(TransportSearchTypeAction.java:213)
at org.elasticsearch.search.action.SearchServiceTransportAction.sendExecuteDfs(SearchServiceTransportAction.java:109)
at org.elasticsearch.action.search.type.TransportSearchDfsQueryThenFetchAction$AsyncAction.sendExecuteFirstPhase(TransportSearchDfsQueryThenFetchAction.java:86)
at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.performFirstPhase(TransportSearchTypeAction.java:205)
at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.performFirstPhase(TransportSearchTypeAction.java:192)
at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction$2.run(TransportSearchTypeAction.java:178)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
... 1 more