Bug 175776 [smoke]Can not export data in Web viewer[02]
Description: No data is exported after export data from Web viewer Build number: 2.2.0.v20070228-0630 Steps to reproduce: 1, Drag a dataset into layout 2, Preview the report in Web Viewer 3, Click Export Data 4, Select the columns and click OK button 5, Open the exportdata.csv Expected result: The data of column are exported in the csv file Actual result: <html><head><title>Error</title><body><font color="red">java.lang.NullPointerException</font></body></html> in the csv file Error log:
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/context/ViewerAttributeBean.java
}
				handle.close( );
			}
		}
		catch ( Exception e )
		{
		}
	}
	/**
	 * if parameter existed in config file, return the correct parameter name
	 * 
	 * @param configVarName
	 *            String
	 * @param parameterList
	 *            Collection
	 * @return String
	 */
	private String getParameterName( String configVarName,
			Collection parameterList ) throws ReportServiceException
	{
		String paramName = null;
		if ( parameterList != null )
		{
			for ( Iterator iter = parameterList.iterator( ); iter.hasNext( ); )
			{
				ParameterDefinition parameter = (ParameterDefinition) iter
						.next( );
				
				String curName = null;
				if ( parameter != null && parameter.getName( ) != null )