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
String colName = (String) i.next( );
					buf.append( colName );
					buf.append( ',' );
				}
				buf.deleteCharAt( buf.length( ) - 1 );
				throw new DataException( ResourceConstants.RESULT_CLASS_SAVE_ERROR,
						buf.toString( ) );
			}
			
			dos.close( );
		}
		catch ( IOException e )
		{
			throw new DataException( ResourceConstants.RD_SAVE_ERROR,
					e,
					"Result Class" );
		}
	}
	
	public int getFieldCount()
	{
		return m_fieldCount;
	}
	
	
	public String[] getFieldNames()
	{
		return doGetFieldNames();
	}
	private String[] doGetFieldNames()