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/src/org/eclipse/birt/report/viewer/utilities/WebViewer.java
*/
	private static String getBaseURL( )
	{
		return "http://" + WebappAccessor.getHost( ) + ":" 
				+ WebappAccessor.getPort( ) + "/viewer/"; 
	}
	/**
	 * Create web viewer url to run the report.
	 * 
	 * @param servletName
	 *            servlet name to viewer report
	 * @param report
	 *            report file name
	 * @param format
	 *            report format
	 * @return valid web viewer url
	 */
	private static String createURL( String servletName, String report,
			String format, boolean inDesigner )
	{
		String encodedReportName = null;
		try
		{
			encodedReportName = URLEncoder.encode( report, "utf-8" ); 
		}
		catch ( UnsupportedEncodingException e )
		{
			
		}
		String locale = ViewerPlugin.getDefault( ).getPluginPreferences( )