Bug 164586 [compatibility]Preview attached report throws multiple exception[0901]
data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/internal/adapter/DataAdapterUtil.java
{
					String defaultValueExpr = null;
					if ( modelParam instanceof OdaDataSetParameterHandle
							&& ( (OdaDataSetParameterHandle) modelParam ).getParamName( ) != null )
					{
						defaultValueExpr = ExpressionUtil.createJSParameterExpression( ( ( (OdaDataSetParameterHandle) modelParam ).getParamName( ) ) );
					}
					else
						defaultValueExpr = modelParam.getDefaultValue( );
					if ( defaultValueExpr != null )
						paramBindingCandidates.put( modelParam.getName( ),
								defaultValueExpr );
				}
			}
		}
		
		elmtIter = modelDataSet.paramBindingsIterator( );
		if ( elmtIter != null )
		{
			while ( elmtIter.hasNext( ) )
			{
				ParamBindingHandle modelParamBinding = ( ParamBindingHandle ) elmtIter
						.next( );
				
				paramBindingCandidates.put( modelParamBinding.getParamName( ),
						modelParamBinding.getExpression( ) );
			}
		}
		
		if ( paramBindingCandidates.size( ) > 0 )