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
// create left bottom part format code pane
		formatCodeComp = new Composite( content, SWT.NONE );
		data = new GridData( GridData.FILL_VERTICAL );
		data.widthHint = DEFAULT_CATEGORY_CONTAINER_WIDTH;
		formatCodeComp.setLayoutData( data );
		formatCodeComp.setLayout( new StackLayout( ) );
		createFormatCodePages( formatCodeComp );
		createCategoryPatterns( );
		setInput( null, null );
		setPreviewText( DEFAULT_PREVIEW_TEXT );
	}
	/**
	 * Creates info panes for each format type choicer, adds them into paneMap
	 * for after getting.
	 * 
	 * @param parent
	 *            Parent contains these info panes.
	 */
	private void createCategoryPages( Composite parent )
	{
		categoryPageMaps = new HashMap( );
		categoryPageMaps.put( provider.NUMBER_FORMAT_TYPE_UNFORMATTED,
				getGeneralPage( parent ) );
		categoryPageMaps.put( provider.NUMBER_FORMAT_TYPE_GENERAL_NUMBER,
				getGeneralPage( parent ) );
		categoryPageMaps.put( provider.NUMBER_FORMAT_TYPE_CURRENCY,
				getCurrencyPage( parent ) );
		categoryPageMaps.put( provider.NUMBER_FORMAT_TYPE_FIXED,
				getFixedPage( parent ) );
		categoryPageMaps.put( provider.NUMBER_FORMAT_TYPE_PERCENT,