Bug 167688 Setting number format on multiple elements gives NPE
If I select multiple data elements (for example one in each table cell) using the shift key, then try to 'format number' on those in the properties tab, I get a null pointer exception. An unexpected internal exception occurred.Please see log for detail. Plug-in Provider:Eclipse.org Plug-in Name:BIRT Designer UI Plug-in ID:org.eclipse.birt.report.designer.ui Version:2.2.0.v20061211-0630 Error Code:Error.GUIException.invokedByUnexpectedException Error Message:Caused by java.lang.NullPointerException.
UI/org.eclipse.birt.report.designer.ui.views/src/org/eclipse/birt/report/designer/internal/ui/views/attributes/widget/FormatNumberDescriptor.java
private String oldPattern = null;
	private HashMap categoryPageMaps;
	private HashMap categoryPatternMaps;
	private static final int FORMAT_TYPE_INDEX = 0;
	private static final int DEFAULT_CATEGORY_CONTAINER_WIDTH = 220;
	private static final String DEFAULT_PREVIEW_TEXT = "1234.56"; 
	private static final double DEFAULT_PREVIEW_NUMBER = Double.parseDouble( DEFAULT_PREVIEW_TEXT );
	private static String[] symbols = {
			// "none", "��","$", "?", "��"
			Messages.getString( "FormatNumberPage.currency.symbol.none" ), "\uffe5", "$", "\u20ac", "\uffe1" //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$
	};
	private CCombo typeChoicer;
	private Composite infoComp;
	private Composite formatCodeComp;
	private Composite generalPage;
	private Composite currencyPage;
	private Composite fixedPage;
	private Composite percentPage;
	private Composite scientificPage;
	private Composite customPage;
	private Composite generalFormatCodePage;
	private Composite customFormatCodePage;
	private Text previewTextBox;
	private Text formatCodeBox;
	private Label gPreviewLabel, cPreviewLabel, fPreviewLabel, pPreviewLabel,
			sPreviewLabel, cusPreviewLabel;
	private CCombo cPlacesChoice, cSymbolChoice, cSymPosChoice, fPlacesChoice,
			pSymPosChoice, pPlacesChoice, sPlacesChoice;
	private Button cUseSep, pUseSep, fUseSep; // fUseZero, pUseZero;
	private List cNegNumChoice, fNegNumChoice, pNegNumChoice;