1. Why does JComboBox.removeAllItems() throw NullPointerException? stackoverflow.comjComboBox.removeAllItems does not complain until after items are added (it gets called once before the JComboBox is populated from a configuration file). Stepping through this code I see jComboBox.removeAllItems calls JComboBox.removeAllItems ... |