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"


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

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

Solutions on the web4495

  • String index out of range: 4
  • String index out of range: -4
  • via Google Groups by Arun, 1 year ago
    String index out of range: -4
  • Stack trace

    • java.lang.StringIndexOutOfBoundsException: String index out of range: -4 at java.lang.String.substring(String.java:1768) at strtest.main(strtest.java:24)

    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

    2 times, 4 months ago
    2 times, 8 months ago
    2 times, 4 days ago
    Once, 3 weeks ago
    Once, 3 weeks ago
    94 more bugmates