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
request, ParameterAccessor.PARAM_REPORT );
		
		if ( isDocumentExist && !isReportExist )
		{
			
			boolean isValidDocument = ParameterAccessor
					.isValidFilePath( this.reportDocumentName );
			if ( isValidDocument )
			{
				
				reportDocumentInstance = ReportEngineService.getInstance( )
						.openReportDocument( this.reportDesignName,
								this.reportDocumentName, this.moduleOptions );
				if ( reportDocumentInstance != null )
				{
					reportRunnable = reportDocumentInstance.getReportRunnable( );
				}
				else
				{
					throw new ViewerException(
							ResourceConstants.GENERAL_EXCEPTION_DOCUMENT_FILE_ERROR,
							new String[]{this.reportDocumentName} );
				}
			}
			else
			{
				throw new ViewerException(
						ResourceConstants.GENERAL_EXCEPTION_DOCUMENT_ACCESS_ERROR,
						new String[]{this.reportDocumentName} );
			}