java.lang.StringIndexOutOfBoundsException: String index out of range: -5


Samebug tips

You need to make sure that capitalisation of the case for the plugin in the properties file is exactly: "AllocinePlugin" and not "allocineplugin"


,
via GitHub by Omertron

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


5 months ago
Expert tip

Solutions on the web

Solution icon of coderanch
via Coderanch by Jherald Lacambra, 10 months 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 github
via GitHub by mbrlabs
, 1 year ago
String index out of range: -5

Solution icon of github
via GitHub by vlsi
, 1 year ago
String index out of range: -5

Solution icon of github
via GitHub by tresf
, 1 year ago
String index out of range: -5

Solution icon of googlegroups
via Google Groups by Paul G. Weiss, 1 year ago
String index out of range: -5

Solution icon of googlegroups
via Google Groups by Ariel, 4 months ago
String index out of range: -5

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

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

Solution icon of bugzilla
via Eclipse Bugzilla by login, 1 year ago
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.pageEmbeddingAndBinding(EmbedWidgetTest.java:326)

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

Samebug visitor profile picture
Unknown user
Once, 1 week ago
Samebug visitor profile picture
Unknown user
Once, 1 week ago
Samebug visitor profile picture
Unknown user
Once, 1 week ago
10 times, 1 week ago
2 times, 2 weeks ago
103 more bugmates