Bug 214196 [Automation][Compatibility]Exception occurs when preview a old crosstab with measure sorting
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/DataEngineImpl.java
File[] tmpFiles = tmpDir.listFiles( );
		if ( tmpFiles != null )
		{
			for ( int i = 0; i < tmpFiles.length; i++ )
			{
				if ( !tmpFiles[i].delete( ) )
				{
					tmpFiles[i].deleteOnExit( );
				}
			}
		}
		if( !tmpDir.delete( ) )
		{
			tmpDir.deleteOnExit( );
		}
	}
	/**
	 * Gets the Scriptable object that implements the "report.dataSources" array
	 */
	
	public Scriptable getDataSourcesScriptObject( )
	{
		if ( dataSources == null )
		{
			IllegalStateException e = new IllegalStateException( "DataEngine has been shutdown" );
			logger.logp( Level.WARNING,
					DataEngineImpl.class.getName( ),
					"closeDataSource",
					"DataEngine has been shutdown",
					e );