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
{
		Group setting;
		if ( !isFormStyle( ) )
			setting = new Group( parent, SWT.NONE );
		else
			setting = FormWidgetFactory.getInstance( ).createGroup( parent, "" );
		setting.setText( LABEL_CURRENCY_SETTINGS_GROUP );
		setting.setLayoutData( createGridData4Part( ) );
		GridLayout layout = new GridLayout( 2, false );
		if(isFormStyle( )){
			layout.marginHeight =3;
			layout.verticalSpacing = 4;
		}
		else{
			layout.marginHeight = 0;
			layout.verticalSpacing = 1;
		}
		setting.setLayout( layout );
		FormWidgetFactory.getInstance( )
				.createLabel( setting, isFormStyle( ) )
				.setText( LABEL_DECIMAL_PLACES );
		if ( !isFormStyle( ) )
			cPlacesChoice = new CCombo( setting, SWT.BORDER
					| SWT.SINGLE
					| SWT.V_SCROLL );
		else
			cPlacesChoice = FormWidgetFactory.getInstance( )
					.createCCombo( setting, false );
		cPlacesChoice.setItems( new String[]{
				"0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10"  //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ //$NON-NLS-6$ //$NON-NLS-7$ //$NON-NLS-8$ //$NON-NLS-9$ //$NON-NLS-10$ //$NON-NLS-11$