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
{
					
					reportRunnable = BirtUtility.getRunnableFromDesignFile(
							request, this.reportDesignName, this.moduleOptions );
					if ( reportRunnable == null )
					{
						throw new ViewerException(
								ResourceConstants.GENERAL_EXCEPTION_REPORT_FILE_ERROR,
								new String[]{this.reportDesignName} );
					}
				}
				catch ( EngineException e )
				{
					this.exception = e;
				}
			}
		}
		if ( reportDocumentInstance != null )
		{
			this.documentInUrl = true;
			this.parameterMap = reportDocumentInstance.getParameterValues( );
			
			if ( !reportDocumentInstance.isComplete( ) && isReportExist )
				this.isDocumentProcessing = true;
			reportDocumentInstance.close( );
		}
		if ( reportRunnable != null )
		{
			design = new BirtViewerReportDesignHandle(
					IViewerReportDesignHandle.RPT_RUNNABLE_OBJECT,