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 web4546

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.toString(EmbedWidget.java:102) at java.lang.String.valueOf(String.java:2615) at java.lang.StringBuilder.append(StringBuilder.java:116) at org.easymock.AbstractMatcher.argumentToString(AbstractMatcher.java:47) at org.easymock.AbstractMatcher.toString(AbstractMatcher.java:117) at org.easymock.internal.Invocation.toString(Invocation.java:106) at org.easymock.internal.MocksBehavior.addActual(MocksBehavior.java:88) at org.easymock.internal.ReplayState.invoke(ReplayState.java:21) at org.easymock.internal.MockInvocationHandler.invoke(MockInvocationHandler.java:24) at org.easymock.internal.ObjectMethodsFilter.invoke(ObjectMethodsFilter.java:56) at $Proxy7.render(Unknown Source) at com.wideplay.warp.widgets.EmbedWidget.render(EmbedWidget.java:71) at com.wideplay.warp.widgets.EmbedWidgetTest.pageEmbeddingSupressesNormalWidgetChain(EmbedWidgetTest.java:123)

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