java.lang.StringIndexOutOfBoundsException

length=0; index=19

Samebug tips1

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.


rafaelrafael

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web1131

  • Stack trace

    • 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)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    bayukresnobayukresno
    6 times, last one
    poroszdporoszd
    327 times, last one
    Unknown visitor
    Unknown visitorOnce,
    rprp
    Once,
    38 more bugmates