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.


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( at java.lang.String.charAt( at com.github.pedrovgs.lynx.model.Lynx.hasTraceLevelEqualOrHigher( at com.github.pedrovgs.lynx.model.Lynx.containsTraceLevel( at com.github.pedrovgs.lynx.model.Lynx.traceMatchesFilter( at com.github.pedrovgs.lynx.model.Lynx.shouldAddTrace( at com.github.pedrovgs.lynx.model.Lynx.addTraceToTheBuffer( at com.github.pedrovgs.lynx.model.Lynx.access$000( at com.github.pedrovgs.lynx.model.Lynx$1.onTraceRead( at com.github.pedrovgs.lynx.model.Logcat.notifyListener( at com.github.pedrovgs.lynx.model.Logcat.readLogcat( at

    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,
    6 times, last one
    327 times, last one
    Unknown visitor
    Unknown visitorOnce,
    38 more bugmates