java.lang.StringIndexOutOfBoundsException: String index out of range: 0

Oracle Community | 3004 | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    3.1.0 RC1 - StringIndexOutOfBoundsException

    Oracle Community | 1 decade ago | 3004
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0
  2. 0

    How to retrieve list of indices in 0.19.11

    Google Groups | 4 years ago | barak
    org.elasticsearch.common.util.concurrent.UncategorizedExecutionException: Failed execution at org.elasticsearch.action.support.AdapterActionFuture.rethrowExecutionException(AdapterActionFuture.java:88) at
  3. 0

    solr-user.lucene.apache.org - String index out of range exception from Spell check - msg#00989 - Recent Discussion OSDir.com

    osdir.com | 1 year ago
    java.lang.StringIndexOutOfBoundsException: String index out of range: -3 at java.lang.AbstractStringBuilder.replace(AbstractStringBuilder.java:789) at java.lang.StringBuilder.replace(StringBuilder.java:266) at org.apache.solr.spelling.SpellCheckCollator.getCollation(SpellCheckCollator.java:235) at org.apache.solr.spelling.SpellCheckCollator.collate(SpellCheckCollator.java:92) at org.apache.solr.handler.component.SpellCheckComponent.addCollationsToResponse(SpellCheckComponent.java:230) at org.apache.solr.handler.component.SpellCheckComponent.process(SpellCheckComponent.java:197) at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:226) at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135) at org.apache.solr.core.SolrCore.execute(SolrCore.java:1976) at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:777) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:418) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:207) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) at org.eclipse.jetty.server.Server.handle(Server.java:497) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257) at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    solr-user.lucene.apache.org - RE: String index out of range exception from Spell check - msg#01004 - Recent Discussion OSDir.com

    osdir.com | 1 year ago
    java.lang.StringIndexOutOfBoundsException: String index out of range: -3 at java.lang.AbstractStringBuilder.replace(AbstractStringBuilder.java:789) at java.lang.StringBuilder.replace(StringBuilder.java:266) at org.apache.solr.spelling.SpellCheckCollator.getCollation(SpellCheckCollator.java:235) at org.apache.solr.spelling.SpellCheckCollator.collate(SpellCheckCollator.java:92) at org.apache.solr.handler.component.SpellCheckComponent.addCollationsToResponse(SpellCheckComponent.java:230) at org.apache.solr.handler.component.SpellCheckComponent.process(SpellCheckComponent.java:197) at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:226) at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135) at org.apache.solr.core.SolrCore.execute(SolrCore.java:1976) at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:777) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:418) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:207) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) at org.eclipse.jetty.server.Server.handle(Server.java:497) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257) at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
  6. 0

    java Applet

    Oracle Community | 2 decades ago | 807556
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(Compiled Code) at ConnectionMan.run(Compiled Code)

    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: 0

      at java.lang.String.charAt()
    2. Java RT
      ClassLoader.loadClass
      1. java.lang.String.charAt(String.java:550)
      2. java.lang.ClassLoader.checkName(ClassLoader.java:728)
      3. java.lang.ClassLoader.findLoadedClass(ClassLoader.java:901)
      4. java.lang.ClassLoader.loadClass(ClassLoader.java:278)
      5. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:279)
      6. java.lang.ClassLoader.loadClass(ClassLoader.java:235)
      6 frames
    3. com.solarmetric.ide
      ClassTextField.<init>
      1. com.solarmetric.ide.ui.ClassTextField.checkText(ClassTextField.java:158)
      2. com.solarmetric.ide.ui.ClassTextField.<init>(ClassTextField.java:83)
      3. com.solarmetric.ide.ui.ClassTextField.<init>(ClassTextField.java:68)
      3 frames
    4. kodo.jdbc.ide
      SchemaExplorer$4.construct
      1. kodo.jdbc.ide.meta.actions.ReverseMappingToolAction$ConfigComponent.initComponents(ReverseMappingToolAction.java:359)
      2. kodo.jdbc.ide.meta.actions.ReverseMappingToolAction$ConfigComponent.show(ReverseMappingToolAction.java:114)
      3. kodo.jdbc.ide.meta.actions.ReverseMappingToolAction.doAction(ReverseMappingToolAction.java:60)
      4. kodo.jdbc.ide.meta.explorer.SchemaExplorer$4.construct(SchemaExplorer.java:207)
      4 frames
    5. com.solarmetric.ide
      IdeWorker$2.run
      1. com.solarmetric.ide.util.IdeWorker$2.run(IdeWorker.java:112)
      1 frame
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:566)
      1 frame