Main icon indicating copy to clipboard operation
Main copied to clipboard

Preferences page throws index out of bounds exception when a project is closed

Open NivShalmon opened this issue 8 years ago • 0 comments

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.

NivShalmon avatar Jun 20 '17 09:06 NivShalmon