Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert tip

    Thrown by String methods to indicate that an index is either negative or greater than the size of the string. For some methods such as the charAt method, this exception also is thrown when the index is equal to the size of the string.

  2. ,
    via oracle.com by Unknown author

    Thrown by String methods to indicate that an index is either negative or greater than the size of the string. For some methods such as the charAt method, this exception also is thrown when the index is equal to the size of the string.

Solutions on the web

via ac.be by Unknown author, 1 year ago
String index out of range: 0
via Sakai JIRA by Ivan Masár, 2 years ago
via Google Groups by Anis Moubarik, 8 months ago
String index out of range: 3
via GitHub by cppexpert
, 2 years ago
String index out of range: 80
via GitHub by joeseibel
, 7 months ago
java.lang.StringIndexOutOfBoundsException: String index out of range: 0	at java.lang.String.charAt(String.java:658)	at org.apache.jsp.plugins.PluginReflexions.types.Repertoire.doRepertoireFullDisplayInternal_jsp._jspService(doRepertoireFullDisplayInternal_jsp.java:1012)	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605)	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544)	at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:954)	at org.apache.jsp.plugins.PluginReflexions.types.PortletSelection.doPortletSelectionFullDisplay_jsp._jspService(doPortletSelectionFullDisplay_jsp.java:1943)	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605)	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544)	at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:954)	at org.apache.jsp.types.AbstractPortletSkinable.doAbstractPortletSkinableFullDisplay_jsp._jspService(doAbstractPortletSkinableFullDisplay_jsp.java:942)	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605)	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544)	at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:954)	at org.apache.jsp.jcore.portal.doDynIncludePortlet_jsp._jspService(doDynIncludePortlet_jsp.java:1272)	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605)	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544)	at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:954)	at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:652)	at com.jalios.jcms.taglib.IncludeTag.doStartTag(IncludeTag.java:211)	at org.apache.jsp.plugins.PluginReflexions.jsp.internal_jsp._jspService(internal_jsp.java:1061)	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605)	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544)	at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:954)	at org.apache.jsp.types.PortletJspCollection.doPortletJspCollectionFullDisplay_jsp._jspService(doPortletJspCollectionFullDisplay_jsp.java:921)	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605)	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544)	at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:954)	at org.apache.jsp.types.AbstractPortletSkinable.doAbstractPortletSkinableFullDisplay_jsp._jspService(doAbstractPortletSkinableFullDisplay_jsp.java:942)	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605)	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544)	at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:954)	at org.apache.jsp.types.PortletPortal.doPortletPortalFullDisplay_jsp._jspService(doPortletPortalFullDisplay_jsp.java:1267)	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605)	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544)	at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:954)	at org.apache.jsp.types.AbstractPortletSkinable.doAbstractPortletSkinableFullDisplay_jsp._jspService(doAbstractPortletSkinableFullDisplay_jsp.java:942)	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605)	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544)	at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:954)	at org.apache.jsp.display_jsp._jspService(display_jsp.java:1373)	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at com.jalios.jcms.servlet.InitFilter.doFilter(InitFilter.java:86)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at com.jalios.jcms.servlet.FinallyFilter.doFilter(FinallyFilter.java:22)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)	at com.jalios.jcms.servlet.DisplayServlet.doGet(DisplayServlet.java:95)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at com.jalios.jcms.servlet.FriendlyURLFilter.doFilter(FriendlyURLFilter.java:119)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at com.jalios.jcms.servlet.GZIPFilter.doFilter(GZIPFilter.java:56)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at com.jalios.jcms.servlet.InitFilter.doFilter(InitFilter.java:213)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at com.jalios.jcms.db.HibernateSessionFilter.doFilter(HibernateSessionFilter.java:34)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at com.jalios.jcms.upload.MultipartFilter.doFilter(MultipartFilter.java:181)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at com.jalios.jcms.servlet.FinallyFilter.doFilter(FinallyFilter.java:27)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:409)	at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:200)	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)	at java.lang.Thread.run(Thread.java:744)