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 Stack Overflow by Dave
, 1 year ago
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
via openxava by e-sarge
, 1 year ago
(); 157: MetaProperty p = (MetaProperty) request.getAttribute(propertyKey); 158: String title = (p == null)?"":p.getDescription(request); 159: String fvalue = (String) request.getAttribute(propertyKey + ".fvalue"); Stacktrace:
via liferay.com by Unknown author, 2 years ago
An exception occurred processing JSP page /html/portal/layout/view/portlet.jsp at line 67 64:     </c:if> 65: 66: <% 67:     RuntimePortletUtil.processTemplate(application, request, response, pageContext, out, velocityTemplateId, velocityTemplateContent); 68: } 69: %> 70: Stacktrace:
via GitHub by mtoonen
, 2 years ago
javax.servlet.ServletException: javax.servlet.jsp.JspException: org.xml.sax.SAXParseException: Premature end of file.
via Oracle Community by 807578, 1 year ago
javax.faces.el.EvaluationException: Error getting property 'statusAlert' from bean of type com.sun.vda.admin.advanced.AdvancedDomainHandler: java.lang.NullPointerException
via Stack Overflow by Kunal
, 2 years ago
Exception in JSP: abc/x.jsp:66 63: 64: } 65: String failCount = (String)request.getSession().getAttribute("failCount"); 66: int failCountint = Integer.parseInt(failCount); 67: //System.out.println(failCountint); 68: 69: Stacktrace:
java.lang.StringIndexOutOfBoundsException: String index out of range: 0	at java.lang.String.charAt(String.java:658)	at org.apache.jasper.compiler.JspUtil.makeJavaIdentifier(JspUtil.java:830)	at org.apache.jasper.compiler.JspUtil.makeJavaIdentifier(JspUtil.java:803)	at org.apache.jasper.JspCompilationContext.getServletClassName(JspCompilationContext.java:399)	at org.apache.jasper.JspCompilationContext.getClassFileName(JspCompilationContext.java:580)	at org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:438)	at org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:406)	at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:645)	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:358)	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:402)	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:346)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)	at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:86)	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:130)	at org.owasp.csrfguard.CsrfGuardFilter.doFilter(CsrfGuardFilter.java:63)	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)	at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)	at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)	at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)	at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)	at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)	at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:154)	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)	at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)	at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199)	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)	at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:110)	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)	at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:50)	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106)	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)	at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)	at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)	at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)	at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343)	at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260)	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)	at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106)	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)	at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85)	at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)	at io.undertow.jsp.JspFileHandler.handleRequest(JspFileHandler.java:32)	at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)	at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)	at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)	at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)	at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)	at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)	at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)	at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:72)	at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)	at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)	at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)	at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:284)	at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:263)	at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)	at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:174)	at io.undertow.server.Connectors.executeRootHandler(Connectors.java:198)	at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:784)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)	at java.lang.Thread.run(Thread.java:745)