Bug 19365 ArrayIndexOutOfBounds: editing Build Path .jar
F2 - File -> New -> Project... - Plug-in Development - Plug-in Project -> Next - set name="asd", Next - Next - select Hello World wizard, Next - Finish -> creates new Project "asd" - select it in the Packages view, right-click -> Properties... - go to Java Build Path page - go to contained Libraries tab - select any of the ECLIPSE_HOME... libraries shown in the list - press Edit... - press OK in the subsequent Variable Extension dialog, get the attached exception
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java
fCreateFolderField.setLabelText(NewWizardMessages.getString("LibrariesWorkbookPage.AdvancedDialog.createfolder")); 
			fAddFolderField= new SelectionButtonDialogField(SWT.RADIO);
			fAddFolderField.setLabelText(NewWizardMessages.getString("LibrariesWorkbookPage.AdvancedDialog.addfolder")); 
			fAddContainerField= new SelectionButtonDialogField(SWT.RADIO);
			fAddContainerField.setLabelText(NewWizardMessages.getString("LibrariesWorkbookPage.AdvancedDialog.addcontainer")); 
						
			String[] names= new String[fDescriptors.length];
			for (int i = 0; i < names.length; i++) {
				names[i]= fDescriptors[i].getName();
			}
			
			fCombo= new ComboDialogField(SWT.READ_ONLY);
			fCombo.setItems(names);
			
			fAddContainerField.attachDialogField(fCombo);
		
			int selected= fAdvSettings.getInt(DIALOGSTORE_SELECTED);
			fCreateFolderField.setSelection(selected == 0);
			fAddFolderField.setSelection(selected == 1);
			fAddContainerField.setSelection(selected == 2);
			fCombo.selectItem(fAdvSettings.getInt(DIALOGSTORE_CONTAINER_IDX));
		}
		/* 
		 * @see Window#create(Shell)
		 */
		protected void configureShell(Shell shell) {
			super.configureShell(shell);
			shell.setText(NewWizardMessages.getString("LibrariesWorkbookPage.AdvancedDialog.title")); 
		}
		protected Control createDialogArea(Composite parent) {