Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 368491 - Exception in Birt viewer when drilled down from master report to a detail report
Summary: Exception in Birt viewer when drilled down from master report to a detail report
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 3.7.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Birt-ReportViewer CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-12 16:43 EST by Annette Rego CLA
Modified: 2012-01-16 13:44 EST (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 Annette Rego CLA 2012-01-12 16:43:02 EST
Build Identifier: Version 3.7.1

I have drilled down from a master report to a detail report using birt 3.7.1 designer tool. It works fine in the designer tool. But it doesnt work in birt viewer 3.7.1. It throws following exception

There is no report design object available.

org.eclipse.birt.report.exception.ViewerException: There is no report design object available.
	at org.eclipse.birt.report.context.ViewerAttributeBean.__init(ViewerAttributeBean.java:226)
	at org.eclipse.birt.report.context.BaseAttributeBean.init(BaseAttributeBean.java:233)
	at org.eclipse.birt.report.context.ViewerAttributeBean.<init>(ViewerAttributeBean.java:118)
	at org.eclipse.birt.report.context.BirtContext.__init(BirtContext.java:44)
	at org.eclipse.birt.report.context.BaseContext.<init>(BaseContext.java:69)
	at org.eclipse.birt.report.servlet.ViewerServlet.__getContext(ViewerServlet.java:150)
	at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doGet(BirtSoapMessageDispatcherServlet.java:151)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
	at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
	at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.service(BirtSoapMessageDispatcherServlet.java:122)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1143)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1084)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
	at org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerFilter.java:68)
	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:832)
	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:679)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:587)
	at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:481)
	at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
	at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:748)
	at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1466)
	at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:119)
	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
	at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
	at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
	at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
	at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
	at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
	at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)
	at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)
	at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473


Reproducible: Always

Steps to Reproduce:
1.Drill down a master report  to a detail report.
2.Run it using birt viewer
Comment 1 Annette Rego CLA 2012-01-12 16:55:08 EST
When i open the detail report directly using http://localhost:9080/reporting/run?__report=report/reportname.rptdesign It opens fine
Comment 2 Annette Rego CLA 2012-01-12 17:33:05 EST
I got this exception while using websphere v6.1
Comment 3 Annette Rego CLA 2012-01-12 17:45:08 EST
My url to the master report was 
http://localhost:9080/reporting/report/viewerCardsAllDaily.jsp
Comment 4 Xiaoying Gu CLA 2012-01-12 21:48:08 EST
Can you reproduce the issue if previewing the detailed report in Eclipse other than in Websphere?
Comment 5 Annette Rego CLA 2012-01-13 12:38:52 EST
I tried with Tomcat 6.0.26. It works perfectly fine with tomcat. Its giving problem with only websphere.
Comment 6 Annette Rego CLA 2012-01-16 13:44:46 EST
 I moved the taglib <%@ taglib uri="../WEB-INF/tlds/birt.tld" prefix="birt" %> up in the jsp it fixed this issue in WebSphere