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

  1. 0

    Out of bounds error in GeoServer - Geographic Information Systems Stack Exchange

    stackexchange.com | 5 months ago
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  2. 0

    Out of bounds error in GeoServer

    Geographic Information Systems | 4 years ago | Mimo
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  3. 0

    代码生成时报错

    GitHub | 10 months ago | javyuan
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    StringIndexOutOfBoundsException in Builder.getClasspathEntrySuffix

    GitHub | 4 years ago | njbartlett
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1

  1. archenroot 17 times, last 1 week ago
  2. Alexandru Popa 2 times, last 3 weeks ago
  3. poroszd 3 times, last 4 weeks ago
  4. DoktorDoener666 6 times, last 4 weeks ago
  5. eti22 3 times, last 1 month ago
16 more registered users
58 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.StringIndexOutOfBoundsException

    String index out of range: -1

    at java.lang.String.substring()
  2. Java RT
    String.substring
    1. java.lang.String.substring(String.java:1937)
    2. java.lang.String.substring(String.java:1904)
    2 frames
  3. FreeMarker
    Template.process
    1. freemarker.core.StringBuiltins$substringBI$1.exec(StringBuiltins.java:211)
    2. freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
    3. freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
    4. freemarker.core.Expression.getStringValue(Expression.java:93)
    5. freemarker.core.DollarVariable.accept(DollarVariable.java:76)
    6. freemarker.core.Environment.visit(Environment.java:208)
    7. freemarker.core.MixedContent.accept(MixedContent.java:92)
    8. freemarker.core.Environment.visit(Environment.java:208)
    9. freemarker.core.Environment.process(Environment.java:188)
    10. freemarker.template.Template.process(Template.java:237)
    10 frames
  4. org.geoserver.wms
    GetFeatureInfoResponse.write
    1. org.geoserver.wms.featureinfo.HTMLFeatureInfoOutputFormat.write(HTMLFeatureInfoOutputFormat.java:118)
    2. org.geoserver.wms.featureinfo.GetFeatureInfoResponse.write(GetFeatureInfoResponse.java:108)
    2 frames
  5. Open Web Service Module
    Dispatcher.handleRequestInternal
    1. org.geoserver.ows.Dispatcher.response(Dispatcher.java:751)
    2. org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:233)
    2 frames
  6. Spring MVC
    FrameworkServlet.doGet
    1. org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
    2. org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
    3. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
    4. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
    5. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
    6. org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
    6 frames
  7. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    2 frames
  8. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    2 frames
  9. org.geoserver.filters
    ThreadLocalsCleanupFilter.doFilter
    1. org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:23)
    1 frame
  10. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    2 frames
  11. org.geoserver.filters
    SpringDelegatingFilter$Chain.doFilter
    1. org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:68)
    1 frame
  12. org.springframework.security
    SpringSecurityFilter.doFilter
    1. org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)
    2. org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
    2 frames
  13. org.geoserver.filters
    SpringDelegatingFilter$Chain.doFilter
    1. org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:64)
    1 frame
  14. org.springframework.security
    SpringSecurityFilter.doFilter
    1. org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)
    2. org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
    2 frames
  15. org.geoserver.filters
    SpringDelegatingFilter$Chain.doFilter
    1. org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:64)
    1 frame
  16. org.springframework.security
    BasicProcessingFilter.doFilterHttp
    1. org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174)
    1 frame