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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via GitHub by Omertron

You need to make sure that capitalisation of the case for the plugin in the properties file is exactly: "AllocinePlugin" and not "allocineplugin"

,
Expert 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

Solutions on the web

via JIRA by Ryan Wilcox, 1 year ago
String index out of range: -9
via JIRA by Ryan Wilcox, 1 year ago
String index out of range: -9
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)
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)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
4 times, 1 week ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.