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
{
					curName = parameter.getName( ) + "_" + parameter.getId( ); 
				}
				
				if ( curName != null
						&& curName.equalsIgnoreCase( configVarName ) )
				{
					paramName = parameter.getName( );
					break;
				}
			}
		}
		return paramName;
	}
	/**
	 * Returns the report design handle
	 * 
	 * @param request
	 * @throws Exception
	 * @return Report Design Handle
	 */
	protected IViewerReportDesignHandle getDesignHandle(
			HttpServletRequest request ) throws Exception
	{
		IViewerReportDesignHandle design = null;
		IReportRunnable reportRunnable = null;
		IReportDocument reportDocumentInstance = null;
		boolean isDocumentExist = ParameterAccessor.isReportParameterExist(
				request, ParameterAccessor.PARAM_REPORT_DOCUMENT );
		boolean isReportExist = ParameterAccessor.isReportParameterExist(