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:

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

Solutions on the web4606

  • 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( at fr.adrienbrault.idea.symfony2plugin.config.xml.XmlReferenceContributor$ServiceIdReference.multiResolve( at com.intellij.codeInsight.daemon.impl.analysis.XmlHighlightVisitor.hasBadResolve( at com.intellij.codeInsight.daemon.impl.analysis.XmlHighlightVisitor.a( at com.intellij.codeInsight.daemon.impl.analysis.XmlHighlightVisitor.a( at com.intellij.codeInsight.daemon.impl.analysis.XmlHighlightVisitor.visitXmlAttributeValue( at com.intellij.psi.impl.source.xml.XmlAttributeValueImpl.accept( at com.intellij.codeInsight.daemon.impl.analysis.XmlHighlightVisitor.visit( at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a( at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(

    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, 11 months ago
    Once, 1 month ago
    2 times, 2 months ago
    2 times, 7 months ago
    Once, 7 months ago
    94 more bugmates