Project: JDT
Bug 161577 [open type] StringIndexOutOfBoundsException "Searching for all types"
Reported: 2006-10-19 10:35:53 | Status: resolved fixed

Build id: I20061017-0800 * Opened the "Open type dialog" * Typed a capital "S" in the dialog java.lang.StringIndexOutOfBoundsException at java.lang.String.charAt(String.java:415) at org.eclipse.jdt.internal.ui.dialogs.TypeInfoViewer$TypeInfoComparator.compareName(TypeInfoViewer.java:176) at org.eclipse.jdt.internal.ui.dialogs.TypeInfoViewer$TypeInfoComparator.compare(TypeInfoViewer.java:157) at java.util.Arrays.mergeSort(Arrays.java:1322) at java.util.Arrays.mergeSort(Arrays.java:1311) at java.util.Arrays.mergeSort(Arrays.java:1310) at java.util.Arrays.mergeSort(Arrays.java:1310) at java.util.Arrays.mergeSort(Arrays.java:1310) at java.util.Arrays.mergeSort(Arrays.java:1311) at java.util.Arrays.mergeSort(Arrays.java:1311) at java.util.Arrays.mergeSort(Arrays.java:1311) at java.util.Arrays.mergeSort(Arrays.java:1311) at java.util.Arrays.sort(Arrays.java:1238) at org.eclipse.jdt.internal.ui.dialogs.TypeInfoViewer$SearchEngineJob.getSearchResult(TypeInfoViewer.java:682) at org.eclipse.jdt.internal.ui.dialogs.TypeInfoViewer$AbstractSearchJob.internalRun(TypeInfoViewer.java:571) at org.eclipse.jdt.internal.ui.dialogs.TypeInfoViewer$AbstractSearchJob.doRun(TypeInfoViewer.java:518) at org.eclipse.jdt.internal.ui.dialogs.TypeInfoViewer$AbstractJob.run(TypeInfoViewer.java:484) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)

Files changed in fix:
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TypeInfoViewer.java