Bug 140974 bad assert in ScalarParameterFragment
The following assert appears around line 98 in org.eclipse.birt.report.viewer.aggregation.parameter.ScalarParameterFragment assert paramDefaultValueObj instanceof String; If the report does not have a default value for the parameter in the report, then this assert fails even though the code that follows it explicitly handles a null value. Since null is a valid value, the assert should be assert (paramDefaultValueObj == null) || (paramDefaultValueObj instanceof String);
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/utility/ParameterAccessor.java
/**
	 * Flag indicating that if user can only access the file in working folder.
	 */
	protected static boolean isWorkingFolderAccessOnly = true;
	/**
	 * Get bookmark. If page exists, ignore bookmark.
	 * 
	 * @param request
	 * @return the bookemark
	 */
	public static String getBookmark( HttpServletRequest request )
	{
		int page = getParameterAsInt( request, PARAM_PAGE );
		return page < 1
				? getReportParameter( request, PARAM_BOOKMARK, null )
				: null;
	}
	/**
	 * Get query string with new parameter value.
	 * 
	 * @param request
	 *            http request
	 * @param name
	 *            parameter name
	 * @param value
	 *            default parameter value
	 * @return new query string with new parameter value
	 */
	public static String getEncodedQueryString( HttpServletRequest request,
			String name, String value )