Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
BIRT 4.5 Engine not working
Bas13
<p>Hello,</p>
<p> </p>
<p><span><span>I</span> <span>recently</span> installed the <span>birt.war</span> <span>of</span> <span>version 4.5</span>.</span></p>
<p><span>However if i run a report i get an message:</span></p>
<pre class="_prettyXprint _lang-nocode">
org.eclipse.birt.report.service.api.ReportServiceException: Error happened while running the report.
</pre>
<p><span>Investigating this error further in the logs gives the following:</span></p>
<pre class="_prettyXprint _lang-nocode">
20-okt-2015 15:54:45 null null
SEVERE: Error happened while running the report.
Throwable occurred: java.lang.NoSuchMethodError: org/eclipse/birt/data/engine/api/querydefn/BaseDataSetDesign.setQueryContextVisitor(Lorg/eclipse/birt/data/engine/impl/IQueryContextVisitor;)V
at org.eclipse.birt.data.engine.impl.PreparedQueryUtil.newInstance(PreparedQueryUtil.java:210)
at org.eclipse.birt.data.engine.impl.DataEngineImpl.prepare(DataEngineImpl.java:426)
</pre>
<p><span>To make sure it's not the report thats giving the error i have runned both the test and test1.rptdesign which are included with BIRT. test.rptdesign runs fine but test1.rptdesign gives the same error. It seems that it has something to do with parameters??</span></p>
<p> </p>
<p><span>Does someone have more information on how to fix this?</span></p>
Find more posts tagged with
Comments
malaythecool
<p>i think u r using JDBC data source and your query contains some error</p>
<p> </p>
<p>first of all rectify that error if it is there</p>
<p> </p>
<p>else send full stack trace of error message and specify which data source u r using</p>
<p> </p>
<p>Malay</p>
Bas13
<p>Yes i'm using JDBC.</p>
<p> </p>
<p>However i'm sure the query doesn't contain errors.</p>
<p>Everything was working with Engine versions lower than 4.5.</p>
<p> </p>
<p>To be clear the test1.rptdesign which is included in the birt.zip you download from the eclipse website isn't working on 4.5 also.</p>
<p>on 4.4.2 it works just fine.</p>
<p> </p>
<p>Full stack trace is:</p>
<pre class="_prettyXprint _lang-nocode">
20-okt-2015 16:08:05 null null
SEVERE: Error happened while running the report.
Throwable occurred: java.lang.NoSuchMethodError: org/eclipse/birt/data/engine/api/querydefn/BaseDataSetDesign.setQueryContextVisitor(Lorg/eclipse/birt/data/engine/impl/IQueryContextVisitor;)V
at org.eclipse.birt.data.engine.impl.PreparedQueryUtil.newInstance(PreparedQueryUtil.java:210)
at org.eclipse.birt.data.engine.impl.DataEngineImpl.prepare(DataEngineImpl.java:426)
at org.eclipse.birt.report.data.adapter.impl.DataRequestSessionImpl.prepare(DataRequestSessionImpl.java:473)
at org.eclipse.birt.report.data.adapter.impl.DataRequestSessionImpl.prepare(DataRequestSessionImpl.java:673)
at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.doPrepareQuery(AbstractDataEngine.java:226)
at org.eclipse.birt.report.engine.data.dte.DteDataEngine.doPrepareQuery(DteDataEngine.java:272)
at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.prepare(AbstractDataEngine.java:182)
at org.eclipse.birt.report.engine.executor.ReportExecutor.execute(ReportExecutor.java:122)
at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportExecutor.execute(WrappedReportExecutor.java:60)
at org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplciateReportExecutor.execute(SuppressDuplciateReportExecutor.java:42)
at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportExecutor.execute(WrappedReportExecutor.java:60)
at org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportExecutor.execute(LocalizedReportExecutor.java:61)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:179)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:77)
at org.eclipse.birt.report.service.ReportEngineService.runAndRenderReport(ReportEngineService.java:937)
at org.eclipse.birt.report.service.BirtViewerReportService.runAndRenderReport(BirtViewerReportService.java:973)
at org.eclipse.birt.report.service.actionhandler.BirtRunAndRenderActionHandler.__execute(BirtRunAndRenderActionHandler.java:76)
at org.eclipse.birt.report.service.actionhandler.AbstractBaseActionHandler.execute(AbstractBaseActionHandler.java:90)
at org.eclipse.birt.report.presentation.aggregation.layout.RunFragment.doService(RunFragment.java:120)
at org.eclipse.birt.report.presentation.aggregation.layout.FramesetFragment.service(FramesetFragment.java:86)
at org.eclipse.birt.report.servlet.ViewerServlet.__doGet(ViewerServlet.java:181)
at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doPost(BirtSoapMessageDispatcherServlet.java:278)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.service(BirtSoapMessageDispatcherServlet.java:122)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1230)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:779)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97)
at org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerFilter.java:68)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:964)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1104)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:914)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:463)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:530)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:316)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:287)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:558)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:608)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:985)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1074)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1865)
</pre>
<p>The engine start-up with the following log message:</p>
<pre class="_prettyXprint _lang-nocode">
20-okt-2015 15:51:17 null null
SEVERE: Message:Duplicate property names [altText] when adding the property to element [Chart]. Error code:DUPLICATE_PROPERTY
20-okt-2015 15:51:17 null null
SEVERE: Message:Duplicate property names [altTextID] when adding the property to element [Chart]. Error code:DUPLICATE_PROPERTY
</pre>
malaythecool
<p>had you created file in 4.5 or trying to open old file in new 4.5?</p>
<p> </p>
<p>Malay</p>
Bas13
<p>Created the file in 4.5.</p>
<p>Also open and closed the file in 4.4.2 for a 4.4.2 test, which worked.</p>
<p> </p>
<p>The file i tested has 4.5 in the properties</p>
<pre class="_prettyXprint _lang-xml">
<property name="createdBy">Eclipse BIRT Designer Version 4.5.0.v201506190710 Build <
@BUILD@>
;</property>
</pre>
<p>Also the file is working fine in the 4.5 BIRT eclipse environment.</p>