Bug 148611 The edit parameter dialog hang up in my case.
Reproduce: The attachment include a library and a report. 1. Put the library file under the resource folder, "D:/Actuate/BIRTs/200606260630/eclipse/plugins/org.eclipse.birt.report.designer.ui_2.1.0.N20060624-0630/resources/" in my application. 2. Open the report, preview in the embedded viewer. 3. The Edit parameter dialog hang up. (Notice: it is the extened "dynamic" parameter that cause the problem. My CPU reaches 100% ocuppation when rendering the dialog, while when I end up closing the dummy dialog, CPU doesn't seem to be released, still 100%. )
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/BirtViewerReportService.java
if ( reportDesignName.endsWith( "\\" ) 
							|| reportDesignName.endsWith( "/" ) ) 
						reportDesignName = null;
				}
			}
		}
		return reportDesignName;
	}
	/*
	 * Convert engine parameters (IScalarParameterDefn and IParameterGroupDefn)
	 * into service api parameters (ParameterDefinition and
	 * ParameterGroupDefinition)
	 * 
	 * @param params a Collection of IScalarParameterDefn or IParameterGroupDefn
	 * @param task the task to use to get selection list for a parameter @param
	 * includeGroups if true, include groups (ParameterGroupDefinition) in the
	 * result, otherwise flatten the result (i.e. include the contents of the
	 * groups in the result)
	 * 
	 * @return a Collection of ParameterDefinition and ParameterGroupDefinition,
	 * or a Collection of only ParameterDefinition if includeGroups == false
	 */
	private static Collection convertEngineParameters( Collection params,
			IGetParameterDefinitionTask task, boolean includeGroups )
	{
		if ( params == null )
			return Collections.EMPTY_LIST;
		List ret = new ArrayList( );
		for ( Iterator it = params.iterator( ); it.hasNext( ); )
		{