Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 329403 - ViewerException when using IE
Summary: ViewerException when using IE
Status: RESOLVED WORKSFORME
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.6.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.7.0   Edit
Assignee: Birt-ReportViewer CLA
QA Contact:
URL:
Whiteboard: Obsolete
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-03 17:27 EDT by Josh Hall CLA
Modified: 2011-05-26 13:32 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.