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
path = "/" + path; 
			realPath = DataUtil.trimSepEnd( getRealPath( path, context ) );
		}
		else
		{
			
			realPath = DataUtil.trimSepEnd( path );
		}
		boolean flag = makeDir( realPath );
		
		if ( !canWrite )
			return realPath;
		
		if ( flag )
		{
			try
			{
				if ( canWrite && new File( realPath ).canWrite( ) )
					return realPath;
			}
			catch ( Exception e )
			{
			}
		}
		
		if ( isRelative )
		{
			realPath = DataUtil.trimSepEnd( System
					.getProperty( "java.io.tmpdir" ) ) + path; 
		}