Main
Main copied to clipboard
Preferences page throws index out of bounds exception when a project is closed
I enconted it in the next situation:
two project, test and test2. test is closed. I opened the preferences page and pressed configure tippers for test2, and got an index out of bound exception in:
at il.org.spartan.plugin.preferences.revision.PreferencesPage$ListSelectionEditor$2.onSelection(PreferencesPage.java:230)
at il.org.spartan.plugin.preferences.revision.PreferencesPage$ListSelectionEditor$2.widgetSelected(PreferencesPage.java:222)
A possible solution is to find the project by name, rather than by index.