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
label = ParameterValidationUtil.getDisplayValue( null,
								parameterHandle.getPattern( ), value, attrBean
										.getLocale( ) );
					}
					selectItemChoice.setLabel( label );
					selectItemChoice.setValue( ParameterValidationUtil
							.getDisplayValue( value ) );
					selectionList.add( index++, selectItemChoice );
				}
			}
		}
		return selectionList;
	}
	protected void handleUpdate( CascadeParameter cascadeParameter )
	{
		Data data = new Data( );
		data.setCascadeParameter( cascadeParameter );
		UpdateData updateData = new UpdateData( );
		updateData.setTarget( "birtParameterDialog" ); 
		updateData.setData( data );
		Update update = new Update( );
		update.setUpdateData( updateData );
		response.setUpdate( new Update[]{update} );
	}
	protected IViewerReportService getReportService( )
	{
		return BirtReportServiceFactory.getReportService( );
	}
}