Bug 150899 Cannot bind data values to chart series, which causes chart preview fail.
How to reproduce it? 1. Create a new chart, bind it with valid data set. 2. Assign the valid data values to category series and value series. Current result: 1. There is no chart live preview in chart builder. It still uses the default sample data. 2. Preview, dataset invalid exception is thrown out. Investigation: It is perhaps caused by ResultSetWrapper.java. There is no initializeMeta( ) in the Constructor.
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/internal/datafeed/ResultSetWrapper.java
if ( baseReference == null )
			{
				
				baseReference = ChartUtil.stringValue( ( (Object[]) resultSet.get( iStartIndex ) )[iSortColumnIndex] );
			}
			Object[] oaTuple, oaSummarizedTuple = null;
			int iGroupIndex = 0, iLastGroupIndex = 0, iGroupCounter = 0;
			boolean bFirst = true, bGroupBreak = false;
			List trashList = new ArrayList( );
			for ( int j = iStartIndex; j < iEndIndex; j++ )
			{
				oaTuple = (Object[]) resultSet.get( j );
				if ( oaTuple[iSortColumnIndex] != null )
				{
					String dBaseValue = String.valueOf( oaTuple[iSortColumnIndex] );
					if ( !dBaseValue.equals( baseReference ) )
					{
						iGroupCounter++;
						baseReference = dBaseValue;
					}
					if ( iGroupCounter > iGroupingInterval )
					{
						iGroupIndex++;
					}
				}
				else
				{
					
					if ( baseReference != null )
					{