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/service/actionhandler/BirtGetCascadeParameterActionHandler.java
Operation operation, GetUpdatedObjectsResponse response )
	{
		super( context, operation, response );
	}
	protected void __execute( ) throws RemoteException
	{
		ViewerAttributeBean attrBean = (ViewerAttributeBean) context.getBean( );
		assert attrBean != null;
		Oprand[] params = operation.getOprand( );
		Map paramMap = new LinkedHashMap( );
		InputOptions options = new InputOptions( );
		options.setOption( InputOptions.OPT_REQUEST, context.getRequest( ) );
		IViewerReportDesignHandle designHandle = attrBean
				.getReportDesignHandle( context.getRequest( ) );
		Map cascParamMap = null;
		try
		{
			for ( int i = 0; i < params.length; i++ )
			{
				Oprand param = params[i];
				String paramName = param.getName( );
				
				
				ScalarParameterHandle parameterHandle = (ScalarParameterHandle) attrBean
						.findParameter( paramName );
				if ( parameterHandle == null )
					continue;
				
				Object paramValue = ParameterValidationUtil.validate(
						parameterHandle.getDataType( ),