diff --git a/java/execution/impl/src/com/intellij/execution/ui/JrePathEditor.java b/java/execution/impl/src/com/intellij/execution/ui/JrePathEditor.java index 3f27a4f350a1..5c854964c827 100644 --- a/java/execution/impl/src/com/intellij/execution/ui/JrePathEditor.java +++ b/java/execution/impl/src/com/intellij/execution/ui/JrePathEditor.java @@ -108,7 +108,9 @@ public class JrePathEditor extends JPanel implements PanelWithAnchor { comboBox.setRenderer(new ColoredListCellRendererWrapper() { @Override protected void doCustomize(JList list, JreComboBoxItem value, int index, boolean selected, boolean hasFocus) { - value.render(this, selected); + if (value != null) { + value.render(this, selected); + } } }); myComboboxEditor = new JreComboboxEditor(myComboBoxModel);