Bug 199225 [Automation][Regression] NPE caught when preview attached report in web viewer
steps to reproduce: - use the attached report design - preview in web viewer expected behavior: - report should be rendered properly actual behavior: - NPE caught
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/html/buffer/HTMLPageBuffer.java
private void setup(AbstractNode node, boolean isFirst)
	{
		node.setFirst( isFirst );
		if(currentNode!=null)
		{
			node.setParent( currentNode );
			currentNode.addChild( node );
		}
	}
	
	public void endCell(IContent content, boolean finished, IContentEmitter emitter)
	{
		((AbstractNode)currentNode).setFinished( finished );
		if(currentNode.isStarted( ))
		{
			currentNode.end(  );
		}
		currentNode = currentNode.getParent( );
	}
	public boolean isRepeated( )
	{
		return isRepeated;
	}
	public void setRepeated( boolean isRepeated )
	{
		this.isRepeated = isRepeated;
	}
}