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
addCheckBox(newlineComposite, label, PREF_NEWLINE_CONTROL_STATEMENT, insertNotInsert);	
		label= JavaUIMessages.getString("CodeFormatterPreferencePage.newline_clear_lines"); 
		addCheckBox(newlineComposite, label, PREF_NEWLINE_CLEAR_ALL, new String[] { CLEAR_ALL, PRESERVE_ONE } );	
		label= JavaUIMessages.getString("CodeFormatterPreferencePage.newline_else_if.label"); 
		addCheckBox(newlineComposite, label, PREF_NEWLINE_ELSE_IF, insertNotInsert);	
		label= JavaUIMessages.getString("CodeFormatterPreferencePage.newline_empty_block.label"); 
		addCheckBox(newlineComposite, label, PREF_NEWLINE_EMPTY_BLOCK, insertNotInsert);	
		
		layout= new GridLayout();
		layout.numColumns= 2;	
		
		Composite lineSplittingComposite= new Composite(folder, SWT.NULL);
		lineSplittingComposite.setLayout(layout);
		label= JavaUIMessages.getString("CodeFormatterPreferencePage.split_line.label"); 
		addTextField(lineSplittingComposite, label, PREF_LINE_SPLIT);
		layout= new GridLayout();
		layout.numColumns= 2;	
		
		Composite styleComposite= new Composite(folder, SWT.NULL);
		styleComposite.setLayout(layout);
		
		label= JavaUIMessages.getString("CodeFormatterPreferencePage.style_compact_assignement.label"); 
		addCheckBox(styleComposite, label, PREF_STYLE_COMPACT_ASSIGNEMENT, new String[] { COMPACT, NORMAL } );		
		label= JavaUIMessages.getString("CodeFormatterPreferencePage.tab_char.label"); 
		addCheckBox(styleComposite, label, PREF_TAB_CHAR, new String[] { TAB, SPACE } );		
		label= JavaUIMessages.getString("CodeFormatterPreferencePage.tab_size.label"); 
		fTabSizeTextBox= addTextField(styleComposite, label, PREF_TAB_SIZE);		
		TabItem item= new TabItem(folder, SWT.NONE);
		item.setText(JavaUIMessages.getString("CodeFormatterPreferencePage.tab.newline.tabtitle")); 
		item.setImage(JavaPluginImages.get(JavaPluginImages.IMG_OBJS_IMPDECL));