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 ( i == groupBreaks.length )
					{
						endGroupIndex = totalCount;
					}
					else
					{
						endGroupIndex = groupBreaks[i];
					}
					tmpList.clear( );
					
					for ( int j = startGroupIndex; j < endGroupIndex; j++ )
					{
						tmpList.add( resultSet.get( j ) );
					}
					Collections.sort( tmpList, this );
					
					for ( int k = 0; k < tmpList.size( ); k++ )
					{
						resultSet.set( startGroupIndex + k, tmpList.get( k ) );
					}
					startGroupIndex = endGroupIndex;
				}
			}
		}
		/*
		 * (non-Javadoc)
		 * 
		 * @see java.util.Comparator#compare(java.lang.Object, java.lang.Object)
		 */
		public final int compare( Object o1, Object o2 )