Bug 173224 [regression] preview attached report caused data exception
steps to reproduce: - preview attached report within deployed birt report viewer expected behavior: - report is rendered properly actual behavior: - exception thrown in console, although report was rendered
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/actionhandler/BirtGetCascadeParameterActionHandler.java
ParameterDefinition parameter = attrBean
					.findParameterDefinition( paramName );
			Iterator iList = list.iterator( );
			int index = 0;
			while ( iList != null && iList.hasNext( ) )
			{
				ParameterSelectionChoice item = (ParameterSelectionChoice) iList
						.next( );
				if ( item != null && item.getValue( ) != null )
				{
					SelectItemChoice selectItemChoice = new SelectItemChoice( );
					Object value = item.getValue( );
					String label = item.getLabel( );
					if ( value == null )
						continue;
					if ( label == null || label.length( ) <= 0 )
					{
						
						
						
						label = ParameterValidationUtil.getDisplayValue( null,
								parameter.getPattern( ), value, attrBean
										.getLocale( ) );
					}
					else
					{
						
						label = ParameterValidationUtil.getDisplayValue( null,
								parameter.getPattern( ), label, attrBean
										.getLocale( ) );