Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. Start or end index provided to substring method outside the range of String indices
    Java Runtime
    302
    795
    195

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.String.substring(String.java:1937)
    at com.atlassian.confluence.extra.jira.JsonFlexigridResponseGenerator.getOutputAsString(JsonFlexigridResponseGenerator.java:258)
    at com.atlassian.confluence.extra.jira.JsonFlexigridResponseGenerator.generate(JsonFlexigridResponseGenerator.java:309)

Solution

rp3 years ago

Ensure that the start and end indices for the substring are within range of the String's start and end indices

External results for this pattern (10)

  1. mitchej123via GitHub1 day ago
    String index out of range: -1
    Show stack trace
  2. ansellvia GitHub3 days ago
    String index out of range: 37
    Show stack trace
  3. braddevansvia GitHub1 week ago
    No message found for this stack trace.
    Show stack trace
  4. chrisichrisvia Google Groups1 week ago
    String index out of range: -1
    Show stack trace
  5. Angel Veravia Google Groups1 week ago
    String index out of range: -1
    Show stack trace
  6. Unknown authorvia Google Groups1 week ago
    String index out of range: -27
    Show stack trace
  7. Dan Armbrustvia Google Groups1 week ago
    Failed to execute goal external.atlassian.jgitflow:jgitflow-maven-plugin:1.0-m5.1:release-start (default-cli) on project isaac-parent: Execution default-cli of goal external.atlassian.jgitflow:jgitflow-maven-plugin:1.0-m5.1:release-start failed: String index out of range: -6
    Show stack trace
  8. Jonathan Doklovicvia Google Groups1 week ago
    Failed to execute goal external.atlassian.jgitflow:jgitflow-maven-plugin:1.0-m5:release-start (default-cli) on project baserepo: Execution default-cli of goal external.atlassian.jgitflow:jgitflow-maven-plugin:1.0-m5:release-start failed: String index out of range: -6
    Show stack trace