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

Coderanch | Mike Conors | 2 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rp and rafael . Or join the community to write better ones.
  1. 0

    String index out of range

    Coderanch | 2 years ago | Mike Conors
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  2. 0
    samebug tip
    You need to make sure that capitalisation of the case for the plugin in the properties file is exactly: "AllocinePlugin" and not "allocineplugin"
    via GitHub by Omertron
  3. 0
    samebug tip
    This is a bug when using Micromax devices with VideoView. You can either exclude these devices or look at this workaround: http://stackoverflow.com/a/31942841/4347859
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to fix the ERROR [[jsp]] Servlet.service() for servlet jsp threw exception?

    Stack Overflow | 2 years ago | balaguru
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1

  1. osvzs 2 times, last 5 days ago
  2. Indri Yunita 7 times, last 2 months ago
  3. Pilleo 1 times, last 2 months ago
  4. Andreas Häber 2 times, last 2 months ago
  5. QrCeric 1 times, last 3 months ago
25 more registered users
59 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:1911)
    1 frame
  3. com.xapagy.ui
    pgvFocusVis.generate
    1. com.xapagy.ui.TextUiHelper.wrap(TextUiHelper.java:232)
    2. com.xapagy.ui.TextUiHelper.wrap(TextUiHelper.java:233)
    3. com.xapagy.ui.TextUiHelper.wrap(TextUiHelper.java:233)
    4. com.xapagy.ui.TextUiHelper.wrap(TextUiHelper.java:233)
    5. com.xapagy.ui.prettygraphviz.pgvVerbInstance.pgvNode(pgvVerbInstance.java:68)
    6. com.xapagy.ui.prettygraphviz.pgvFocusVis.pgvNode(pgvFocusVis.java:125)
    7. com.xapagy.ui.prettygraphviz.pgvFocusVis.generate(pgvFocusVis.java:40)
    7 frames
  4. com.xapagy.httpserver
    GsRequestHandler.run
    1. com.xapagy.httpserver.GsFileServe.getFile(GsFileServe.java:126)
    2. com.xapagy.httpserver.GsRequestHandler.processRequest(GsRequestHandler.java:167)
    3. com.xapagy.httpserver.GsRequestHandler.run(GsRequestHandler.java:46)
    3 frames
  5. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame