JetBrains/intellij-community · error · ConfigurationException
End index is less than start index
Error message
End index is less than start index
What it means
Error "End index is less than start index" thrown in JetBrains/intellij-community.
Source
Thrown at java/debugger/impl/src/com/intellij/debugger/settings/ArrayRendererConfigurable.java:66
myEntriesLimit.setText(String.valueOf(myRenderer.ENTRIES_LIMIT));
}
@Override
public void apply() throws ConfigurationException {
applyTo(myRenderer, true);
}
private void applyTo(ArrayRenderer renderer, boolean showBigRangeWarning) throws ConfigurationException {
int newStartIndex = getInt(myStartIndex);
int newEndIndex = getInt(myEndIndex);
int newLimit = getInt(myEntriesLimit);
if (newStartIndex < 0) {
throw new ConfigurationException(JavaDebuggerBundle.message("error.array.renderer.configurable.start.index.less.than.zero"));
}
if (newEndIndex < newStartIndex) {
throw new ConfigurationException(JavaDebuggerBundle.message("error.array.renderer.configurable.end.index.less.than.start"));
}
if (newLimit <= 0) {
newLimit = 1;
}
if (showBigRangeWarning && (newEndIndex - newStartIndex > 10000)) {
final int answer = Messages.showOkCancelDialog(
myPanel.getRootPane(),
JavaDebuggerBundle.message("warning.range.too.big", ApplicationNamesInfo.getInstance().getProductName()),
JavaDebuggerBundle.message("title.range.too.big"),
Messages.getWarningIcon());
if (answer != Messages.OK) {
return;
}
}
renderer.START_INDEX = newStartIndex;View on GitHub (pinned to be881553f2)
Solutions
- Set the end index to a value greater than or equal to the start index.
Example fix
Start index 0, end index 100 in the array renderer range settings.
When it happens
Trigger: The array renderer range is validated with end index smaller than start index.
Common situations: Entering an end index below the start index in debugger array display settings.
AI-assisted analysis of JetBrains/intellij-community@be881553f2 (2026-08-14).
Data as JSON: /api/errors/e5e97e72ec5b0720.
Report an issue: GitHub.