java.lang.StringIndexOutOfBoundsException

String index out of range: -1

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 web4607

  • String index out of range: -1
  • via GitHub by dlsniper
    , 1 year ago
    String index out of range: 1
  • Stack trace

    • java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1444) at weblogic.utils.jars.ManifestEntry.stream(ManifestEntry.java:171) at weblogic.utils.jars.Manifest.stream(Manifest.java:78) at weblogic.utils.classloaders.ExtractionHelper.resolveManifestName(ExtractionHelper.java:410) at weblogic.utils.classloaders.ExtractionHelper.extractClassFiles(ExtractionHelper.java:238) at weblogic.utils.classloaders.LibDirClassFinder.init(LibDirClassFinder.java:33) at weblogic.j2ee.J2EEApplicationContainer.getNewApplicationClassLoader(J2EEApplicationContainer.java:711) at weblogic.j2ee.J2EEApplicationContainer.access$300(J2EEApplicationContainer.java:182) at weblogic.j2ee.J2EEApplicationContainer$CLNode.init(J2EEApplicationContainer.java:4068) at weblogic.j2ee.J2EEApplicationContainer.initClassLoaderTree(J2EEApplicationContainer.java:3425) at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:989) at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2444) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2394) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2310) at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:866) at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:594) at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:508) at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

    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

    Once, 1 month ago
    2 times, 2 months ago
    2 times, 7 months ago
    Once, 7 months ago
    2 times, 7 months ago
    94 more bugmates