java.lang.StringIndexOutOfBoundsException

String index out of range: -41

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 web4475

  • String index out of range: 41
  • via Appcelerator JIRA by Ingo Muschenetz, 1 year ago
    String index out of range: 41
  • via Coderanch by Michael Smithy, 9 months ago
    String index out of range: -41
  • Stack trace

    • java.lang.StringIndexOutOfBoundsException: String index out of range: -41 at java.lang.String.substring(Unknown Source) at UserInfo.swapHalfsForEncrypt(UserInfo.java:114) at UserInfo.encrypt(UserInfo.java:190) at UserInfoDriver.main(UserInfoDriver.java:27) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at edu.rice.cs.drjava.model.compiler.JavacCompiler.runCommand(JavacCompiler.java:272)

    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 user
    Once, 10 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    2 times, 1 year ago
    Unknown user
    Once, 1 year ago
    94 more bugmates