Bug 161513 [Smoke] attached report design Corporation.rptdesign throw exception when previewed in html and web viewer
[Smoke] attached report design Corporation.rptdesign throw exception when previewed in html and web viewer Steps to reproduce: 1.open attached report design 2.preview in html and web viewer Expected result: it can be previewed properly Actua result: exception thrown
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/html/HTMLTableLM.java
{
	/**
	 * emitter used to layout the table
	 */
	protected HTMLTableLayoutNoNestEmitter tableEmitter;
	public HTMLTableLM( HTMLLayoutManagerFactory factory )
	{
		super( factory );
	}
	public int getType( )
	{
		return LAYOUT_MANAGER_TABLE;
	}
	boolean isFirstLayout = true;
	public void initialize( HTMLAbstractLM parent, IContent content,
			IReportItemExecutor executor, IContentEmitter emitter )
	{
		tableEmitter = new HTMLTableLayoutNoNestEmitter( emitter );
		super.initialize( parent, content, executor, tableEmitter );
		isFirstLayout = true;
	}
	protected void repeatHeader( )
	{
		if ( !isFirstLayout )
		{
			ITableContent table = (ITableContent) content;
			if ( table.isHeaderRepeat( ) )