Bug 135848 Set a row to Y series, then delete the row, error message shoule be pop up.
Set a row to Y series, then delete the row, error message shoule be pop up. Steps: 1.Create a bar chart 2.Open Chart Builder, go to "Select Data" tab, select a data set, click "Data Binding..." button, add a new row["a"] 3.Set row["a"] to Y series 4.Then click "Data Binding..." button, delete row["a"] 5.Click "Finish" button 6.Preview or Double click the chart Actual Results: 1.Have no error message, chart can not be previewed Expected Results: 1.Error message should be pop up.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/data/dte/NativeRowObject.java
/*******************************************************************************
 * Copyright (c) 2004 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.report.engine.data.dte;
import java.util.Iterator;
import java.util.LinkedList;
import org.eclipse.birt.core.exception.BirtException;
import org.eclipse.birt.data.engine.api.IResultMetaData;
import org.eclipse.birt.report.engine.data.IResultSet;
import org.mozilla.javascript.Scriptable;
/**
 * Represents the scriptable object for Java object which implements the
 * interface <code>Map</code>.
 * 
 * @version $Revision: 1.1 $ $Date: 2006/04/06 12:35:24 $
 */
public class NativeRowObject implements Scriptable