Bug 121032 [Regressiong][Smoke]Error pop up in Engine Smoke Test
Description: Error pop up in Engine Smoke Test Step: 1. run attached file to generate html file. Actual result: Much of engine smoke test case appear the same error. Dec 15, 2005 10:08:16 AM org.eclipse.birt.core.util.BirtTimer logTimeTaken INFO: Engine startup takes 766 Milliseconds. Dec 15, 2005 10:08:20 AM org.eclipse.birt.report.engine.script.internal.TableScriptExecutor handleOnRender WARNING: org.eclipse.birt.report.model.api.GridHandle java.lang.ClassCastException: org.eclipse.birt.report.model.api.GridHandle at org.eclipse.birt.report.engine.script.internal.TableScriptExecutor.handleOnRender(TableScriptExecutor.java:78) at org.eclipse.birt.report.engine.presentation.LocalizedEmitter.startTable(LocalizedEmitter.java:261) at org.eclipse.birt.report.engine.presentation.WrappedEmitter.startTable(WrappedEmitter.java:261) at org.eclipse.birt.report.engine.presentation.DefaultPaginationEmitter.startTable(DefaultPaginationEmitter.java:153) at org.eclipse.birt.report.engine.executor.GridItemExecutor.execute(GridItemExecutor.java:125) at org.eclipse.birt.report.engine.executor.ReportExecutorVisitor.visitGridItem(ReportExecutorVisitor.java:172) at org.eclipse.birt.report.engine.ir.GridItemDesign.accept(GridItemDesign.java:117) at org.eclipse.birt.report.engine.executor.ReportExecutor.execute(ReportExecutor.java:161) at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:199) at org.eclipse.birt.report.engine.api.ReportRunner.runAndRenderReport(ReportRunner.java:232) at org.eclipse.birt.report.engine.api.ReportRunner.execute(ReportRunner.java:158) at org.eclipse.birt.report.engine.api.ReportRunner.main(ReportRunner.java:129) Dec 15, 2005 10:08:20 AM org.eclipse.birt.report.engine.script.internal.LabelScriptExecutor handleOnRender WARNING: org.eclipse.birt.report.model.api.TextItemHandle java.lang.ClassCastException: org.eclipse.birt.report.model.api.TextItemHandle at org.eclipse.birt.report.engine.script.internal.LabelScriptExecutor.handleOnRender(LabelScriptExecutor.java:78) at org.eclipse.birt.report.engine.presentation.LocalizedEmitter.startLabel(LocalizedEmitter.java:366) at org.eclipse.birt.report.engine.presentation.WrappedEmitter.startLabel(WrappedEmitter.java:326) at org.eclipse.birt.report.engine.presentation.DefaultPaginationEmitter.startLabel(DefaultPaginationEmitter.java:230) at org.eclipse.birt.report.engine.executor.TextItemExecutor.executePlainText(TextItemExecutor.java:175) at org.eclipse.birt.report.engine.executor.TextItemExecutor.execute(TextItemExecutor.java:79) at org.eclipse.birt.report.engine.executor.ReportExecutorVisitor.visitTextItem(ReportExecutorVisitor.java:111) at org.eclipse.birt.report.engine.ir.TextItemDesign.accept(TextItemDesign.java:129) at org.eclipse.birt.report.engine.executor.ReportExecutor.execute(ReportExecutor.java:161) at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:199) at org.eclipse.birt.report.engine.api.ReportRunner.runAndRenderReport(ReportRunner.java:232) at org.eclipse.birt.report.engine.api.ReportRunner.execute(ReportRunner.java:158) at org.eclipse.birt.report.engine.api.ReportRunner.main(ReportRunner.java:129) Picked up _JAVA_OPTIONS: -Dawt.toolkit=mercury.awt.awtSW -Xrunmicsupp -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MERCUR~1\SHARED~1\JAVAAD~1\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\SHARED~1\JAVAAD~1\classes\mic.jar
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/GridScriptExecutor.java
/*******************************************************************************
 * Copyright (c) 2005 Actuate Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *  Actuate Corporation  - initial API and implementation
 *******************************************************************************/
package org.eclipse.birt.report.engine.script.internal;
import java.util.logging.Level;
import org.eclipse.birt.report.engine.api.script.IRowData;
import org.eclipse.birt.report.engine.api.script.element.IGrid;
import org.eclipse.birt.report.engine.api.script.eventhandler.IGridEventHandler;
import org.eclipse.birt.report.engine.api.script.instance.IGridInstance;
import org.eclipse.birt.report.engine.content.impl.TableContent;
import org.eclipse.birt.report.engine.executor.ExecutionContext;
import org.eclipse.birt.report.engine.ir.ReportItemDesign;
import org.eclipse.birt.report.engine.script.internal.element.Grid;
import org.eclipse.birt.report.engine.script.internal.instance.GridInstance;
import org.eclipse.birt.report.model.api.GridHandle;
public class GridScriptExecutor extends ScriptExecutor