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

GitHub | robertnosburn | 9 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

    IndexOutOfBounds Exception thrown repeatedly when Eureka has no EIPs containing "ec2-"

    GitHub | 9 months ago | robertnosburn
    java.lang.StringIndexOutOfBoundsException: String index out of range: -4
  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

    Java String index out of range: -4

    Stack Overflow | 3 years ago | Gratin
    java.lang.StringIndexOutOfBoundsException: String index out of range: -4
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Marshilling an SAML response object

    Stack Overflow | 3 years ago | user3565706
    java.lang.StringIndexOutOfBoundsException: String index out of range: -4
  6. 0

    RUN BIMServer from SourceCode

    GitHub | 2 years ago | howlDream
    java.lang.StringIndexOutOfBoundsException: String index out of range: -4

  1. Indri Yunita 7 times, last 3 weeks ago
  2. osvzs 1 times, last 4 weeks ago
  3. Pilleo 1 times, last 1 month ago
  4. Andreas Häber 2 times, last 1 month ago
  5. QrCeric 1 times, last 2 months ago
25 more registered users
59 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

    String index out of range: -4

    at java.lang.String.substring()
  2. Java RT
    String.substring
    1. java.lang.String.substring(String.java:1967)[na:1.8.0_91]
    1 frame
  3. com.netflix.eureka
    EIPManager$EIPBindingTask.run
    1. com.netflix.eureka.aws.EIPManager.getEIPsFromServiceUrls(EIPManager.java:342)[eureka-core-1.4.6.jar!/:1.4.6]
    2. com.netflix.eureka.aws.EIPManager.getEIPsForZoneFromConfig(EIPManager.java:322)[eureka-core-1.4.6.jar!/:1.4.6]
    3. com.netflix.eureka.aws.EIPManager.getCandidateEIPs(EIPManager.java:304)[eureka-core-1.4.6.jar!/:1.4.6]
    4. com.netflix.eureka.aws.EIPManager.isEIPBound(EIPManager.java:157)[eureka-core-1.4.6.jar!/:1.4.6]
    5. com.netflix.eureka.aws.EIPManager$EIPBindingTask.run(EIPManager.java:412)[eureka-core-1.4.6.jar!/:1.4.6]
    5 frames
  4. Java RT
    TimerThread.run
    1. java.util.TimerThread.mainLoop(Timer.java:555)[na:1.8.0_91]
    2. java.util.TimerThread.run(Timer.java:505)[na:1.8.0_91]
    2 frames