Iterator configVars = handle.configVariablesIterator( ); while ( configVars.hasNext( ) )
if ( handle != null )
	protected void parseConfigVars( HttpServletRequest request )	{		// get report config filename		String reportConfigName = this.reportDesignName.replaceFirst(				IBirtConstants.SUFFIX_DESIGN_FILE,				IBirtConstants.SUFFIX_DESIGN_CONFIG );		// Generate the session handle		SessionHandle sessionHandle = DesignEngine.newSession( ULocale				.getDefault( ) );		ReportDesignHandle handle = null;		try		{			this.configMap = new HashMap( );			// Open report config file			handle = sessionHandle.openDesign( reportConfigName );			// initial config map			Iterator configVars = handle.configVariablesIterator( );			while ( configVars.hasNext( ) )			{				ConfigVariableHandle configVar = (ConfigVariableHandle) configVars						.next( );				if ( configVar != null && configVar.getName( ) != null )				{					this.configMap.put( configVar.getName( ), configVar							.getValue( ) );				}			}			handle.close( );		}		catch ( Exception e )		{			try			{				handle.close( );			}			catch ( Exception err )			{			}		}	}