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/presentation/aggregation/layout/FramesetFragment.java
package org.eclipse.birt.report.presentation.aggregation.layout;
import java.io.File;
import java.io.IOException;
import java.rmi.RemoteException;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.ServletOutputStream;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.axis.AxisFault;
import org.eclipse.birt.core.exception.BirtException;
import org.eclipse.birt.report.IBirtConstants;
import org.eclipse.birt.report.context.BaseAttributeBean;
import org.eclipse.birt.report.context.BirtContext;
import org.eclipse.birt.report.context.IContext;
import org.eclipse.birt.report.presentation.aggregation.BirtBaseFragment;
import org.eclipse.birt.report.presentation.aggregation.control.ToolbarFragment;
import org.eclipse.birt.report.service.ReportEngineService;
import org.eclipse.birt.report.service.actionhandler.BirtRenderReportActionHandler;
import org.eclipse.birt.report.service.actionhandler.BirtRunReportActionHandler;
import org.eclipse.birt.report.soapengine.api.GetUpdatedObjectsResponse;
import org.eclipse.birt.report.soapengine.api.Operation;
import org.eclipse.birt.report.utility.ParameterAccessor;
/**
 * Root fragment for web viewer composite.
 * <p>
 * 
 * @see BaseFragment
 */
public class FramesetFragment extends BirtBaseFragment