Bug 147407 Preview the attached report in the web viewer first time and then click the TOC button will cause NPE error
Description: It just can be reprouduced at first time preview. Step to reproduce: 1. please use attach report file 2. preview it in the web viewer 3. click the "Toggle table of contents" button Actual result: As the atteched screenshot shows,There is a NPE error.And if you preview it in the Web viewer again, the phenomenon is disappear.But reopen the eclipse and preview it at first time, it will be occured.
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/utility/ParameterAccessor.java
/**
	 * URL parameter name that determines whether to overwrite the document or
	 * not.
	 */
	public static final String PARAM_OVERWRITE = "__overwrite"; 
	/**
	 * URL parameter name that gives the image ID to display.
	 */
	public static final String PARAM_IMAGEID = "__imageID"; 
	/**
	 * URL parameter name that gives the bookmark expression.
	 */
	public static final String PARAM_BOOKMARK = "__bookmark"; 
	/**
	 * URL parameter name that gives that image rtl option.
	 */
	public static final String PARAM_RTL = "__rtl"; 
	public static final String _TOC = "__toc"; 
	/**
	 * URL parameter name that gives the preview max rows option.
	 */
	public static final String PARAM_MAXROWS = "__maxrows"; 
	/**
	 * URL parameter name that gives the reportlet id.
	 */
	public static final String PARAM_INSTANCEID = "__instanceid"; 
	/**
	 * Custom request headers to identify the request is a normal HTTP request
	 * or a soap request by AJAX.
	 */