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
}
		
		currentNode = currentNode.getParent( );
		if(currentNode!=null)
		{
			currentNode.removeChildren( );
		}
	}
	
	public void startContent(IContent content, IContentEmitter emitter)
	{
		currentNode.start(  );
		ContentEmitterUtil.startContent( content, emitter );
		generator.start(content, true );
		generator.end( content, true );
	}
	
	
	private void startPage(IContent content, boolean isFirst, IContentEmitter emitter)
	{
	}
	
	public void endPage(IContent content, boolean finished, IContentEmitter emitter)
	{
		((AbstractNode)currentNode).setFinished( finished );
		if(currentNode.isStarted( ))
		{
			currentNode.end(  );
			pageBreakEvent( );
			if(!finished)