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
setInput( fmtStr, fmtStr );
			return;
		}
		String category = fmtStr.substring( 0, pos );
		String patternStr = fmtStr.substring( pos + 1 );
		setInput( category, patternStr );
		return;
	}
	/**
	 * Sets input of the page.
	 * 
	 * @param categoryStr
	 *            The category of the format string.
	 * @param patternStr
	 *            The pattern of the format string.
	 */
	public void setInput( String categoryStr, String patternStr )
	{
		hasLoaded = false;
		initiatePageLayout( categoryStr, patternStr );
		// re layout sub page.
		reLayoutSubPages( );
		updatePreview( );
		// set initial.
		oldCategory = categoryStr;
		oldPattern = patternStr;
		hasLoaded = true;
		return;
	}
	/*