Community
Participate
Working Groups
Build Identifier: 20110916-0149 Eclipse IDE for C/C++ Linux Developers Version: Indigo Service Release 1 Build id: 20110916-0149 Unexpected runtime error while computing a text hover java.lang.StringIndexOutOfBoundsException: String index out of range: 0 at java.lang.String.charAt(String.java:694) at org.eclipse.cdt.internal.ui.text.c.hover.CSourceHover.getHoverInfo(CSourceHover.java:636) at org.eclipse.cdt.internal.ui.text.c.hover.AbstractCEditorTextHover.getHoverInfo2(AbstractCEditorTextHover.java:83) at org.eclipse.cdt.internal.ui.text.c.hover.BestMatchHover.getHoverInfo2(BestMatchHover.java:149) at org.eclipse.cdt.internal.ui.text.c.hover.CEditorTextHoverProxy.getHoverInfo2(CEditorTextHoverProxy.java:86) at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166) Reproducible: Couldn't Reproduce
Similar to bug 328369. There is another chance to run into the same exception.
Fixed in cdt_8_0 and master.
*** cdt git genie on behalf of Anton Leherbauer *** Bug 364943 - java.lang.StringIndexOutOfBoundsException exception observed [*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=ca652923840623cd57fa31799595020060d2add3
*** cdt git genie on behalf of Anton Leherbauer *** Bug 364943 - java.lang.StringIndexOutOfBoundsException exception observed [*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=fc0097f13173d9961bc26c545fee74607528ee96