Bug 173389 Exception is thrown when edit the cascading parameter group[0002]
Exception is thrown when edit the cascading parameter group[0002] Build number: 2.2.0.v20070208-1000 Steps to reproduce: 1.new a sample data source and select CUSTOMERS table as data set 2.new a cascading parameter group and use the data set,select the CUSTOMERNAME ,drag the parameter to layout then preview 3.switch to data explorer ,click the parameter ,change the CUSTOMERNAME to CUSTOMERNUMBER 4.preview in layout Expected result: No exception thrown Actual result: Exception thrown Error log: see attached image
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/BirtViewerReportService.java
long pageNumber = doc.getPageNumber( objectId );
		doc.close( );
		return pageNumber;
	}
	/**
	 * @see org.eclipse.birt.report.service.api.IViewerReportService#runAndRenderReport(org.eclipse.birt.report.service.api.IViewerReportDesignHandle,
	 *      java.lang.String, org.eclipse.birt.report.service.api.InputOptions,
	 *      java.util.Map, java.io.OutputStream, java.util.List)
	 */
	public void runAndRenderReport( IViewerReportDesignHandle design,
			String outputDocName, InputOptions options, Map parameters,
			OutputStream out, List activeIds ) throws ReportServiceException
	{
		runAndRenderReport( design, outputDocName, options, parameters, out,
				activeIds, null );
	}
	/**
	 * @see org.eclipse.birt.report.service.api.IViewerReportService#runAndRenderReport(org.eclipse.birt.report.service.api.IViewerReportDesignHandle,
	 *      java.lang.String, org.eclipse.birt.report.service.api.InputOptions,
	 *      java.util.Map, java.io.OutputStream, java.util.List, java.util.Map)
	 */
	public void runAndRenderReport( IViewerReportDesignHandle design,
			String outputDocName, InputOptions options, Map parameters,
			OutputStream out, List activeIds, Map displayTexts )
			throws ReportServiceException
	{
		
		HttpServletRequest request = (HttpServletRequest) options
				.getOption( InputOptions.OPT_REQUEST );
		Locale locale = (Locale) options.getOption( InputOptions.OPT_LOCALE );