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

JIRA | Ryan Wilcox | 6 years ago
  1. 0

    JEMH is handling requests properly, but reporting the following in our logs: {code} javax.mail.MessagingException: Unhandled Exception occurred during processing, type=java.lang.StringIndexOutOfBoundsException), location=java.lang.String.substring(String.java:1937). Likely this is a BUG: String index out of range: -9; nested exception is: java.lang.StringIndexOutOfBoundsException: String index out of range: -9 at com.javahollic.jira.emh.service.EMHIssueHandler.handleMessage(EMHIssueHandler.java:262) at com.javahollic.jira.emh.service.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:67) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:189) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:67) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -9 at java.lang.String.substring(String.java:1937) at java.lang.String.substring(String.java:1904) at com.javahollic.jira.emh.processor.SubjectBasedFieldProcessor.getFieldMap(SubjectBasedFieldProcessor.java:170) at com.javahollic.jira.emh.processor.SubjectBasedFieldProcessor.getDirectiveCount(SubjectBasedFieldProcessor.java:220) at com.javahollic.jira.emh.service.EMHIssueHandler.handleMessage(EMHIssueHandler.java:107) ... 6 more {code}

    JIRA | 6 years ago | Ryan Wilcox
    java.lang.StringIndexOutOfBoundsException: String index out of range: -9
  2. 0

    JEMH is handling requests properly, but reporting the following in our logs: {code} javax.mail.MessagingException: Unhandled Exception occurred during processing, type=java.lang.StringIndexOutOfBoundsException), location=java.lang.String.substring(String.java:1937). Likely this is a BUG: String index out of range: -9; nested exception is: java.lang.StringIndexOutOfBoundsException: String index out of range: -9 at com.javahollic.jira.emh.service.EMHIssueHandler.handleMessage(EMHIssueHandler.java:262) at com.javahollic.jira.emh.service.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:67) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:189) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:67) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -9 at java.lang.String.substring(String.java:1937) at java.lang.String.substring(String.java:1904) at com.javahollic.jira.emh.processor.SubjectBasedFieldProcessor.getFieldMap(SubjectBasedFieldProcessor.java:170) at com.javahollic.jira.emh.processor.SubjectBasedFieldProcessor.getDirectiveCount(SubjectBasedFieldProcessor.java:220) at com.javahollic.jira.emh.service.EMHIssueHandler.handleMessage(EMHIssueHandler.java:107) ... 6 more {code}

    JIRA | 6 years ago | Ryan Wilcox
    java.lang.StringIndexOutOfBoundsException: String index out of range: -9
  3. 0

    Bug 172614 – [68cat] StringIndexOutOfBoundsException: String index out of range: -9

    netbeans.org | 1 year ago
    java.lang.StringIndexOutOfBoundsException: String index out of range: -9
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    While making a game launcher/updater I encountered a strange error: java.lang.StringIndexOutOfBoundsException

    Stack Overflow | 2 years ago | afroraydude
    java.lang.StringIndexOutOfBoundsException: String index out of range: -9
  6. 0

    BNF recursion in EpochX framework

    Stack Overflow | 3 years ago | espais
    java.lang.StringIndexOutOfBoundsException: String index out of range: -9

  1. richard77 2 times, last 20 hours ago
  2. kjhdofjosvs 2 times, last 5 days ago
  3. archenroot 17 times, last 2 weeks ago
  4. Alexandru Popa 2 times, last 3 weeks ago
  5. poroszd 3 times, last 4 weeks 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: -9

    at java.lang.String.substring()
  2. Java RT
    String.substring
    1. java.lang.String.substring(String.java:1937)
    2. java.lang.String.substring(String.java:1904)
    2 frames
  3. com.javahollic.jira
    CreateOrCommentHandler.handleMessage
    1. com.javahollic.jira.emh.processor.SubjectBasedFieldProcessor.getFieldMap(SubjectBasedFieldProcessor.java:170)
    2. com.javahollic.jira.emh.processor.SubjectBasedFieldProcessor.getDirectiveCount(SubjectBasedFieldProcessor.java:220)
    3. com.javahollic.jira.emh.service.EMHIssueHandler.handleMessage(EMHIssueHandler.java:107)
    4. com.javahollic.jira.emh.service.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:67)
    4 frames
  4. com.atlassian.jira
    ServiceRunner.execute
    1. com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:189)
    2. com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:67)
    3. com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48)
    3 frames
  5. quartz
    SimpleThreadPool$WorkerThread.run
    1. org.quartz.core.JobRunShell.run(JobRunShell.java:191)
    2. org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)
    2 frames