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

JIRA | (sourceforge) | 10 years ago
  1. 0

    I just did a 'cvs update' and now get the following exception when I create a new profile and click to edit the modules it uses: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1444) at org.archive.crawler.jspc.admin.jobs.modules_jsp.buildModuleMap(U nknown Source) at org.archive.crawler.jspc.admin.jobs.modules_jsp._jspService(Unkn own Source) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java: 137) at javax.servlet.http.HttpServlet.service(HttpServlet.java: 853) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: 358) at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(We bApplicationHandler.java:342) at org.archive.crawler.admin.ui.RootFilter.doFilter(RootFilter.java:67) at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(We bApplicationHandler.java:334) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebAppli cationHandler.java:286) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.jav a:567) at org.mortbay.http.HttpContext.handle(HttpContext.java: 1807) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplic ationContext.java:525) at org.mortbay.http.HttpContext.handle(HttpContext.java: 1757) at org.mortbay.http.HttpServer.service(HttpServer.java:879) at org.mortbay.http.HttpConnection.service(HttpConnection.java:789) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java: 960) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:806) at org.mortbay.http.SocketListener.handleConnection(SocketListener.ja va:218) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:300) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:511) I've tried it several different ways, and get the same bug regardless. Thanks, Xavid Pretzer

    JIRA | 10 years ago | (sourceforge)
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  2. 0

    I just did a 'cvs update' and now get the following exception when I create a new profile and click to edit the modules it uses: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1444) at org.archive.crawler.jspc.admin.jobs.modules_jsp.buildModuleMap(U nknown Source) at org.archive.crawler.jspc.admin.jobs.modules_jsp._jspService(Unkn own Source) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java: 137) at javax.servlet.http.HttpServlet.service(HttpServlet.java: 853) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: 358) at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(We bApplicationHandler.java:342) at org.archive.crawler.admin.ui.RootFilter.doFilter(RootFilter.java:67) at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(We bApplicationHandler.java:334) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebAppli cationHandler.java:286) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.jav a:567) at org.mortbay.http.HttpContext.handle(HttpContext.java: 1807) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplic ationContext.java:525) at org.mortbay.http.HttpContext.handle(HttpContext.java: 1757) at org.mortbay.http.HttpServer.service(HttpServer.java:879) at org.mortbay.http.HttpConnection.service(HttpConnection.java:789) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java: 960) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:806) at org.mortbay.http.SocketListener.handleConnection(SocketListener.ja va:218) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:300) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:511) I've tried it several different ways, and get the same bug regardless. Thanks, Xavid Pretzer

    JIRA | 10 years ago | (sourceforge)
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  3. 0

    Receiving stack trace on startup

    Google Groups | 3 years ago | Scott
    java.lang.ExceptionInInitializerError
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to acccess more than 1,900 repos?

    Google Groups | 4 years ago | Anthony Wong
    net.sf.ehcache.CacheException: Could not fetch object for cache entry with key "com.google.gerrit.server.project.ProjectCacheImpl$ListKey@562791".

  1. richard77 2 times, last 5 days ago
  2. kjhdofjosvs 2 times, last 1 week ago
  3. archenroot 17 times, last 2 weeks ago
  4. Alexandru Popa 2 times, last 4 weeks ago
  5. poroszd 3 times, last 1 month ago
18 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:1444)
    1 frame
  3. org.archive.crawler
    modules_jsp._jspService
    1. org.archive.crawler.jspc.admin.jobs.modules_jsp.buildModuleMap(Unknown Source)
    2. org.archive.crawler.jspc.admin.jobs.modules_jsp._jspService(Unknown Source)
    2 frames
  4. GWT dev
    HttpJspBase.service
    1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
    1 frame
  5. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    1 frame
  6. Jetty Server
    WebApplicationHandler$Chain.doFilter
    1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
    2. org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:342)
    2 frames
  7. org.archive.crawler
    RootFilter.doFilter
    1. org.archive.crawler.admin.ui.RootFilter.doFilter(RootFilter.java:67)
    1 frame
  8. Jetty Server
    ServletHandler.handle
    1. org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:334)
    2. org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:286)
    3. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
    3 frames
  9. org.mortbay.http
    HttpContext.handle
    1. org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
    1 frame
  10. Jetty Server
    WebApplicationContext.handle
    1. org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525)
    1 frame
  11. org.mortbay.http
    SocketListener.handleConnection
    1. org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
    2. org.mortbay.http.HttpServer.service(HttpServer.java:879)
    3. org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
    4. org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
    5. org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
    6. org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218)
    6 frames
  12. Jetty Util
    ThreadPool$PoolThread.run
    1. org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:300)
    2. org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:511)
    2 frames