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 ( sorting == SortOption.DESCENDING_LITERAL )
							{
								insertPoint = j + 1;
							}
						}
						else if ( cprt > 0 )
						{
							if ( sorting == SortOption.ASCENDING_LITERAL )
							{
								insertPoint = j + 1;
							}
						}
					}
					if ( !matched )
					{
						if ( sorting != null && insertPoint == -1 )
						{
							
							
							insertPoint = 0;
						}
						if ( insertPoint == -1
								|| insertPoint >= baseValue.size( ) )
						{
							
							
							baseValue.add( oValue );
							idx.add( new Integer( baseValue.size( ) - 1 ) );
						}
						else