Bug 147407 Preview the attached report in the web viewer first time and then click the TOC button will cause NPE error
Description: It just can be reprouduced at first time preview. Step to reproduce: 1. please use attach report file 2. preview it in the web viewer 3. click the "Toggle table of contents" button Actual result: As the atteched screenshot shows,There is a NPE error.And if you preview it in the Web viewer again, the phenomenon is disappear.But reopen the eclipse and preview it at first time, it will be occured.
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/utility/ParameterAccessor.java
String name )
	{
		assert request != null && name != null;
		boolean isExist = false;
		Map paramMap = request.getParameterMap( );
		String ISOName = toISOString( name );
		if ( paramMap != null && paramMap.containsKey( ISOName ) )
		{
			isExist = true;
		}
		Set nullParams = getParameterValues( request, PARAM_ISNULL );
		if ( nullParams != null && nullParams.contains( name ) )
		{
			isExist = true;
		}
		return isExist;
	}
	/**
	 * If a report file name is a relative path, it is relative to working
	 * folder. So if a report file path is relative path, it's absolute path is
	 * synthesized by appending file path to the working folder path.
	 * 
	 * @param file
	 * @return
	 */
	protected static String createAbsolutePath( String filePath )
	{
		if ( isWorkingFolderAccessOnly || isRelativePath( filePath ) )
		{
			return workingFolder + File.separator + filePath;