Bug 173836 NPE was thrown when click "Preview " button quickly twice[00]
NPE was thrown when click "Preview " button quickly twice[00] Build number: 2.2.0.v20070212-0630 Steps to reproduce: 1.open attached report 2.click "Preview" button quickly twice Expected result: Report can be previewed properly Actual result: NPE was thrown in second preview Error log: see screen shot
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/context/BaseAttributeBean.java
/**
	 * indicate whether the document is existed.
	 */
	public boolean documentInUrl = false;
	/**
	 * current task id
	 */
	protected String taskId;
	/**
	 * indicate whether show the title
	 */
	protected boolean isShowTitle = true;
	/**
	 * indicate whether show the toolbar
	 */
	protected boolean isShowToolbar = true;
	/**
	 * indicate whether show the navigation bar
	 */
	protected boolean isShowNavigationbar = true;
	/**
	 * indicate whether show parameter dialog or not..
	 */
	protected boolean isShowParameterPage = false;
	/**
	 * Abstract methods.
	 */
	abstract protected void __init( HttpServletRequest request )
			throws Exception;
	abstract protected IViewerReportService getReportService( );