Bug 6969 NPE in code formatter preference page
20011206 Open the code formatter preference page Go to the style tab Go to the number of spaces... field Backspace until the field is empty NPE
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeFormatterPreferencePage.java
for (int i= 0; i < fValues.length; i++) {
				if (value.equals(fValues[i])) {
					return i;
				}
			}
			throw new IllegalArgumentException();
		}
	}
	
	private Hashtable fWorkingValues;
	private ArrayList fCheckBoxes;
	private ArrayList fTextBoxes;
	
	private SelectionListener fButtonSelectionListener;
	private ModifyListener fTextModifyListener;
	
	private String fPreviewText;
	private IDocument fPreviewDocument;
	
	private Text fTabSizeTextBox;
	private SourceViewer fSourceViewer;
	
	public CodeFormatterPreferencePage() {
		setPreferenceStore(JavaPlugin.getDefault().getPreferenceStore());
		setDescription(JavaUIMessages.getString("CodeFormatterPreferencePage.description")); 
	
		fWorkingValues= JavaCore.getOptions();
		fCheckBoxes= new ArrayList();
		fTextBoxes= new ArrayList();