Bug 135490 Error occurs when Preview Results of Inner Join datasets
Description: Create a sample datasource and dataset, and then create a Joint dataset. Error occurs when preview results in the data set dialog. Steps to reproduce: 1.Create a sample datasource, and a dataset with sql statement "select * from CLASSICMODELS.CUSTOMERS". 2.Create a Joint dataset, the left and right dataset is the same. 3.Preview result in the dataset dialog, error pops up continuely.
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/jointdataset/JoinConditionMatchUnit.java
/*******************************************************************************
 * Copyright (c) 2004, 2005 Actuate Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http:www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *  Actuate Corporation  - initial API and implementation
 *******************************************************************************/
package org.eclipse.birt.data.engine.impl.jointdataset;
import org.eclipse.birt.data.engine.api.IScriptExpression;
import org.eclipse.birt.data.engine.core.DataException;
import org.eclipse.birt.data.engine.odi.IResultIterator;
import org.eclipse.birt.data.engine.script.ScriptEvalUtil;
import org.mozilla.javascript.Context;
import org.mozilla.javascript.Scriptable;
/**
 * Utility class which is used by IJoinConditionMatcher.
 */
public class JoinConditionMatchUnit
{
	
	private String columnName = null;
	private IResultIterator ri = null;
	private IScriptExpression expr = null;