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

Spring JIRA | Torsten Juergeleit | 1 decade ago
  1. 0

    {code} java.lang.StringIndexOutOfBoundsException: String index out of range: -5 at java.lang.String.substring(String.java:1444) at org.springframework.ide.eclipse.beans.ui.editor.hyperlink.BeansHyperLinkDetector.extractPropertyPathFromCursorPosition(BeansHyperLinkDetector.java:384) at org.springframework.ide.eclipse.beans.ui.editor.hyperlink.BeansHyperLinkDetector.createHyperlink(BeansHyperLinkDetector.java:246) at org.springframework.ide.eclipse.beans.ui.editor.hyperlink.BeansHyperLinkDetector.detectHyperlinks(BeansHyperLinkDetector.java:77) at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:232) at org.eclipse.jface.text.hyperlink.HyperlinkManager.mouseMove(HyperlinkManager.java:419) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:145) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1380) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1404) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1389) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1237) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3061) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103) at org.eclipse.core.internal.runtime.PlatformActivator####1.run(PlatformActivator.java:226) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334) at org.eclipse.core.launcher.Main.basicRun(Main.java:278) at org.eclipse.core.launcher.Main.run(Main.java:973) at org.eclipse.core.launcher.Main.main(Main.java:948) {code}

    Spring JIRA | 1 decade ago | Torsten Juergeleit
    java.lang.StringIndexOutOfBoundsException: String index out of range: -5
  2. 0

    {code} java.lang.StringIndexOutOfBoundsException: String index out of range: -5 at java.lang.String.substring(String.java:1444) at org.springframework.ide.eclipse.beans.ui.editor.hyperlink.BeansHyperLinkDetector.extractPropertyPathFromCursorPosition(BeansHyperLinkDetector.java:384) at org.springframework.ide.eclipse.beans.ui.editor.hyperlink.BeansHyperLinkDetector.createHyperlink(BeansHyperLinkDetector.java:246) at org.springframework.ide.eclipse.beans.ui.editor.hyperlink.BeansHyperLinkDetector.detectHyperlinks(BeansHyperLinkDetector.java:77) at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:232) at org.eclipse.jface.text.hyperlink.HyperlinkManager.mouseMove(HyperlinkManager.java:419) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:145) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1380) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1404) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1389) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1237) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3061) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103) at org.eclipse.core.internal.runtime.PlatformActivator####1.run(PlatformActivator.java:226) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334) at org.eclipse.core.launcher.Main.basicRun(Main.java:278) at org.eclipse.core.launcher.Main.run(Main.java:973) at org.eclipse.core.launcher.Main.main(Main.java:948) {code}

    Spring JIRA | 1 decade ago | Torsten Juergeleit
    java.lang.StringIndexOutOfBoundsException: String index out of range: -5
  3. 0

    StringIndexOutOfBoundsException

    cgupnpjava | 1 decade ago | jpsml
    java.lang.StringIndexOutOfBoundsException: String index out of range: -5
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    StringIndexOutOfBoundsException from LaunchConfiguration

    Eclipse Bugzilla | 1 decade ago | jared_burns
    java.lang.StringIndexOutOfBoundsException: String index out of range: -5
  6. 0

    java.lang.StringIndexOutOfBoundsException on some java classes

    GitHub | 3 years ago | micw
    java.lang.StringIndexOutOfBoundsException: String index out of range: -5

  1. richard77 2 times, last 6 days ago
  2. kjhdofjosvs 2 times, last 1 week ago
  3. archenroot 17 times, last 2 weeks ago
  4. Alexandru Popa 2 times, last 4 weeks ago
  5. poroszd 3 times, last 1 month ago
18 more registered users
58 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.StringIndexOutOfBoundsException

    String index out of range: -5

    at java.lang.String.substring()
  2. Java RT
    String.substring
    1. java.lang.String.substring(String.java:1444)
    1 frame
  3. org.springframework.ide
    BeansHyperLinkDetector.detectHyperlinks
    1. org.springframework.ide.eclipse.beans.ui.editor.hyperlink.BeansHyperLinkDetector.extractPropertyPathFromCursorPosition(BeansHyperLinkDetector.java:384)
    2. org.springframework.ide.eclipse.beans.ui.editor.hyperlink.BeansHyperLinkDetector.createHyperlink(BeansHyperLinkDetector.java:246)
    3. org.springframework.ide.eclipse.beans.ui.editor.hyperlink.BeansHyperLinkDetector.detectHyperlinks(BeansHyperLinkDetector.java:77)
    3 frames
  4. JFace Text
    HyperlinkManager.mouseMove
    1. org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:232)
    2. org.eclipse.jface.text.hyperlink.HyperlinkManager.mouseMove(HyperlinkManager.java:419)
    2 frames
  5. RWT
    Display.readAndDispatch
    1. org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:145)
    2. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    3. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1380)
    4. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1404)
    5. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1389)
    6. org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1237)
    7. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3061)
    8. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
    8 frames
  6. Eclipse UI
    Workbench.createAndRunWorkbench
    1. org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
    2. org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
    3. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
    3 frames
  7. Eclipse UI
    IDEApplication.run
    1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
    2. org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
    2 frames