java.lang.StringIndexOutOfBoundsException

String index out of range: -5


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 web4545

Solution icon of coderanch
via Coderanch by Jherald Lacambra, 8 months ago
String index out of range: 5

Solution icon of coderanch
via Coderanch by Andrew Stallard, 1 year ago
String index out of range: 5

Solution icon of coderanch
via Coderanch by ali ak, 1 year ago
String index out of range: -5

Solution icon of bugzilla
via Eclipse Bugzilla by bshen, 1 year ago
String index out of range: 5

Solution icon of bugzilla
via Netbeans Bugzilla by goldenwang, 1 year ago
String index out of range: 5

Solution icon of github
via GitHub by mraross
, 10 months ago
String index out of range: 5

Solution icon of github
String index out of range: 5

Solution icon of github
String index out of range: -5

Solution icon of github
String index out of range: -5

Stack trace

  • java.lang.StringIndexOutOfBoundsException: String index out of range: -5 at java.lang.String.substring(String.java:1768) at com.wideplay.warp.widgets.EmbedWidget$EmbeddedRespond.extract(EmbedWidget.java:133) at com.wideplay.warp.widgets.EmbedWidget$EmbeddedRespond.toHeadString(EmbedWidget.java:93) at com.wideplay.warp.widgets.EmbedWidget.render(EmbedWidget.java:74) at com.wideplay.warp.widgets.WidgetChain.render(WidgetChain.java:17) at com.wideplay.warp.widgets.XmlWidget.render(XmlWidget.java:81) at com.wideplay.warp.widgets.WidgetChain.render(WidgetChain.java:17) at com.wideplay.warp.widgets.XmlWidget.render(XmlWidget.java:81) at com.wideplay.warp.widgets.WidgetChain.render(WidgetChain.java:17) at com.wideplay.warp.widgets.XmlTemplateParserTest.readEmbedWidget(XmlTemplateParserTest.java:300)

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, 3 weeks ago
2 times, 4 weeks ago
Once, 1 month ago
Once, 1 month ago
Once, 1 month ago
95 more bugmates