Bug 124238 Grid without data binding will throw npe and break report.
In GridItemExecutor the following line of code will throw npe if there is no result set: IResultIterator rsIterator = ( ( DteResultSet ) rset ).getResultIterator( ); Need a null check. This is very serious, it will break reports with grids that don't have data binding. I consider this a showstopper for the 2.0 release.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/GridItemExecutor.java
import org.eclipse.birt.report.engine.api.script.IRowData;
import org.eclipse.birt.report.engine.content.ICellContent;
import org.eclipse.birt.report.engine.content.IContent;
import org.eclipse.birt.report.engine.content.IRowContent;
import org.eclipse.birt.report.engine.content.ITableBandContent;
import org.eclipse.birt.report.engine.content.ITableContent;
import org.eclipse.birt.report.engine.content.impl.TableContent;
import org.eclipse.birt.report.engine.content.impl.RowContent;
import org.eclipse.birt.report.engine.content.impl.CellContent;
import org.eclipse.birt.report.engine.content.impl.Column;
import org.eclipse.birt.report.engine.data.dte.DteResultSet;
import org.eclipse.birt.report.engine.emitter.IContentEmitter;
import org.eclipse.birt.report.engine.ir.CellDesign;
import org.eclipse.birt.report.engine.ir.ColumnDesign;
import org.eclipse.birt.report.engine.ir.GridItemDesign;
import org.eclipse.birt.report.engine.ir.IReportItemVisitor;
import org.eclipse.birt.report.engine.ir.ReportItemDesign;
import org.eclipse.birt.report.engine.ir.RowDesign;
import org.eclipse.birt.report.engine.script.internal.CellScriptExecutor;
import org.eclipse.birt.report.engine.script.internal.GridScriptExecutor;
import org.eclipse.birt.report.engine.script.internal.RowData;
import org.eclipse.birt.report.engine.script.internal.RowScriptExecutor;
/**
 * the gridItem excutor
 * 
 * @version $Revision: 1.27 $ $Date: 2006/01/05 21:19:32 $
 */
public class GridItemExecutor extends QueryItemExecutor
{
	/**