java.lang.StringIndexOutOfBoundsException: length=40; regionStart=21; regionLength=-7

Stack Overflow | Code99Za | 4 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rp . Or join the community to write better ones.
  1. 0

    java.lang.StringIndexOutOfBoundsException Error startEndAndLength

    Stack Overflow | 4 months ago | Code99Za
    java.lang.StringIndexOutOfBoundsException: length=40; regionStart=21; regionLength=-7
  2. 0
    samebug tip
    You need to make sure that capitalisation of the case for the plugin in the properties file is exactly: "AllocinePlugin" and not "allocineplugin"
    via GitHub by Omertron
  3. 0

    编写android计算器添加删除按钮,出现很抱歉,XX项目已停止运行。 - SegmentFault

    segmentfault.com | 11 months ago
    java.lang.StringIndexOutOfBoundsException: length=0; regionStart=0; regionLength=-1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 816#203989506

    GitHub | 11 months ago | mimi89999
    java.lang.StringIndexOutOfBoundsException: length=0; regionStart=0; regionLength=3
  6. 0

    AppsFlyerLib StringIndexOutOfBoundsException

    Stack Overflow | 10 months ago | busylee
    java.lang.StringIndexOutOfBoundsException: length=12; regionStart=0; regionLength=13

  1. filpgame 2 times, last 4 weeks ago
  2. gamebusterz 1 times, last 1 month ago
  3. jokester 3 times, last 2 months ago
  4. richard77 2 times, last 2 months ago
  5. MoYapro 1 times, last 3 months ago
21 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

    length=40; regionStart=21; regionLength=-7

    at java.lang.String.startEndAndLength()
  2. Java RT
    String.substring
    1. java.lang.String.startEndAndLength(String.java:298)
    2. java.lang.String.substring(String.java:1087)
    2 frames
  3. project1
    AudioSignal$5.playerMetadata
    1. project1.AudioSignal.getTrackFromAAC(AudioSignal.java:793)
    2. project1.AudioSignal.access$1100(AudioSignal.java:40)
    3. project1.AudioSignal$5.playerMetadata(AudioSignal.java:736)
    3 frames
  4. com.spoledge.aacdecoder
    BufferReader.run
    1. com.spoledge.aacdecoder.IcyInputStream.parseMetadata(IcyInputStream.java:231)
    2. com.spoledge.aacdecoder.IcyInputStream.fetchMetadata(IcyInputStream.java:205)
    3. com.spoledge.aacdecoder.IcyInputStream.read(IcyInputStream.java:133)
    4. com.spoledge.aacdecoder.BufferReader.run(BufferReader.java:155)
    4 frames
  5. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:818)
    1 frame