org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.StringIndexOutOfBoundsException: String index out of range: -1)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via GitHub by Omertron

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

,
Expert tip

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

Solutions on the web

via SpringSource Issue Tracker by Martin Lippert, 1 year ago
Failed to execute runnable (java.lang.StringIndexOutOfBoundsException: String index out of range: -1)
via SpringSource Issue Tracker by Martin Lippert (c), 1 year ago
Failed to execute runnable (java.lang.StringIndexOutOfBoundsException: String index out of range: -1)
via springsource.com by Unknown author, 2 years ago
Failed to execute runnable (java.lang.StringIndexOutOfBoundsException: String index out of range: -1)
via Stack Overflow by Young Harry
, 1 year ago
Failed to execute runnable (java.lang.IllegalArgumentException: Index out of bounds)
via Eclipse Bugzilla by robert.lundback, 1 year ago
Failed to execute runnable (java.lang.IndexOutOfBoundsException: Index: 0)
via Stack Overflow by Jennifer Q
, 1 year ago
Failed to execute runnable (org.eclipse.emf.common.util.AbstractEList$BasicIndexOutOfBoundsException: index=3, size=0)
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.StringIndexOutOfBoundsException: String index out of range: -1)
at java.lang.String.substring(String.java:1915)
at org.springframework.util.AntPathMatcher$AntPatternComparator$PatternInfo.initCounters(AntPathMatcher.java:711)
at org.springframework.util.AntPathMatcher$AntPatternComparator$PatternInfo.(AntPathMatcher.java:690)
at org.springframework.util.AntPathMatcher$AntPatternComparator.compare(AntPathMatcher.java:609)
at org.springframework.ide.eclipse.metadata.ui.RequestMappingViewSorter.sortByUrl(RequestMappingViewSorter.java:101)
at org.springframework.ide.eclipse.metadata.ui.RequestMappingViewSorter.compareColumn(RequestMappingViewSorter.java:58)
at org.springframework.ide.eclipse.metadata.ui.RequestMappingViewSorter.compare(RequestMappingViewSorter.java:41)
at java.util.TimSort.countRunAndMakeAscending(TimSort.java:351)
at java.util.TimSort.sort(TimSort.java:216)
at java.util.Arrays.sort(Arrays.java:1438)
at org.eclipse.jface.viewers.ViewerComparator.sort(ViewerComparator.java:189)
at org.eclipse.jface.viewers.StructuredViewer.getSortedChildren(StructuredViewer.java:1087)
at org.eclipse.jface.viewers.AbstractTableViewer.internalRefreshAll(AbstractTableViewer.java:667)
at org.eclipse.jface.viewers.AbstractTableViewer.internalRefresh(AbstractTableViewer.java:615)
at org.eclipse.jface.viewers.AbstractTableViewer.internalRefresh(AbstractTableViewer.java:607)
at org.eclipse.jface.viewers.AbstractTableViewer$1.run(AbstractTableViewer.java:567)
at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1462)
at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1423)
at org.eclipse.jface.viewers.AbstractTableViewer.inputChanged(AbstractTableViewer.java:564)
at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:292)
at org.springframework.ide.eclipse.metadata.ui.RequestMappingView$7.run(RequestMappingView.java:617)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4024)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)

Users with the same issue

4 times, 1 week ago
4803 times, 1 week ago
2 times, 1 month ago
3 times, 2 months ago
Once, 2 months ago
105 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.