java.lang.StringIndexOutOfBoundsException: length=0; index=19

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

,
Expert tip

Thrown by String methods to indicate that an index is either negative or greater than the size of the string. For some methods such as the charAt method, this exception also is thrown when the index is equal to the size of the string.

,
via oracle.com by Unknown author

Thrown by String methods to indicate that an index is either negative or greater than the size of the string. For some methods such as the charAt method, this exception also is thrown when the index is equal to the size of the string.

Solutions on the web

java.lang.StringIndexOutOfBoundsException: length=0; index=19
at java.lang.String.indexAndLength(String.java:500)
at java.lang.String.charAt(String.java:494)
at com.github.pedrovgs.lynx.model.Lynx.hasTraceLevelEqualOrHigher(Lynx.java:150)
at com.github.pedrovgs.lynx.model.Lynx.containsTraceLevel(Lynx.java:145)
at com.github.pedrovgs.lynx.model.Lynx.traceMatchesFilter(Lynx.java:141)
at com.github.pedrovgs.lynx.model.Lynx.shouldAddTrace(Lynx.java:134)
at com.github.pedrovgs.lynx.model.Lynx.addTraceToTheBuffer(Lynx.java:126)
at com.github.pedrovgs.lynx.model.Lynx.access$000(Lynx.java:35)
at com.github.pedrovgs.lynx.model.Lynx$1.onTraceRead(Lynx.java:75)
at com.github.pedrovgs.lynx.model.Logcat.notifyListener(Logcat.java:95)
at com.github.pedrovgs.lynx.model.Logcat.readLogcat(Logcat.java:85)
at com.github.pedrovgs.lynx.model.Logcat.run(Logcat.java:70)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
6 times, 1 year ago
327 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 week ago
47 more bugmates

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