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

GitHub | joseorsini | 3 months ago
  1. 0

    GitHub comment 225#164221685

    GitHub | 12 months ago | JordanMartinez
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  2. 0

    GitHub comment 622#164778918

    GitHub | 12 months ago | ebuildy
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 231#166069082

    GitHub | 12 months ago | JordanMartinez
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  5. 0

    Installation of JAXP failing on terminal without GUI

    Stack Overflow | 11 months ago | dzieciou
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
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:1967)[?:1.8.0_60]
    1 frame
  3. com.dotmarketing.cache
    LiveCache.getPathFromCache
    1. com.dotmarketing.cache.LiveCache.addToLiveAssetToCache(LiveCache.java:103)[dotcms_3.5.1_3.5-8-g8506266.jar:?]
    2. com.dotmarketing.cache.LiveCache.getPathFromCache(LiveCache.java:301)[dotcms_3.5.1_3.5-8-g8506266.jar:?]
    3. com.dotmarketing.cache.LiveCache.getPathFromCache(LiveCache.java:179)[dotcms_3.5.1_3.5-8-g8506266.jar:?]
    3 frames
  4. com.dotmarketing.velocity
    VelocityServlet.service
    1. com.dotmarketing.velocity.VelocityServlet.doLiveMode(VelocityServlet.java:402)[dotcms_3.5.1_3.5-8-g8506266.jar:?]
    2. com.dotmarketing.velocity.VelocityServlet.service(VelocityServlet.java:242)[dotcms_3.5.1_3.5-8-g8506266.jar:?]
    2 frames
  5. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:725)[servlet-api.jar:?]
    1 frame
  6. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)[catalina.jar:8.0.18]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.18]
    2 frames
  7. Tomcat WS
    WsFilter.doFilter
    1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)[tomcat-websocket.jar:8.0.18]
    1 frame
  8. Glassfish Core
    ApplicationDispatcher.forward
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[catalina.jar:8.0.18]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.18]
    3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721)[catalina.jar:8.0.18]
    4. org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466)[catalina.jar:8.0.18]
    5. org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391)[catalina.jar:8.0.18]
    6. org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318)[catalina.jar:8.0.18]
    6 frames
  9. com.dotmarketing.filters
    CMSFilter.doFilter
    1. com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:231)[dotcms_3.5.1_3.5-8-g8506266.jar:?]
    1 frame
  10. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[catalina.jar:8.0.18]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.18]
    2 frames
  11. com.dotmarketing.filters
    AutoLoginFilter.doFilter
    1. com.dotmarketing.filters.AutoLoginFilter.doFilter(AutoLoginFilter.java:61)[dotcms_3.5.1_3.5-8-g8506266.jar:?]
    1 frame
  12. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[catalina.jar:8.0.18]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.18]
    2 frames
  13. com.dotmarketing.cms
    URLMapFilter.doFilter
    1. com.dotmarketing.cms.urlmap.filters.URLMapFilter.doFilter(URLMapFilter.java:307)[dotcms_3.5.1_3.5-8-g8506266.jar:?]
    1 frame
  14. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[catalina.jar:8.0.18]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.18]
    2 frames
  15. com.dotmarketing.filters
    TimeMachineFilter.doFilter
    1. com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:49)[dotcms_3.5.1_3.5-8-g8506266.jar:?]
    1 frame
  16. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[catalina.jar:8.0.18]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.18]
    2 frames
  17. com.dotmarketing.filters
    ThreadNameFilter.doFilter
    1. com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:90)[dotcms_3.5.1_3.5-8-g8506266.jar:?]
    1 frame
  18. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[catalina.jar:8.0.18]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.18]
    2 frames
  19. com.dotmarketing.filters
    CookiesFilter.doFilter
    1. com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:33)[dotcms_3.5.1_3.5-8-g8506266.jar:?]
    1 frame
  20. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[catalina.jar:8.0.18]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.18]
    2 frames
  21. com.dotmarketing.filters
    CharsetEncodingFilter.doFilter
    1. com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:146)[dotcms_3.5.1_3.5-8-g8506266.jar:?]
    1 frame
  22. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[catalina.jar:8.0.18]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.18]
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)[catalina.jar:8.0.18]
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)[catalina.jar:8.0.18]
    5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)[catalina.jar:8.0.18]
    6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)[catalina.jar:8.0.18]
    7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)[catalina.jar:8.0.18]
    8. org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)[catalina.jar:8.0.18]
    9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)[catalina.jar:8.0.18]
    10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:516)[catalina.jar:8.0.18]
    10 frames
  23. Grizzly HTTP
    NioEndpoint$SocketProcessor.run
    1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1086)[tomcat-coyote.jar:8.0.18]
    2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:659)[tomcat-coyote.jar:8.0.18]
    3. org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223)[tomcat-coyote.jar:8.0.18]
    4. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1558)[tomcat-coyote.jar:8.0.18]
    5. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1515)[tomcat-coyote.jar:8.0.18]
    5 frames
  24. Java RT
    ThreadPoolExecutor$Worker.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[?:1.8.0_60]
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[?:1.8.0_60]
    2 frames
  25. Tomcat Util
    TaskThread$WrappingRunnable.run
    1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)[tomcat-util.jar:8.0.18]
    1 frame
  26. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)[?:1.8.0_60]
    1 frame