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

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

,
Expert tip

Thrown by String methods to indicate that an index is either negative or greater than the size of the string. For some methods such as the charAt method, this exception also is thrown when the index is equal to the size of the string.

,
via oracle.com by Unknown author

Thrown by String methods to indicate that an index is either negative or greater than the size of the string. For some methods such as the charAt method, this exception also is thrown when the index is equal to the size of the string.

Solutions on the web

via SpringSource Issue Tracker by David Garcia Folch, 1 year ago
Failed to execute runnable (java.lang.StringIndexOutOfBoundsException: String index out of range: 0)
via SpringSource Issue Tracker by David Garcia Folch, 1 year ago
Failed to execute runnable (java.lang.StringIndexOutOfBoundsException: String index out of range: 0)
via GitHub by vlatkoB
, 2 years ago
Failed to execute runnable (java.lang.StringIndexOutOfBoundsException: String index out of range: -24)
via GitHub by nponeccop
, 2 years ago
Failed to execute runnable (java.lang.IllegalArgumentException: Index out of bounds)
via GitHub by laurentpetit
, 2 years ago
Failed to execute runnable (java.lang.StringIndexOutOfBoundsException: Invalid offset (13) or length (1))
via Eclipse Bugzilla by sebastien.gabel, 1 year ago
Failed to execute runnable (java.lang.IndexOutOfBoundsException: Index: 1, Size: 1)
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.StringIndexOutOfBoundsException: String index out of range: 0)
at java.lang.String.charAt(String.java:694)
at org.eclipse.swt.browser.WebKit.setUrl(WebKit.java:1525)
at org.eclipse.swt.browser.Browser.setUrl(Browser.java:1125)
at code.google.restclient.ui.MainWindow.populateBrowser(MainWindow.java:579)
at code.google.restclient.ui.MainWindow.access$900(MainWindow.java:57)
at code.google.restclient.ui.MainWindow$7$1.run(MainWindow.java:496)
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:3717)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:622)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Once, 2 months ago
Once, 9 months ago
32257 times, 11 months ago
4 times, 1 year ago

Write tip

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