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
private static final String DIALOGSTORE_ADV_SECTION= "LibrariesWorkbookPage.advanced"; 
		private static final String DIALOGSTORE_SELECTED= "selected"; 
		private static final String DIALOGSTORE_CONTAINER_IDX= "containerindex"; 
		private DialogField fLabelField;
		private SelectionButtonDialogField fCreateFolderField;
		private SelectionButtonDialogField fAddFolderField;
		private SelectionButtonDialogField fAddContainerField;
		private ComboDialogField fCombo;
		private CPListElement[] fResult;
		
		private IDialogSettings fAdvSettings;
		
		private ClasspathContainerDescriptor[] fDescriptors;
		public AdvancedDialog(Shell parent) {
			super(parent);
			
			fAdvSettings= fDialogSettings.getSection(DIALOGSTORE_ADV_SECTION);
			if (fAdvSettings == null) {
				fAdvSettings= fDialogSettings.addNewSection(DIALOGSTORE_ADV_SECTION);
				fAdvSettings.put(DIALOGSTORE_SELECTED, 2); 
				fAdvSettings.put(DIALOGSTORE_CONTAINER_IDX, 0);
			}		
			
			fDescriptors= ClasspathContainerDescriptor.getDescriptors();
			
			fLabelField= new DialogField();
			fLabelField.setLabelText(NewWizardMessages.getString("LibrariesWorkbookPage.AdvancedDialog.description")); 
			
			fCreateFolderField= new SelectionButtonDialogField(SWT.RADIO);