Home » Archived » BIRT » metadata.ExtensionException --> The design file XXXX has error and can not be run problem
metadata.ExtensionException --> The design file XXXX has error and can not be run problem [message #50558] |
Thu, 23 June 2005 12:11  |
Eclipse User |
|
|
|
I am using the BIRT 1.0 release bits and I have an ODA driver written as
two plugins (following the flatfile ODA driver example) that I have
written. I exported these plugins from my dev environment and installed
them in eclipse, with BIRT, GEF and EMF jSDK 1.4.2.08. The problem I'm
having is that when I create a template and bind my ODA datasource to
the template and then preview the report I get the following error in
the preview tab:
"The design file
C:\dev\birt\App\ReportInvestigation\test_ODA_report.rptdesig n has
error and can not be run. "
Note, that before the message is presented, there is a few moments of
churning and the progress bar progresses like its doing some work then
the preview pane presents that message.
I have cleaned my workspace, did -clean everything and same results.
I dug around in the log files and found the following meta.log that
contains the following exception, right after I run the report and get
the error:
2005-06-23 09:08:20 Message [Extension loading error]
Exception
[org.eclipse.birt.report.model.metadata.ExtensionException: Message:The
extension point [org.eclipse.birt.report.model.encryptionHelper] is not
found. Error code:EXTENSION_POINT_NOT_FOUND
at
org.eclipse.birt.report.model.metadata.ExtensionLoader.doLoa d(ExtensionLoader.java:102)
at
org.eclipse.birt.report.model.metadata.ExtensionLoader.load( ExtensionLoader.java:62)
at
org.eclipse.birt.report.model.metadata.ExtensionManager.init ialize(ExtensionManager.java:40)
at
org.eclipse.birt.report.model.api.DesignEngine.initialize(De signEngine.java:110)
at
org.eclipse.birt.report.model.api.DesignEngine.newSession(De signEngine.java:156)
at
org.eclipse.birt.report.engine.parser.ReportParser.parse(Rep ortParser.java:79)
at
org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.o penReportDesign(ReportEngineHelper.java:87)
at
org.eclipse.birt.report.engine.api.ReportEngine.openReportDe sign(ReportEngine.java:212)
at
org.eclipse.birt.report.viewer.aggregation.BaseFragment.prep areAttributeBean(Unknown
Source)
at
org.eclipse.birt.report.viewer.aggregation.BaseFragment.serv ice(Unknown
Source)
at org.eclipse.birt.report.viewer.servlets.ViewerServlet.doPost (Unknown
Source)
at org.eclipse.birt.report.viewer.servlets.ViewerServlet.doGet( Unknown
Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:256)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.CertificatesValve.invoke(Certific atesValve.java:246)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
at
org.apache.catalina.core.StandardContext.invoke(StandardCont ext.java:2422)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:180)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(Error DispatcherValve.java:171)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
at
org.eclipse.tomcat.internal.EclipseErrorReportValve.invoke(E clipseErrorReportValve.java:153)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
at
org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:174)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapte r.java:199)
at
org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:828)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.processConnection(Http11Protocol.java:700)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndp oint.java:584)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:683)
at java.lang.Thread.run(Unknown Source)
Below this email is the report causing the problem. As you can see I
have only defined my data source. I suspect that some interface in my
ODA driver is failing silently or something. However, and heres the
pain, when I run on 1.0 source code via debugger and runtime workbench
and do the same thing, everything is fine. No errors and the preview
pane works.
As a further data point, I also tried to create a template and add some
data sets to it and I can view the data sets, and navigate all the pages
of the data set editor with no problems presented. just when I go to
preview the report do I get this bizarre message. This is just plain weird.
Perhaps when I export my ODA plugins I need to export something else
with them, maybe?
Any ideas? (below is the simple report pasted)
--
<?xml version="1.0" encoding="UTF-8"?>
<!-- Written by Eclipse BIRT 1.0 -->
<report xmlns=" http://www.eclipse.org/birt/2005/design" version="1">
<property name="createdBy">Eclipse BIRT Designer Version 1.0.0
Build <20050601-0809></property>
<property name="units">in</property>
<data-sources>
<oda-data-source extensionID="mydriver.connection" name="Data
Source">
<property
name="FILE_PATH_PROPERTY">C:\builds\birt_oda_rsa_setup\mp_oda_driver\root.xxx </property>
</oda-data-source>
</data-sources>
<page-setup>
<simple-master-page name="Simple MasterPage">
<page-footer>
<text>
<property name="contentType">html</property>
<text-property
name="content"><![CDATA[<value-of>new Date()</value-of>]]></text-property>
</text>
</page-footer>
</simple-master-page>
</page-setup>
</report>
|
|
|
Re: metadata.ExtensionException --> The design file XXXX has error and can not be run problem [message #50587 is a reply to message #50558] |
Thu, 23 June 2005 12:34   |
Eclipse User |
|
|
|
as a follow on question to use birt fully in my client app all I need in
addition to the support structure is
birt-report-framework-1_0.zip
correct? anything else needed?
Mike Boyersmith wrote:
> I am using the BIRT 1.0 release bits and I have an ODA driver written as
> two plugins (following the flatfile ODA driver example) that I have
> written. I exported these plugins from my dev environment and installed
> them in eclipse, with BIRT, GEF and EMF jSDK 1.4.2.08. The problem I'm
> having is that when I create a template and bind my ODA datasource to
> the template and then preview the report I get the following error in
> the preview tab:
>
> "The design file
> C:\dev\birt\App\ReportInvestigation\test_ODA_report.rptdesig n has
> error and can not be run. "
>
> Note, that before the message is presented, there is a few moments of
> churning and the progress bar progresses like its doing some work then
> the preview pane presents that message.
>
> I have cleaned my workspace, did -clean everything and same results.
> I dug around in the log files and found the following meta.log that
> contains the following exception, right after I run the report and get
> the error:
>
> 2005-06-23 09:08:20 Message [Extension loading error]
> Exception
> [org.eclipse.birt.report.model.metadata.ExtensionException: Message:The
> extension point [org.eclipse.birt.report.model.encryptionHelper] is not
> found. Error code:EXTENSION_POINT_NOT_FOUND
> at
> org.eclipse.birt.report.model.metadata.ExtensionLoader.doLoa d(ExtensionLoader.java:102)
>
> at
> org.eclipse.birt.report.model.metadata.ExtensionLoader.load( ExtensionLoader.java:62)
>
> at
> org.eclipse.birt.report.model.metadata.ExtensionManager.init ialize(ExtensionManager.java:40)
>
> at
> org.eclipse.birt.report.model.api.DesignEngine.initialize(De signEngine.java:110)
>
> at
> org.eclipse.birt.report.model.api.DesignEngine.newSession(De signEngine.java:156)
>
> at
> org.eclipse.birt.report.engine.parser.ReportParser.parse(Rep ortParser.java:79)
>
> at
> org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.o penReportDesign(ReportEngineHelper.java:87)
>
> at
> org.eclipse.birt.report.engine.api.ReportEngine.openReportDe sign(ReportEngine.java:212)
>
> at
> org.eclipse.birt.report.viewer.aggregation.BaseFragment.prep areAttributeBean(Unknown
> Source)
> at
> org.eclipse.birt.report.viewer.aggregation.BaseFragment.serv ice(Unknown
> Source)
> at
> org.eclipse.birt.report.viewer.servlets.ViewerServlet.doPost (Unknown
> Source)
> at
> org.eclipse.birt.report.viewer.servlets.ViewerServlet.doGet( Unknown Source)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:247)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:193)
>
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:256)
>
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
>
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
> at
> org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:191)
>
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
>
> at
> org.apache.catalina.valves.CertificatesValve.invoke(Certific atesValve.java:246)
>
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
>
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
> at
> org.apache.catalina.core.StandardContext.invoke(StandardCont ext.java:2422)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:180)
>
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
>
> at
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(Error DispatcherValve.java:171)
>
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
>
> at
> org.eclipse.tomcat.internal.EclipseErrorReportValve.invoke(E clipseErrorReportValve.java:153)
>
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
>
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:174)
>
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
>
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
> at
> org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapte r.java:199)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:828)
> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.processConnection(Http11Protocol.java:700)
>
> at
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndp oint.java:584)
> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:683)
>
> at java.lang.Thread.run(Unknown Source)
>
>
>
> Below this email is the report causing the problem. As you can see I
> have only defined my data source. I suspect that some interface in my
> ODA driver is failing silently or something. However, and heres the
> pain, when I run on 1.0 source code via debugger and runtime workbench
> and do the same thing, everything is fine. No errors and the preview
> pane works.
>
> As a further data point, I also tried to create a template and add some
> data sets to it and I can view the data sets, and navigate all the pages
> of the data set editor with no problems presented. just when I go to
> preview the report do I get this bizarre message. This is just plain weird.
>
> Perhaps when I export my ODA plugins I need to export something else
> with them, maybe?
>
> Any ideas? (below is the simple report pasted)
>
>
> --
> <?xml version="1.0" encoding="UTF-8"?>
> <!-- Written by Eclipse BIRT 1.0 -->
> <report xmlns=" http://www.eclipse.org/birt/2005/design" version="1">
> <property name="createdBy">Eclipse BIRT Designer Version 1.0.0 Build
> <20050601-0809></property>
> <property name="units">in</property>
> <data-sources>
> <oda-data-source extensionID="mydriver.connection" name="Data
> Source">
> <property
> name="FILE_PATH_PROPERTY">C:\builds\birt_oda_rsa_setup\mp_oda_driver\root.xxx </property>
>
> </oda-data-source>
> </data-sources>
> <page-setup>
> <simple-master-page name="Simple MasterPage">
> <page-footer>
> <text>
> <property name="contentType">html</property>
> <text-property name="content"><![CDATA[<value-of>new
> Date()</value-of>]]></text-property>
> </text>
> </page-footer>
> </simple-master-page>
> </page-setup>
> </report>
|
|
|
Re: metadata.ExtensionException --> The design file XXXX has error and can not be run problem [message #50697 is a reply to message #50558] |
Thu, 23 June 2005 14:21   |
Eclipse User |
|
|
|
futher information I found an additional log for the report designer
with the following error message:
un 23, 2005 11:19:21 AM org.eclipse.birt.core.util.BirtTimer logTimeTaken
INFO: Engine startup takes 341 Milliseconds.
Jun 23, 2005 11:19:22 AM
org.eclipse.birt.report.engine.api.impl.ReportEngineHelper openReportDesign
SEVERE: invalid design file
C:\dev\birt\App\workspace\ddddd\new_report.rptdesign
Bizarre problem. any help is REALLY appreciated at this point.
Mike Boyersmith wrote:
> I am using the BIRT 1.0 release bits and I have an ODA driver written as
> two plugins (following the flatfile ODA driver example) that I have
> written. I exported these plugins from my dev environment and installed
> them in eclipse, with BIRT, GEF and EMF jSDK 1.4.2.08. The problem I'm
> having is that when I create a template and bind my ODA datasource to
> the template and then preview the report I get the following error in
> the preview tab:
>
> "The design file
> C:\dev\birt\App\ReportInvestigation\test_ODA_report.rptdesig n has
> error and can not be run. "
>
> Note, that before the message is presented, there is a few moments of
> churning and the progress bar progresses like its doing some work then
> the preview pane presents that message.
>
> I have cleaned my workspace, did -clean everything and same results.
> I dug around in the log files and found the following meta.log that
> contains the following exception, right after I run the report and get
> the error:
>
> 2005-06-23 09:08:20 Message [Extension loading error]
> Exception
> [org.eclipse.birt.report.model.metadata.ExtensionException: Message:The
> extension point [org.eclipse.birt.report.model.encryptionHelper] is not
> found. Error code:EXTENSION_POINT_NOT_FOUND
> at
> org.eclipse.birt.report.model.metadata.ExtensionLoader.doLoa d(ExtensionLoader.java:102)
>
> at
> org.eclipse.birt.report.model.metadata.ExtensionLoader.load( ExtensionLoader.java:62)
>
> at
> org.eclipse.birt.report.model.metadata.ExtensionManager.init ialize(ExtensionManager.java:40)
>
> at
> org.eclipse.birt.report.model.api.DesignEngine.initialize(De signEngine.java:110)
>
> at
> org.eclipse.birt.report.model.api.DesignEngine.newSession(De signEngine.java:156)
>
> at
> org.eclipse.birt.report.engine.parser.ReportParser.parse(Rep ortParser.java:79)
>
> at
> org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.o penReportDesign(ReportEngineHelper.java:87)
>
> at
> org.eclipse.birt.report.engine.api.ReportEngine.openReportDe sign(ReportEngine.java:212)
>
> at
> org.eclipse.birt.report.viewer.aggregation.BaseFragment.prep areAttributeBean(Unknown
> Source)
> at
> org.eclipse.birt.report.viewer.aggregation.BaseFragment.serv ice(Unknown
> Source)
> at
> org.eclipse.birt.report.viewer.servlets.ViewerServlet.doPost (Unknown
> Source)
> at
> org.eclipse.birt.report.viewer.servlets.ViewerServlet.doGet( Unknown Source)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:247)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:193)
>
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:256)
>
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
>
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
> at
> org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:191)
>
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
>
> at
> org.apache.catalina.valves.CertificatesValve.invoke(Certific atesValve.java:246)
>
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
>
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
> at
> org.apache.catalina.core.StandardContext.invoke(StandardCont ext.java:2422)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:180)
>
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
>
> at
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(Error DispatcherValve.java:171)
>
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
>
> at
> org.eclipse.tomcat.internal.EclipseErrorReportValve.invoke(E clipseErrorReportValve.java:153)
>
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
>
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:174)
>
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
>
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
> at
> org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapte r.java:199)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:828)
> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.processConnection(Http11Protocol.java:700)
>
> at
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndp oint.java:584)
> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:683)
>
> at java.lang.Thread.run(Unknown Source)
>
>
>
> Below this email is the report causing the problem. As you can see I
> have only defined my data source. I suspect that some interface in my
> ODA driver is failing silently or something. However, and heres the
> pain, when I run on 1.0 source code via debugger and runtime workbench
> and do the same thing, everything is fine. No errors and the preview
> pane works.
>
> As a further data point, I also tried to create a template and add some
> data sets to it and I can view the data sets, and navigate all the pages
> of the data set editor with no problems presented. just when I go to
> preview the report do I get this bizarre message. This is just plain weird.
>
> Perhaps when I export my ODA plugins I need to export something else
> with them, maybe?
>
> Any ideas? (below is the simple report pasted)
>
>
> --
> <?xml version="1.0" encoding="UTF-8"?>
> <!-- Written by Eclipse BIRT 1.0 -->
> <report xmlns=" http://www.eclipse.org/birt/2005/design" version="1">
> <property name="createdBy">Eclipse BIRT Designer Version 1.0.0 Build
> <20050601-0809></property>
> <property name="units">in</property>
> <data-sources>
> <oda-data-source extensionID="mydriver.connection" name="Data
> Source">
> <property
> name="FILE_PATH_PROPERTY">C:\builds\birt_oda_rsa_setup\mp_oda_driver\root.xxx </property>
>
> </oda-data-source>
> </data-sources>
> <page-setup>
> <simple-master-page name="Simple MasterPage">
> <page-footer>
> <text>
> <property name="contentType">html</property>
> <text-property name="content"><![CDATA[<value-of>new
> Date()</value-of>]]></text-property>
> </text>
> </page-footer>
> </simple-master-page>
> </page-setup>
> </report>
|
|
|
Re: metadata.ExtensionException --> The design file XXXX has error and can not be run problem [message #50799 is a reply to message #50558] |
Thu, 23 June 2005 15:58   |
Eclipse User |
|
|
|
Mike,
Did you also export your ODA runtime plugin (the one that implements the
org.eclipse.birt.data.oda.dataSource extension point) to the viewer's
plugins directory:
\eclipse\plugins\org.eclipse.birt.report.viewer_1.0.0\birt\W EB-INF\plugins ?
Without this the viewer web app will not be able to access the ODA runtime
driver for report viewing.
Gary
"Mike Boyersmith" <mjboyers@us.ibm.com> wrote in message
news:d9emv7$t0t$1@news.eclipse.org...
> I am using the BIRT 1.0 release bits and I have an ODA driver written as
> two plugins (following the flatfile ODA driver example) that I have
> written. I exported these plugins from my dev environment and installed
> them in eclipse, with BIRT, GEF and EMF jSDK 1.4.2.08. The problem I'm
> having is that when I create a template and bind my ODA datasource to
> the template and then preview the report I get the following error in
> the preview tab:
>
> "The design file
> C:\dev\birt\App\ReportInvestigation\test_ODA_report.rptdesig n has
> error and can not be run. "
>
> Note, that before the message is presented, there is a few moments of
> churning and the progress bar progresses like its doing some work then
> the preview pane presents that message.
>
> I have cleaned my workspace, did -clean everything and same results.
> I dug around in the log files and found the following meta.log that
> contains the following exception, right after I run the report and get
> the error:
>
> 2005-06-23 09:08:20 Message [Extension loading error]
> Exception
> [org.eclipse.birt.report.model.metadata.ExtensionException: Message:The
> extension point [org.eclipse.birt.report.model.encryptionHelper] is not
> found. Error code:EXTENSION_POINT_NOT_FOUND
> at
>
org.eclipse.birt.report.model.metadata.ExtensionLoader.doLoa d(ExtensionLoade
r.java:102)
> at
>
org.eclipse.birt.report.model.metadata.ExtensionLoader.load( ExtensionLoader.
java:62)
> at
>
org.eclipse.birt.report.model.metadata.ExtensionManager.init ialize(Extension
Manager.java:40)
> at
>
org.eclipse.birt.report.model.api.DesignEngine.initialize(De signEngine.java:
110)
> at
>
org.eclipse.birt.report.model.api.DesignEngine.newSession(De signEngine.java:
156)
> at
>
org.eclipse.birt.report.engine.parser.ReportParser.parse(Rep ortParser.java:7
9)
> at
>
org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.o penReportDesign(
ReportEngineHelper.java:87)
> at
>
org.eclipse.birt.report.engine.api.ReportEngine.openReportDe sign(ReportEngin
e.java:212)
> at
>
org.eclipse.birt.report.viewer.aggregation.BaseFragment.prep areAttributeBean
(Unknown
> Source)
> at
> org.eclipse.birt.report.viewer.aggregation.BaseFragment.serv ice(Unknown
> Source)
> at org.eclipse.birt.report.viewer.servlets.ViewerServlet.doPost (Unknown
> Source)
> at org.eclipse.birt.report.viewer.servlets.ViewerServlet.doGet( Unknown
> Source)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(Application
FilterChain.java:247)
> at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterCh
ain.java:193)
> at
>
org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.ja
va:256)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invok
eNext(StandardPipeline.java:643)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
> at
>
org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.ja
va:191)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invok
eNext(StandardPipeline.java:643)
> at
>
org.apache.catalina.valves.CertificatesValve.invoke(Certific atesValve.java:2
46)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invok
eNext(StandardPipeline.java:641)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
> at
> org.apache.catalina.core.StandardContext.invoke(StandardCont ext.java:2422)
> at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:180
)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invok
eNext(StandardPipeline.java:643)
> at
>
org.apache.catalina.valves.ErrorDispatcherValve.invoke(Error DispatcherValve.
java:171)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invok
eNext(StandardPipeline.java:641)
> at
>
org.eclipse.tomcat.internal.EclipseErrorReportValve.invoke(E clipseErrorRepor
tValve.java:153)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invok
eNext(StandardPipeline.java:641)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
> at
>
org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java
:174)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invok
eNext(StandardPipeline.java:643)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
> at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapte r.java:199)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:828)
> at
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.processConne
ction(Http11Protocol.java:700)
> at
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndp oint.java:584)
> at
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.jav
a:683)
> at java.lang.Thread.run(Unknown Source)
>
>
>
> Below this email is the report causing the problem. As you can see I
> have only defined my data source. I suspect that some interface in my
> ODA driver is failing silently or something. However, and heres the
> pain, when I run on 1.0 source code via debugger and runtime workbench
> and do the same thing, everything is fine. No errors and the preview
> pane works.
>
> As a further data point, I also tried to create a template and add some
> data sets to it and I can view the data sets, and navigate all the pages
> of the data set editor with no problems presented. just when I go to
> preview the report do I get this bizarre message. This is just plain
weird.
>
> Perhaps when I export my ODA plugins I need to export something else
> with them, maybe?
>
> Any ideas? (below is the simple report pasted)
>
>
> --
> <?xml version="1.0" encoding="UTF-8"?>
> <!-- Written by Eclipse BIRT 1.0 -->
> <report xmlns=" http://www.eclipse.org/birt/2005/design" version="1">
> <property name="createdBy">Eclipse BIRT Designer Version 1.0.0
> Build <20050601-0809></property>
> <property name="units">in</property>
> <data-sources>
> <oda-data-source extensionID="mydriver.connection" name="Data
> Source">
> <property
>
name="FILE_PATH_PROPERTY">C:\builds\birt_oda_rsa_setup\mp_oda_driver\root.xx
x</property>
> </oda-data-source>
> </data-sources>
> <page-setup>
> <simple-master-page name="Simple MasterPage">
> <page-footer>
> <text>
> <property name="contentType">html</property>
> <text-property
> name="content"><![CDATA[<value-of>new Date()</value-of>]]></text-property>
> </text>
> </page-footer>
> </simple-master-page>
> </page-setup>
> </report>
|
|
|
Re: metadata.ExtensionException --> The design file XXXX has error and can not be run problem [message #50911 is a reply to message #50799] |
Thu, 23 June 2005 16:52  |
Eclipse User |
|
|
|
That fixed it, thanks for the quick replies.
BTW: that error message and the exception in the log, really didn't give
a clue that this was the problem. I'm going to file an RFE to maybe give
better logging for this problem.
Thanks again BIRT team!
- Mike
Gary Xue wrote:
> Mike,
> Did you also export your ODA runtime plugin (the one that implements the
> org.eclipse.birt.data.oda.dataSource extension point) to the viewer's
> plugins directory:
> \eclipse\plugins\org.eclipse.birt.report.viewer_1.0.0\birt\W EB-INF\plugins ?
>
> Without this the viewer web app will not be able to access the ODA runtime
> driver for report viewing.
>
> Gary
>
> "Mike Boyersmith" <mjboyers@us.ibm.com> wrote in message
> news:d9emv7$t0t$1@news.eclipse.org...
>
>>I am using the BIRT 1.0 release bits and I have an ODA driver written as
>>two plugins (following the flatfile ODA driver example) that I have
>>written. I exported these plugins from my dev environment and installed
>>them in eclipse, with BIRT, GEF and EMF jSDK 1.4.2.08. The problem I'm
>>having is that when I create a template and bind my ODA datasource to
>>the template and then preview the report I get the following error in
>>the preview tab:
>>
>>"The design file
>> C:\dev\birt\App\ReportInvestigation\test_ODA_report.rptdesig n has
>>error and can not be run. "
>>
>>Note, that before the message is presented, there is a few moments of
>>churning and the progress bar progresses like its doing some work then
>>the preview pane presents that message.
>>
>>I have cleaned my workspace, did -clean everything and same results.
>>I dug around in the log files and found the following meta.log that
>>contains the following exception, right after I run the report and get
>>the error:
>>
>>2005-06-23 09:08:20 Message [Extension loading error]
>>Exception
>>[org.eclipse.birt.report.model.metadata.ExtensionException: Message:The
>>extension point [org.eclipse.birt.report.model.encryptionHelper] is not
>>found. Error code:EXTENSION_POINT_NOT_FOUND
>>at
>>
>
> org.eclipse.birt.report.model.metadata.ExtensionLoader.doLoa d(ExtensionLoade
> r.java:102)
>
>>at
>>
>
> org.eclipse.birt.report.model.metadata.ExtensionLoader.load( ExtensionLoader.
> java:62)
>
>>at
>>
>
> org.eclipse.birt.report.model.metadata.ExtensionManager.init ialize(Extension
> Manager.java:40)
>
>>at
>>
>
> org.eclipse.birt.report.model.api.DesignEngine.initialize(De signEngine.java:
> 110)
>
>>at
>>
>
> org.eclipse.birt.report.model.api.DesignEngine.newSession(De signEngine.java:
> 156)
>
>>at
>>
>
> org.eclipse.birt.report.engine.parser.ReportParser.parse(Rep ortParser.java:7
> 9)
>
>>at
>>
>
> org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.o penReportDesign(
> ReportEngineHelper.java:87)
>
>>at
>>
>
> org.eclipse.birt.report.engine.api.ReportEngine.openReportDe sign(ReportEngin
> e.java:212)
>
>>at
>>
>
> org.eclipse.birt.report.viewer.aggregation.BaseFragment.prep areAttributeBean
> (Unknown
>
>>Source)
>>at
>> org.eclipse.birt.report.viewer.aggregation.BaseFragment.serv ice(Unknown
>>Source)
>>at org.eclipse.birt.report.viewer.servlets.ViewerServlet.doPost (Unknown
>>Source)
>>at org.eclipse.birt.report.viewer.servlets.ViewerServlet.doGet( Unknown
>>Source)
>>at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
>>at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>>at
>>
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(Application
> FilterChain.java:247)
>
>>at
>>
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterCh
> ain.java:193)
>
>>at
>>
>
> org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.ja
> va:256)
>
>>at
>>
>
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invok
> eNext(StandardPipeline.java:643)
>
>>at
>>
>
> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
>
>>at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
>>at
>>
>
> org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.ja
> va:191)
>
>>at
>>
>
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invok
> eNext(StandardPipeline.java:643)
>
>>at
>>
>
> org.apache.catalina.valves.CertificatesValve.invoke(Certific atesValve.java:2
> 46)
>
>>at
>>
>
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invok
> eNext(StandardPipeline.java:641)
>
>>at
>>
>
> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
>
>>at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
>>at
>> org.apache.catalina.core.StandardContext.invoke(StandardCont ext.java:2422)
>>at
>>
>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:180
> )
>
>>at
>>
>
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invok
> eNext(StandardPipeline.java:643)
>
>>at
>>
>
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(Error DispatcherValve.
> java:171)
>
>>at
>>
>
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invok
> eNext(StandardPipeline.java:641)
>
>>at
>>
>
> org.eclipse.tomcat.internal.EclipseErrorReportValve.invoke(E clipseErrorRepor
> tValve.java:153)
>
>>at
>>
>
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invok
> eNext(StandardPipeline.java:641)
>
>>at
>>
>
> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
>
>>at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
>>at
>>
>
> org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java
> :174)
>
>>at
>>
>
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invok
> eNext(StandardPipeline.java:643)
>
>>at
>>
>
> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
>
>>at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
>>at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapte r.java:199)
>>at
>> org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:828)
>>at
>>
>
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.processConne
> ction(Http11Protocol.java:700)
>
>>at
>> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndp oint.java:584)
>>at
>>
>
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.jav
> a:683)
>
>>at java.lang.Thread.run(Unknown Source)
>>
>>
>>
>>Below this email is the report causing the problem. As you can see I
>>have only defined my data source. I suspect that some interface in my
>>ODA driver is failing silently or something. However, and heres the
>>pain, when I run on 1.0 source code via debugger and runtime workbench
>>and do the same thing, everything is fine. No errors and the preview
>>pane works.
>>
>>As a further data point, I also tried to create a template and add some
>>data sets to it and I can view the data sets, and navigate all the pages
>>of the data set editor with no problems presented. just when I go to
>>preview the report do I get this bizarre message. This is just plain
>
> weird.
>
>>Perhaps when I export my ODA plugins I need to export something else
>>with them, maybe?
>>
>>Any ideas? (below is the simple report pasted)
>>
>>
>>--
>><?xml version="1.0" encoding="UTF-8"?>
>><!-- Written by Eclipse BIRT 1.0 -->
>><report xmlns=" http://www.eclipse.org/birt/2005/design" version="1">
>> <property name="createdBy">Eclipse BIRT Designer Version 1.0.0
>>Build <20050601-0809></property>
>> <property name="units">in</property>
>> <data-sources>
>> <oda-data-source extensionID="mydriver.connection" name="Data
>>Source">
>> <property
>>
>
> name="FILE_PATH_PROPERTY">C:\builds\birt_oda_rsa_setup\mp_oda_driver\root.xx
> x</property>
>
>> </oda-data-source>
>> </data-sources>
>> <page-setup>
>> <simple-master-page name="Simple MasterPage">
>> <page-footer>
>> <text>
>> <property name="contentType">html</property>
>> <text-property
>>name="content"><![CDATA[<value-of>new Date()</value-of>]]></text-property>
>> </text>
>> </page-footer>
>> </simple-master-page>
>> </page-setup>
>></report>
>
>
>
|
|
|
Goto Forum:
Current Time: Thu May 08 11:33:51 EDT 2025
Powered by FUDForum. Page generated in 0.03303 seconds
|