Bug 180608 [Regression]NPE throws out when preview the result in dataset[07]
Description: [Regression]NPE throws out when preview the result in dataset[07] Build number: 2.2.0.v20070403-0630 Steps to reproduce: 1, Use attached report 2, Edit Data Set 3, Preview the Data Set Expected result: The preview should be success Actual result: NPE throws out Error log:
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/ResultClass.java
* Contributors:
*  Actuate Corporation  - initial API and implementation
*******************************************************************************/ 
package org.eclipse.birt.data.engine.executor;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.eclipse.birt.core.data.DataType.AnyType;
import org.eclipse.birt.core.util.IOUtil;
import org.eclipse.birt.data.engine.core.DataException;
import org.eclipse.birt.data.engine.executor.cache.ResultSetUtil;
import org.eclipse.birt.data.engine.i18n.ResourceConstants;
import org.eclipse.birt.data.engine.odi.IResultClass;
/**
 * <code>ResultClass</code> contains the metadata about 
 * the projected columns in the result set.
 */
public class ResultClass implements IResultClass
{
	private ResultFieldMetadata[] projectedCols;
	private int m_fieldCount;