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 web4483

  • via Coderanch by Jherald Lacambra, 8 months ago
    String index out of range: 5
  • via Coderanch by Andrew Stallard, 11 months ago
    String index out of range: 5
  • via Coderanch by ali ak, 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: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)

    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

    Unknown user
    Once, 1 year ago
    2 times, 2 days ago
    2 times, 1 week ago
    Once, 3 weeks ago
    Once, 3 weeks ago
    95 more bugmates