Birt report error, there is no reports design object Available.org.eclipse.birt.report.exception.ViewerExcepti

Source: Internet
Author: User



The error message is as follows:





- 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.context.BirtContext.<init>(BirtContext.java:30)

	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:617)

	at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)

	at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)

	at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.service(BirtSoapMessageDispatcherServlet.java:122)

	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

	at com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:177)

	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)

	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)

	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)

	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)

	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)

	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)

	at java.lang.Thread.run(Unknown Source)
Appeared this error immediately dizzy, because just contact Birt report, do not know from there, after Baidu and consult people, summed up the following solutions:





Because the company created the Birt report with a lower version of 2.6.2, I now use the 4.4.2 version, due to version inconsistencies caused by errors. Note the beginning of the report file:





<report xmlns = "http://www.eclipse.org/birt/2005/design" version = "3.2.23" id = "1">
     <property name = "comments"> Copyright (c) 2006 << here is the name of your company >> </ property>
     <property name = "createdBy"> Eclipse BIRT Designer Version 4.4.2.v201410272105 Build <4.4.2.v20150217-1805> </ property>
The value of the report node's property version is: 3.2.23, when I use the Birt version of 4.4.2 (version corresponds to 3.2.23), and the company uses 2.6.2 (version corresponds to 3.2.22), only need to change the value of version to the lower version of the line (3.2 .22) on the line, but it is recommended to modify the Name= "CreateBy" of the property node text value (this fix does not change the error), to the previous text value (modify the Birt report file before the proposal to save the value first), to avoid confusion. The following changes are followed:







<? xml version = "1.0" encoding = "UTF-8"?>
<report xmlns = "http://www.eclipse.org/birt/2005/design" version = "3.2.22" id = "1">
     <property name = "comments"> Copyright (c) 2006 << here is the name of your company >> </ property>
     <property name = "createdBy"> Eclipse BIRT Designer Version 2.6.2.r262_v20110209 Build <2.6.2.v20110214-1523> </ property> 
These changes should be modified according to your own situation, which is only for my own example.











Birt report error, there is no reports design object Available.org.eclipse.birt.report.exception.ViewerExcepti


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.