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)
Exception when processing chart since 2.5.2
aargentier
Hi,
Since upgrading to 2.5.2 from 2.5.1 some of our reports are no longer generating correctly. BIRT appears to be having problems processing some line charts.
I've enclosed a stack trace below. Has anyone come across this problem since upgrading to 2.5.2 and if so could anyone offer some advice?
The stack trace has been shortened slightly as post is too long...
Antonio
org/eclipse/birt/data/engine/core/DataException ( 1 time(s) )
detail : org.eclipse.birt.report.engine.api.EngineException: org/eclipse/birt/data/engine/core/DataException
org/eclipse/birt/data/engine/core/DataException
at org.eclipse.birt.report.engine.executor.ExecutionContext.addException(ExecutionContext.java:1215)
at org.eclipse.birt.report.engine.executor.ExecutionContext.addException(ExecutionContext.java:1179)
at org.eclipse.birt.report.engine.internal.document.v4.ExtendedItemExecutor.executeQuery(ExtendedItemExecutor.java:267)
at org.eclipse.birt.report.engine.internal.document.v4.ExtendedItemExecutor.doExecute(ExtendedItemExecutor.java:232)
at org.eclipse.birt.report.engine.internal.document.v4.ExtendedItemExecutor.execute(ExtendedItemExecutor.java:181)
at org.eclipse.birt.report.engine.internal.document.v4.ContainerExecutor.prepareChildExecutor(ContainerExecutor.java:225)
at org.eclipse.birt.report.engine.internal.document.v4.ContainerExecutor.hasNextChild(ContainerExecutor.java:110)
at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.hasNextChild(WrappedReportItemExecutor.java:86)
at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.hasNextChild(WrappedReportItemExecutor.java:86)
at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:62)
at org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:26)
at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:140)
at org.eclipse.birt.report.engine.layout.html.HTMLInlineStackingLM.resumeLayout(HTMLInlineStackingLM.java:111)
at org.eclipse.birt.report.engine.layout.html.HTMLInlineStackingLM.layoutNodes(HTMLInlineStackingLM.java:160)
at org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:26)
at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:140)
at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:70)
at org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:26)
at org.eclipse.birt.report.engine.layout.html.HTMLTableLM.layoutChildren(HTMLTableLM.java:132)
at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:140)
at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:70)
at org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:26)
at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:140)
at org.eclipse.birt.report.engine.layout.html.HTMLInlineStackingLM.resumeLayout(HTMLInlineStackingLM.java:111)
at org.eclipse.birt.report.engine.layout.html.HTMLInlineStackingLM.layoutNodes(HTMLInlineStackingLM.java:160)
at org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:26)
at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:140)
at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:70)
at org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:26)
at org.eclipse.birt.report.engine.layout.html.HTMLTableBandLM.layoutChildren(HTMLTableBandLM.java:67)
at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:140)
at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:70)
at org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:26)
at org.eclipse.birt.report.engine.layout.html.HTMLTableLM.layoutChildren(HTMLTableLM.java:132)
at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:140)
at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:70)
at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:90)
at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:99)
at org.eclipse.birt.report.engine.api.impl.RenderTask$PageRangeRender.render(RenderTask.java:600)
at org.eclipse.birt.report.engine.api.impl.RenderTask.render(RenderTask.java:221)
at org.eclipse.birt.report.service.ReportEngineService.renderReport(ReportEngineService.java:1537)
at org.eclipse.birt.report.service.BirtViewerReportService.getPage(BirtViewerReportService.java:204)
at org.eclipse.birt.report.service.actionhandler.BirtChangeParameterActionHandler.doRenderPage(BirtChangeParameterActionHandler.java:82)
at org.eclipse.birt.report.service.actionhandler.AbstractChangeParameterActionHandler.__execute(AbstractChangeParameterActionHandler.java:103)
at
[snip]...
Caused by: org.eclipse.birt.data.engine.core.DataException: org/eclipse/birt/data/engine/core/DataException
org/eclipse/birt/data/engine/core/DataException
at org.eclipse.birt.data.engine.impl.document.RDAggrUtil.<init>(RDAggrUtil.java:75)
at org.eclipse.birt.data.engine.impl.document.util.ExprResultSet.prepare(ExprResultSet.java:104)
at org.eclipse.birt.data.engine.impl.document.util.ExprResultSet.<init>(ExprResultSet.java:76)
at org.eclipse.birt.data.engine.impl.document.RDLoad.loadExprResultSet(RDLoad.java:114)
at org.eclipse.birt.data.engine.impl.document.ResultIterator.prepare(ResultIterator.java:120)
at org.eclipse.birt.data.engine.impl.document.ResultIterator.<init>(ResultIterator.java:95)
at org.eclipse.birt.data.engine.impl.document.ResultIterator.<init>(ResultIterator.java:68)
at org.eclipse.birt.data.engine.impl.document.ResultIterator2.<init>(ResultIterator2.java:43)
at org.eclipse.birt.data.engine.impl.document.QueryResults.getResultIterator(QueryResults.java:275)
at org.eclipse.birt.report.engine.data.dte.QueryResultSet.<init>(QueryResultSet.java:115)
at org.eclipse.birt.report.engine.data.dte.DataPresentationEngine.doExecuteQuery(DataPresentationEngine.java:179)
at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.execute(AbstractDataEngine.java:265)
at org.eclipse.birt.report.engine.executor.ExecutionContext.executeQuery(ExecutionContext.java:1875)
at org.eclipse.birt.report.engine.internal.document.v4.ExtendedItemExecutor.executeQuery(ExtendedItemExecutor.java:259)
... 88 more
Caused by: java.io.IOException: org/eclipse/birt/data/engine/core/DataException
at org.eclipse.birt.core.util.IOUtil.readObject(IOUtil.java:627)
at org.eclipse.birt.core.util.IOUtil.readObject(IOUtil.java:535)
at org.eclipse.birt.data.engine.impl.document.RDAggrUtil$RDAggrValueHolder.<init>(RDAggrUtil.java:177)
at org.eclipse.birt.data.engine.impl.document.RDAggrUtil.<init>(RDAggrUtil.java:60)
... 101 more
Caused by: java.lang.ClassNotFoundException: org/eclipse/birt/data/engine/core/DataException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.eclipse.birt.core.util.IOUtil$1.resolveClass(IOUtil.java:619)
at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
at java.io.ObjectInputStream.readClassDesc(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at org.eclipse.birt.core.util.IOUtil.readObject(IOUtil.java:623)
... 104 more
Find more posts tagged with
Comments
mwilliams
Hi Antonio,
Are you using aggregations on your chart? Something that may have changed slightly from 2.5.1 to 2.5.2? Any way you can create a chart with the sample database similar to that which you're having issues with in 2.5.1 and then migrate it to 2.5.2 to see if it has issues. If so, could you attach that report design?
aargentier
I think I may have tracked down the problem.
The original report was created in the 2.3.x release of BIRT. Since then it has been upgraded to 2.5.1 and now 2.5.2.
It appears that the default aggregation function may have changed between releases. The charts data is currently set to Default(Weighted Average) but no weighting is defined. When the report was first designed it was set to mean average. Changing the aggregation function back to mean works fine.
Selecting weighted average allows the user to define the weighting but when selecting Default(Weighted average) I cannot see a way to set the weighting. Is this correct?
Antonio