Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback, please email oracle-forums_moderators_us@oracle.com

Exception occured in the code

2770647Oct 9 2014 — edited Dec 3 2014

Hi Team,

We are getting the below exception:

2014-10-04 13:05:17,726 [AJPRequestHandler-HTTPThreadGroup-1362] ERROR de.mgi.cms.common.resolver.ExceptionResolver - Exception on page access [requested URI: /public/home/special-pages/systeemfout exception message: String index out of range: 1]

  1. java.lang.StringIndexOutOfBoundsException: String index out of range: 1

at java.lang.String.charAt(String.java:686)

at com.evermind.server.http.EvermindHttpServletRequest.getLocaleID(EvermindHttpServletRequest.java:3445)

at com.evermind.server.http.EvermindHttpServletRequest.getLocaleList(EvermindHttpServletRequest.java:3522)

at com.evermind.server.http.EvermindHttpServletRequest.getLocale(EvermindHttpServletRequest.java:3470)

at javax.servlet.ServletRequestWrapper.getLocale(ServletRequestWrapper.java:352)

at javax.servlet.ServletRequestWrapper.getLocale(ServletRequestWrapper.java:352)

at javax.servlet.ServletRequestWrapper.getLocale(ServletRequestWrapper.java:352)

at javax.servlet.ServletRequestWrapper.getLocale(ServletRequestWrapper.java:352)

at pirobase.cms.smartview.interceptor.LocaleInterceptor.handleHttpRequestLocale(LocaleInterceptor.java:155)

at pirobase.cms.smartview.interceptor.LocaleInterceptor.preHandle(LocaleInterceptor.java:84)

at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:781)

at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)

at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669)

at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:574)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

at pirobase.cms.view.impl.ViewServiceImpl.service(ViewServiceImpl.java:679)

at pirobase.cms.view.impl.ViewServiceImpl.service(ViewServiceImpl.java:1974)

at pirobase.cms.smartview.ShortUrlFilter.doFilter(ShortUrlFilter.java:89)

at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)

at de.mgi.cms.common.module.MetroUrlFilter.doFilter(MetroUrlFilter.java:141)

We checked for EvermindHttpServletRequest API and found that it is a part of OC4J server. Could you please let us know in which case does this error occurs.


Regards

Bipul

This post has been answered by top.gun on Nov 3 2014
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 1 2014
Added on Oct 9 2014
2 comments
809 views