Bug 147819 Dynamic parameter, if value column datas include null datas, preview, system throws exception
Dynamic parameter, if value column datas include null datas, preview, system throws exception Step: data source: sample DB data set: select * from CLASSICMODELS.CUSTOMERS 1.Create a dynamic parameter 2.Display type select List Box, value columm select "State"; display text select "CUSTOMERNAME"; 3.Preview in html Actual Results: 1.System throws Http status 500 exception
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/presentation/aggregation/parameter/ComboBoxParameterFragment.java
* Protected constructor.
	 * 
	 * @param parameter
	 *            parameter definition reference.
	 */
	public ComboBoxParameterFragment( ParameterDefinition parameter )
	{
		super( parameter );
	}
	protected void prepareParameterBean( HttpServletRequest request,
			IViewerReportService service, ScalarParameterBean parameterBean,
			Locale locale ) throws ReportServiceException
	{
		ViewerAttributeBean attrBean = (ViewerAttributeBean) request
				.getAttribute( IBirtConstants.ATTRIBUTE_BEAN );
		assert attrBean != null;
		InputOptions options = new InputOptions( );
		options.setOption( InputOptions.OPT_REQUEST, request );
		Collection selectionList = null;
		ParameterDefinition paramDef = parameterBean.getParameter( );
		if ( paramDef.getGroup( ) != null && paramDef.getGroup( ).cascade( ) )
		{
			Map paramValues = attrBean.getParameters( );
			selectionList = getParameterSelectionListForCascadingGroup(
					attrBean.getReportDesignHandle( request ), service,
					paramValues, options );
		}
		else
			selectionList = service.getParameterSelectionList( attrBean
					.getReportDesignHandle( request ), options, parameter