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
List remainingParamNames = new ArrayList( );
		String firstName = (String) params.keySet( ).iterator( ).next( );
		
		Collection paramDefs = attrBean.getParameterDefList( );
		ParameterDefinition paramDef = null;
		for ( Iterator it = paramDefs.iterator( ); it.hasNext( ); )
		{
			ParameterDefinition temp = (ParameterDefinition) it.next( );
			if ( temp.getName( ).equals( firstName ) )
			{
				paramDef = temp;
				break;
			}
		}
		if ( paramDef == null )
		{
			throw new ReportServiceException(
					BirtResources
							.getMessage(
									ResourceConstants.REPORT_SERVICE_EXCEPTION_INVALID_PARAMETER,
									new String[]{firstName} ) );
		}
		ParameterGroupDefinition group = paramDef.getGroup( );
		if ( group != null )
		{
			if ( group.getParameterCount( ) > params.size( ) )
			{
				int remainingParams = group.getParameterCount( )
						- params.size( );
				for ( int i = 0; i < remainingParams; i++ )