Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 329403

Summary: ViewerException when using IE
Product: z_Archived Reporter: Josh Hall <joshdanhall>
Component: BIRTAssignee: Birt-ReportViewer <Birt-ReportViewer-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: bluesoldier
Version: 2.6.1   
Target Milestone: 3.7.0   
Hardware: PC   
OS: Windows XP   
Whiteboard: Obsolete

Description Josh Hall CLA 2010-11-03 17:27:33 EDT
BIRT 2.6.1
IE 8
Tomcat 6 and Websphere 6

When using the WebViewerExample application, I get the following exception reported in the logs when Using IE (although the report renders fine). No errors are reported when using Chrome. I've done some debugging and discovered that the ViewerServlet is invoked when the browser calls back for *.js resources.

org.eclipse.birt.report.exception.ViewerException: There is no report design object available.

I've added the following to my version of org.eclipse.birt.report.servlet.ViewerServlet to remove the errors. Is this something you'd like to include in the base version?

	@Override
	public void service(ServletRequest req, ServletResponse res) throws ServletException, IOException
	{
		if (!((HttpServletRequest)req).getRequestURL().toString().endsWith(".js"))
		{
			super.service(req, res);
		}
	}

Regards, Josh.
Comment 1 Xiaoying Gu CLA 2010-11-08 00:08:57 EST
Hi, 

I don't find any errors in IE or birt logs when deploy the WebViewerExample(2.6.1 release) on Tomcat 6.0, and preview sample reports in IE 8.

Which error log did you meant in the description? And have you tried to clean the IE cache and preview the report again?
Comment 2 Xiaoying Gu CLA 2011-02-25 04:49:06 EST
Since there is no response from the submitter, set as worksforme.