Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: sprint 14: 12-05-2012, Aquidneck
-
Fix Version/s: 2.0.0, sprint 14: 12-05-2012, Aquidneck
-
Component/s: None
-
Labels:None
-
Environment:
http://optus.aq-qa-tomcat1:8080/reseller/#ORDERS_PAGE
UI build - 280
SAPI- 274
-
Sprint:Sprint 14
Description
Navigate to the orders page with no orders, and firebug on.
Here is one of the errors seen in firebug:
<html><head><title>Apache Tomcat/6.0.24 - Error report</title><style><!--H1
H2
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}H3
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}BODY
{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}B
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}P
{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
{color : black;}A.name
{color : black;}HR
{color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Exception report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The server encountered an internal error () that prevented it from fulfilling this request.</u></p><p><b>exception</b> <pre>java.lang.RuntimeException: org.apache.cxf.interceptor.Fault: org.elasticsearch.action.search.SearchPhaseExecutionException: Failed to execute phase [dfs], total failure; shardFailures {[Svwv8CAUQzK9I3QAgVjjow][com.optus][0]: SearchParseException[[com.optus][0]: 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.optus][0]: from[0],size[10]: Parse Failure [No mapping found for [modificationDate] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.optus][4]: SearchParseException[[com.optus][4]: 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.optus][4]: from[0],size[10]: Parse Failure [No mapping found for [modificationDate] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.optus][3]: SearchParseException[[com.optus][3]: 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.optus][3]: from[0],size[10]: Parse Failure [No mapping found for [modificationDate] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.optus][1]: SearchParseException[[com.optus][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.optus][1]: from[0],size[10]: Parse Failure [No mapping found for [modificationDate] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.optus][2]: SearchParseException[[com.optus][2]: 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.optus][2]: from[0],size[10]: Parse Failure [No mapping found for [modificationDate] in order to sort on]]; }
org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:115)
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:322)
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:211)
org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:213)
org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:154)
org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:130)
org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:221)
org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:146)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:197)
</pre></p><p><b>root cause</b> <pre>org.apache.cxf.interceptor.Fault: org.elasticsearch.action.search.SearchPhaseExecutionException: Failed to execute phase [dfs], total failure; shardFailures {[Svwv8CAUQzK9I3QAgVjjow][com.optus][0]: SearchParseException[[com.optus][0]: from[0],size[10]: Parse Failure [Failed to parse source [{"from":0,"size":10,"sort":[
],"query":{"query_string":
{"query":"*"},"filtered":{"filter":{"type":
{"value":"order"}}}}}]]]; nested: SearchParseException[[com.optus][0]: from[0],size[10]: Parse Failure [No mapping found for [modificationDate] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.optus][4]: SearchParseException[[com.optus][4]: 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.optus][4]: from[0],size[10]: Parse Failure [No mapping found for [modificationDate] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.optus][3]: SearchParseException[[com.optus][3]: 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.optus][3]: from[0],size[10]: Parse Failure [No mapping found for [modificationDate] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.optus][1]: SearchParseException[[com.optus][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.optus][1]: from[0],size[10]: Parse Failure [No mapping found for [modificationDate] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.optus][2]: SearchParseException[[com.optus][2]: 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.optus][2]: from[0],size[10]: Parse Failure [No mapping found for [modificationDate] in order to sort on]]; }
org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:162)
org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:128)
org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:167)
org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:94)
org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)
org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:94)
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:211)
org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:213)
org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:154)
org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:130)
org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:221)
org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:146)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:197)
</pre></p><p><b>root cause</b> <pre>com.thesearchagency.saas.core.services.search.SearchException: org.elasticsearch.action.search.SearchPhaseExecutionException: Failed to execute phase [dfs], total failure; shardFailures {[Svwv8CAUQzK9I3QAgVjjow][com.optus][0]: SearchParseException[[com.optus][0]: from[0],size[10]: Parse Failure [Failed to parse source [{"from":0,"size":10,"sort":[
],"query":{"query_string":
{"query":"*"},"filtered":{"filter":{"type":
{"value":"order"}}}}}]]]; nested: SearchParseException[[com.optus][0]: from[0],size[10]: Parse Failure [No mapping found for [modificationDate] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.optus][4]: SearchParseException[[com.optus][4]: 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.optus][4]: from[0],size[10]: Parse Failure [No mapping found for [modificationDate] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.optus][3]: SearchParseException[[com.optus][3]: 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.optus][3]: from[0],size[10]: Parse Failure [No mapping found for [modificationDate] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.optus][1]: SearchParseException[[com.optus][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.optus][1]: from[0],size[10]: Parse Failure [No mapping found for [modificationDate] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.optus][2]: SearchParseException[[com.optus][2]: 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.optus][2]: from[0],size[10]: Parse Failure [No mapping found for [modificationDate] in order to sort on]]; }
com.thesearchagency.saas.core.services.search.internal.ElasticSearchIndex.search(ElasticSearchIndex.java:164)
com.thesearchagency.saas.core.services.search.internal.ElasticSearchIndex.search(ElasticSearchIndex.java:92)
com.thesearchagency.saas.core.services.search.internal.SearchServiceComponent.search(SearchServiceComponent.java:42)
com.thesearchagency.sapi.services.order.OrderService.getOrders(OrderService.java:394)
sun.reflect.GeneratedMethodAccessor194.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:616)
org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180)
org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)
org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:167)
org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:94)
org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)
org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:94)
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:211)
org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:213)
org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:154)
org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:130)
org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:221)
org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:146)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:197)
</pre></p><p><b>root cause</b> <pre>org.elasticsearch.action.search.SearchPhaseExecutionException: Failed to execute phase [dfs], total failure; shardFailures {[Svwv8CAUQzK9I3QAgVjjow][com.optus][0]: SearchParseException[[com.optus][0]: from[0],size[10]: Parse Failure [Failed to parse source [{"from":0,"size":10,"sort":[
],"query":{"query_string":
{"query":"*"},"filtered":{"filter":{"type":
{"value":"order"}}}}}]]]; nested: SearchParseException[[com.optus][0]: from[0],size[10]: Parse Failure [No mapping found for [modificationDate] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.optus][4]: SearchParseException[[com.optus][4]: 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.optus][4]: from[0],size[10]: Parse Failure [No mapping found for [modificationDate] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.optus][3]: SearchParseException[[com.optus][3]: 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.optus][3]: from[0],size[10]: Parse Failure [No mapping found for [modificationDate] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.optus][1]: SearchParseException[[com.optus][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.optus][1]: from[0],size[10]: Parse Failure [No mapping found for [modificationDate] in order to sort on]]; }{[Svwv8CAUQzK9I3QAgVjjow][com.optus][2]: SearchParseException[[com.optus][2]: 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.optus][2]: from[0],size[10]: Parse Failure [No mapping found for [modificationDate] in order to sort on]]; }
org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.onFirstPhaseResult(TransportSearchTypeAction.java:260)
org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction$3.onFailure(TransportSearchTypeAction.java:213)
org.elasticsearch.search.action.SearchServiceTransportAction.sendExecuteDfs(SearchServiceTransportAction.java:109)
org.elasticsearch.action.search.type.TransportSearchDfsQueryThenFetchAction$AsyncAction.sendExecuteFirstPhase(TransportSearchDfsQueryThenFetchAction.java:86)
org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.performFirstPhase(TransportSearchTypeAction.java:205)
org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.performFirstPhase(TransportSearchTypeAction.java:192)
org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction$2.run(TransportSearchTypeAction.java:178)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
java.lang.Thread.run(Thread.java:679)
</pre></p><p><b>note</b> <u>The full stack trace of the root cause is available in the Apache Tomcat/6.0.24 logs.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/6.0.24</h3></body></html>