Bug 144153 [regression] drill through to a report with parameter does not work properly
steps to reproduce: - use the attached report design (new_report_2.rptdesign contains a drill through link) (new_report_3.rptdesign contains a parameter without default value) - preview new_report_2.rptdesign in HTML and PDF - click on Carine expected behavior: - drill through to new_report_3.rptdesign - parameter dialog should be displayed actual behavior: - browser internal error
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/context/ViewerAttributeBean.java
*            ScalarParameterHandle
	 * 
	 * @return
	 */
	protected String getParamValueAsString( HttpServletRequest request,
			ScalarParameterHandle parameter )
	{
		String paramName = parameter.getName( );
		String paramValue = null;
		if ( ParameterAccessor.isReportParameterExist( request, paramName ) )
		{
			
			paramValue = ParameterAccessor.getReportParameter( request,
					paramName, null );
		}
		if ( paramValue != null )
			return paramValue;
		Object paramValueObj = null;
		if ( isDesigner
				&& ( IBirtConstants.SERVLET_PATH_RUN.equalsIgnoreCase( request
						.getServletPath( ) ) || IBirtConstants.SERVLET_PATH_PARAMETER
						.equalsIgnoreCase( request.getServletPath( ) ) )
				&& this.configMap != null
				&& this.configMap.containsKey( paramName ) )
		{
			
			paramValueObj = this.configMap.get( paramName );
		}
		else if ( this.parameterMap != null
				&& this.parameterMap.containsKey( paramName ) )