Skip to main content



      Home
Home » Archived » BIRT » An exception on rendering chart with empty data set.
An exception on rendering chart with empty data set. [message #264221] Wed, 09 January 2008 16:04 Go to next message
Eclipse UserFriend
Hi,

I am trying to render a chart embedded in report. chart is feeded by data
coming from a joint data set. Now when the original data sets which feed the
joint data set return no data, I get the following exception on rendering
the chart:

Chart NewChart:
- exception.unknown.trigger.datatype
exception.unknown.trigger.datatype ( 1 time(s) )
detail : org.eclipse.birt.chart.exception.ChartException:
exception.unknown.trigger.datatype at
org.eclipse.birt.chart.internal.datafeed.UserDataSetProcesso r.populate(UserDataSetProcessor.java:84)
at
org.eclipse.birt.chart.internal.datafeed.DataProcessor.fillS eriesDataSet(DataProcessor.java:1251)
at
org.eclipse.birt.chart.internal.datafeed.DataProcessor.gener ateRuntimeSeries(DataProcessor.java:720)
at
org.eclipse.birt.chart.internal.datafeed.DataProcessor.gener ateRuntimeSeries(DataProcessor.java:433)
at org.eclipse.birt.chart.factory.Generator.bindData(Generator. java:572) at
org.eclipse.birt.chart.reportitem.ChartReportItemPresentatio nImpl.onRowSets(ChartReportItemPresentationImpl.java:470)
at
org.eclipse.birt.report.engine.presentation.LocalizedContent Visitor.processExtendedContent(LocalizedContentVisitor.java: 772)
at
org.eclipse.birt.report.engine.presentation.LocalizedContent Visitor.visitForeign(LocalizedContentVisitor.java:414)
at
org.eclipse.birt.report.engine.content.impl.ForeignContent.a ccept(ForeignContent.java:59)
at
org.eclipse.birt.report.engine.presentation.LocalizedContent Visitor.localize(LocalizedContentVisitor.java:145)
at
org.eclipse.birt.report.engine.internal.executor.l18n.Locali zedReportItemExecutor.execute(LocalizedReportItemExecutor.ja va:36)
at
org.eclipse.birt.report.engine.layout.html.HTMLBlockStacking LM.layoutNodes(HTMLBlockStackingLM.java:63)
at
org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout (HTMLPageLM.java:85)
at
org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutE ngine.layout(HTMLReportLayoutEngine.java:106)
at
org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doR un(RunAndRenderTask.java:140)
at
org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run (RunAndRenderTask.java:68)
at
org.eclipse.birt.report.service.ReportEngineService.runAndRe nderReport(Unknown
Source) at
org.eclipse.birt.report.service.ReportEngineService.runAndRe nderReport(Unknown
Source) at
org.eclipse.birt.report.service.BirtViewerReportService.runA ndRenderReport(Unknown
Source) at
org.eclipse.birt.report.service.actionhandler.BirtRunAndRend erActionHandler.__execute(Unknown
Source) at
org.eclipse.birt.report.service.actionhandler.AbstractBaseAc tionHandler.execute(Unknown
Source) at
org.eclipse.birt.report.presentation.aggregation.layout.Engi neFragment.doService(Unknown
Source) at
org.eclipse.birt.report.presentation.aggregation.AbstractBas eFragment.service(Unknown
Source) at org.eclipse.birt.report.servlet.BirtEngineServlet.__doGet(Un known
Source) at
org.eclipse.birt.report.servlet.BaseReportEngineServlet.doGe t(Unknown
Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at
org.apache.axis.transport.http.AxisServletBase.service(AxisS ervletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:188)
at org.eclipse.birt.report.filter.ViewerFilter.doFilter(Unknown Source) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:210)
at
org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.java:151)
at
org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:870)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11Connection Handler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo lTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt( LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:685)
at java.lang.Thread.run(Unknown Source)Does anybody have any clue what the
causes this exception? ThanksFarid
Re: An exception on rendering chart with empty data set. [message #264261 is a reply to message #264221] Wed, 09 January 2008 21:18 Go to previous messageGo to next message
Eclipse UserFriend
Please file a bugzilla entry and attach a report to reproduce it.

Thanks,

David

"Farid" <faridadhami@yahoo.com> wrote in message
news:fm3cq4$4u6$1@build.eclipse.org...
> Hi,
>
> I am trying to render a chart embedded in report. chart is feeded by data
> coming from a joint data set. Now when the original data sets which feed
> the joint data set return no data, I get the following exception on
> rendering the chart:
>
> Chart NewChart:
> - exception.unknown.trigger.datatype
> exception.unknown.trigger.datatype ( 1 time(s) )
> detail : org.eclipse.birt.chart.exception.ChartException:
> exception.unknown.trigger.datatype at
> org.eclipse.birt.chart.internal.datafeed.UserDataSetProcesso r.populate(UserDataSetProcessor.java:84)
> at
> org.eclipse.birt.chart.internal.datafeed.DataProcessor.fillS eriesDataSet(DataProcessor.java:1251)
> at
> org.eclipse.birt.chart.internal.datafeed.DataProcessor.gener ateRuntimeSeries(DataProcessor.java:720)
> at
> org.eclipse.birt.chart.internal.datafeed.DataProcessor.gener ateRuntimeSeries(DataProcessor.java:433)
> at org.eclipse.birt.chart.factory.Generator.bindData(Generator. java:572)
> at
> org.eclipse.birt.chart.reportitem.ChartReportItemPresentatio nImpl.onRowSets(ChartReportItemPresentationImpl.java:470)
> at
> org.eclipse.birt.report.engine.presentation.LocalizedContent Visitor.processExtendedContent(LocalizedContentVisitor.java: 772)
> at
> org.eclipse.birt.report.engine.presentation.LocalizedContent Visitor.visitForeign(LocalizedContentVisitor.java:414)
> at
> org.eclipse.birt.report.engine.content.impl.ForeignContent.a ccept(ForeignContent.java:59)
> at
> org.eclipse.birt.report.engine.presentation.LocalizedContent Visitor.localize(LocalizedContentVisitor.java:145)
> at
> org.eclipse.birt.report.engine.internal.executor.l18n.Locali zedReportItemExecutor.execute(LocalizedReportItemExecutor.ja va:36)
> at
> org.eclipse.birt.report.engine.layout.html.HTMLBlockStacking LM.layoutNodes(HTMLBlockStackingLM.java:63)
> at
> org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout (HTMLPageLM.java:85)
> at
> org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutE ngine.layout(HTMLReportLayoutEngine.java:106)
> at
> org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doR un(RunAndRenderTask.java:140)
> at
> org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run (RunAndRenderTask.java:68)
> at
> org.eclipse.birt.report.service.ReportEngineService.runAndRe nderReport(Unknown
> Source) at
> org.eclipse.birt.report.service.ReportEngineService.runAndRe nderReport(Unknown
> Source) at
> org.eclipse.birt.report.service.BirtViewerReportService.runA ndRenderReport(Unknown
> Source) at
> org.eclipse.birt.report.service.actionhandler.BirtRunAndRend erActionHandler.__execute(Unknown
> Source) at
> org.eclipse.birt.report.service.actionhandler.AbstractBaseAc tionHandler.execute(Unknown
> Source) at
> org.eclipse.birt.report.presentation.aggregation.layout.Engi neFragment.doService(Unknown
> Source) at
> org.eclipse.birt.report.presentation.aggregation.AbstractBas eFragment.service(Unknown
> Source) at
> org.eclipse.birt.report.servlet.BirtEngineServlet.__doGet(Un known Source)
> at org.eclipse.birt.report.servlet.BaseReportEngineServlet.doGe t(Unknown
> Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at
> org.apache.axis.transport.http.AxisServletBase.service(AxisS ervletBase.java:327)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:269)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:188)
> at org.eclipse.birt.report.filter.ViewerFilter.doFilter(Unknown Source) at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:215)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:188)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:210)
> at
> org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:174)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:127)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:117)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:108)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.java:151)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:870)
> at
> org.apache.coyote.http11.Http11BaseProtocol$Http11Connection Handler.processConnection(Http11BaseProtocol.java:665)
> at
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo lTcpEndpoint.java:528)
> at
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt( LeaderFollowerWorkerThread.java:81)
> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:685)
> at java.lang.Thread.run(Unknown Source)Does anybody have any clue what the
> causes this exception? ThanksFarid
>
Re: An exception on rendering chart with empty data set. [message #264844 is a reply to message #264261] Fri, 18 January 2008 17:18 Go to previous message
Eclipse UserFriend
I found the issue which is happing in a bar chart. The chart has multiple
series of values. each series has the tooltip on each bar. The exception is
thrown when one of the series doesn't have any value. I resolved the issue
by changing the tooltip expression to check if the value exists otherwise
shows the 0.
The real issue, is why it evaluates the tooltip expression when it is not
supposed to be shown.

Thanks
Farid

"David Michonneau" <dmichonneau@actuate.com> wrote in message
news:fm3va7$fvf$1@build.eclipse.org...
> Please file a bugzilla entry and attach a report to reproduce it.
>
> Thanks,
>
> David
>
> "Farid" <faridadhami@yahoo.com> wrote in message
> news:fm3cq4$4u6$1@build.eclipse.org...
>> Hi,
>>
>> I am trying to render a chart embedded in report. chart is feeded by data
>> coming from a joint data set. Now when the original data sets which feed
>> the joint data set return no data, I get the following exception on
>> rendering the chart:
>>
>> Chart NewChart:
>> - exception.unknown.trigger.datatype
>> exception.unknown.trigger.datatype ( 1 time(s) )
>> detail : org.eclipse.birt.chart.exception.ChartException:
>> exception.unknown.trigger.datatype at
>> org.eclipse.birt.chart.internal.datafeed.UserDataSetProcesso r.populate(UserDataSetProcessor.java:84)
>> at
>> org.eclipse.birt.chart.internal.datafeed.DataProcessor.fillS eriesDataSet(DataProcessor.java:1251)
>> at
>> org.eclipse.birt.chart.internal.datafeed.DataProcessor.gener ateRuntimeSeries(DataProcessor.java:720)
>> at
>> org.eclipse.birt.chart.internal.datafeed.DataProcessor.gener ateRuntimeSeries(DataProcessor.java:433)
>> at org.eclipse.birt.chart.factory.Generator.bindData(Generator. java:572)
>> at
>> org.eclipse.birt.chart.reportitem.ChartReportItemPresentatio nImpl.onRowSets(ChartReportItemPresentationImpl.java:470)
>> at
>> org.eclipse.birt.report.engine.presentation.LocalizedContent Visitor.processExtendedContent(LocalizedContentVisitor.java: 772)
>> at
>> org.eclipse.birt.report.engine.presentation.LocalizedContent Visitor.visitForeign(LocalizedContentVisitor.java:414)
>> at
>> org.eclipse.birt.report.engine.content.impl.ForeignContent.a ccept(ForeignContent.java:59)
>> at
>> org.eclipse.birt.report.engine.presentation.LocalizedContent Visitor.localize(LocalizedContentVisitor.java:145)
>> at
>> org.eclipse.birt.report.engine.internal.executor.l18n.Locali zedReportItemExecutor.execute(LocalizedReportItemExecutor.ja va:36)
>> at
>> org.eclipse.birt.report.engine.layout.html.HTMLBlockStacking LM.layoutNodes(HTMLBlockStackingLM.java:63)
>> at
>> org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout (HTMLPageLM.java:85)
>> at
>> org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutE ngine.layout(HTMLReportLayoutEngine.java:106)
>> at
>> org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doR un(RunAndRenderTask.java:140)
>> at
>> org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run (RunAndRenderTask.java:68)
>> at
>> org.eclipse.birt.report.service.ReportEngineService.runAndRe nderReport(Unknown
>> Source) at
>> org.eclipse.birt.report.service.ReportEngineService.runAndRe nderReport(Unknown
>> Source) at
>> org.eclipse.birt.report.service.BirtViewerReportService.runA ndRenderReport(Unknown
>> Source) at
>> org.eclipse.birt.report.service.actionhandler.BirtRunAndRend erActionHandler.__execute(Unknown
>> Source) at
>> org.eclipse.birt.report.service.actionhandler.AbstractBaseAc tionHandler.execute(Unknown
>> Source) at
>> org.eclipse.birt.report.presentation.aggregation.layout.Engi neFragment.doService(Unknown
>> Source) at
>> org.eclipse.birt.report.presentation.aggregation.AbstractBas eFragment.service(Unknown
>> Source) at
>> org.eclipse.birt.report.servlet.BirtEngineServlet.__doGet(Un known Source)
>> at org.eclipse.birt.report.servlet.BaseReportEngineServlet.doGe t(Unknown
>> Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
>> at
>> org.apache.axis.transport.http.AxisServletBase.service(AxisS ervletBase.java:327)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:269)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:188)
>> at org.eclipse.birt.report.filter.ViewerFilter.doFilter(Unknown Source)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:215)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:188)
>> at
>> org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:210)
>> at
>> org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:174)
>> at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:127)
>> at
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:117)
>> at
>> org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:108)
>> at
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.java:151)
>> at
>> org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:870)
>> at
>> org.apache.coyote.http11.Http11BaseProtocol$Http11Connection Handler.processConnection(Http11BaseProtocol.java:665)
>> at
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo lTcpEndpoint.java:528)
>> at
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt( LeaderFollowerWorkerThread.java:81)
>> at
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:685)
>> at java.lang.Thread.run(Unknown Source)Does anybody have any clue what
>> the causes this exception? ThanksFarid
>>
>
>
Previous Topic:Maximum Open Cursors Exceeded
Next Topic:genReport.sh
Goto Forum:
  


Current Time: Tue Apr 29 00:28:09 EDT 2025

Powered by FUDForum. Page generated in 0.06530 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top