0844 209 1966

HTTP Status 500 -


type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.StringIndexOutOfBoundsException: String index out of range: -1
 org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:948)
 org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:827)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
 org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
 org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:233)
 org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
 com.sitecement.app.util.filter.SCHeaderCheckFilter.doFilter(SCHeaderCheckFilter.java:81)

root cause

java.lang.StringIndexOutOfBoundsException: String index out of range: -1
 java.lang.String.substring(String.java:1949)
 com.sitecement.app.store.service.product.ProductServiceImpl.getProductResultList(ProductServiceImpl.java:183)
 sun.reflect.GeneratedMethodAccessor251.invoke(Unknown Source)
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 java.lang.reflect.Method.invoke(Method.java:616)
 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
 org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
 $Proxy100.getProductResultList(Unknown Source)
 com.sitecement.app.store.web.browse.BrowseController.getStaticContent(BrowseController.java:135)
 com.sitecement.app.store.web.browse.BrowseController.browseProducts(BrowseController.java:70)
 sun.reflect.GeneratedMethodAccessor258.invoke(Unknown Source)
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 java.lang.reflect.Method.invoke(Method.java:616)
 org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:219)
 org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132)
 org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)
 org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:745)
 org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:686)
 org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)
 org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)
 org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
 org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936)
 org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:827)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
 org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
 org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:233)
 org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
 com.sitecement.app.util.filter.SCHeaderCheckFilter.doFilter(SCHeaderCheckFilter.java:81)

note The full stack trace of the root cause is available in the Apache Tomcat/7.0.26 logs.


Apache Tomcat/7.0.26

show prices Inc. VAT