java.lang.StringIndexOutOfBoundsException

String index out of range: -4

Samebug tips2

You need to make sure that capitalisation of the case for the plugin in the properties file is exactly: "AllocinePlugin" and not "allocineplugin"


rprp

This is a bug when using Micromax devices with VideoView. You can either exclude these devices or look at this workaround: http://stackoverflow.com/a/31942841/4347859


rafaelrafael

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

Solutions on the web2406

  • via Stack Overflow by Gratin
    ,
  • via Stack Overflow by user3565706
    ,
  • Stack trace

    • java.lang.StringIndexOutOfBoundsException: String index out of range: -4 at java.lang.String.substring(String.java:1967)[na:1.8.0_91] at com.netflix.eureka.aws.EIPManager.getEIPsFromServiceUrls(EIPManager.java:342)[eureka-core-1.4.6.jar!/:1.4.6] at com.netflix.eureka.aws.EIPManager.getEIPsForZoneFromConfig(EIPManager.java:322)[eureka-core-1.4.6.jar!/:1.4.6] at com.netflix.eureka.aws.EIPManager.getCandidateEIPs(EIPManager.java:304)[eureka-core-1.4.6.jar!/:1.4.6] at com.netflix.eureka.aws.EIPManager.isEIPBound(EIPManager.java:157)[eureka-core-1.4.6.jar!/:1.4.6] at com.netflix.eureka.aws.EIPManager$EIPBindingTask.run(EIPManager.java:412)[eureka-core-1.4.6.jar!/:1.4.6] at java.util.TimerThread.mainLoop(Timer.java:555)[na:1.8.0_91] at java.util.TimerThread.run(Timer.java:505)[na:1.8.0_91]

    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

    Andreas HäberAndreas Häber
    2 times, last one
    poroszdporoszd
    2 times, last one
    zsambokizsamboki
    Once,
    osvzsosvzs
    7 times, last one
    jokesterjokester
    3 times, last one
    94 more bugmates