Bug 179636 [Smoke] Chart can not be previewed [0001]
Description: Chart can not be previewed Build number: 2.2.0.v20070328-0630 Steps to reproduce: 1. New a chart, preview. Expected result: Chart is displayed correctly. Actual result: Chart can not be previewed. Error log: N/A
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/utility/ParameterAccessor.java
{
			maxRows = Integer.valueOf( s_maxRows ).intValue( );
		}
		catch ( NumberFormatException e )
		{
			maxRows = -1;
		}
		
		birtResourceFolder = processRealPath( context, context
				.getInitParameter( INIT_PARAM_BIRT_RESOURCE_PATH ), null, false );
		
		String s_overwrite = DataUtil.trimString( context
				.getInitParameter( INIT_PARAM_OVERWRITE_DOCUMENT ) );
		if ( "true".equalsIgnoreCase( s_overwrite ) ) 
		{
			isOverWrite = true;
		}
		else
		{
			isOverWrite = false;
		}
		
		initProps = initViewerProps( context, initProps );
		
		String flag = DataUtil.trimString( context
				.getInitParameter( INIT_PARAM_PRINT_SERVERSIDE ) );
		if ( IBirtConstants.VAR_ON.equalsIgnoreCase( flag ) )
		{
			isSupportedPrintOnServer = true;
		}