Community
Participate
Working Groups
Build Identifier: 20110916-0149 Hi, I'm trying to create a report with a RunningCount aggregation. The report is working fine when generated with the WebViewer within the report designer. But when the report is exported as a PDF from the designer it throws an NullPointerException as given below. Caused by: java.lang.NullPointerException at org.eclipse.birt.core.util.IOUtil.writeInt(IOUtil.java:226) at org.eclipse.birt.core.util.IOUtil.writeObject(IOUtil.java:674) at org.eclipse.birt.data.engine.executor.transform.SimpleGroupCalculator.next(SimpleGroupCalculator.java:233) at org.eclipse.birt.data.engine.executor.transform.SimpleResultSet.next(SimpleResultSet.java:562) at org.eclipse.birt.data.engine.executor.transform.ResultSetWrapper.next(ResultSetWrapper.java:81) at org.eclipse.birt.data.engine.impl.ResultIterator.hasNextRow(ResultIterator.java:584) at org.eclipse.birt.data.engine.impl.ResultIterator.nextRow(ResultIterator.java:525) at org.eclipse.birt.data.engine.impl.ResultIterator.next(ResultIterator.java:475) at org.eclipse.birt.report.engine.data.dte.QueryResultSet.next(QueryResultSet.java:191) at org.eclipse.birt.report.engine.executor.ListingElementExecutor.hasNextChild(ListingElementExecutor.java:244) 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.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:92) at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:100) at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:180) All other report forms like excel, word etc also is throwing the NullPointerException. Bug posted as suggested by http://www.eclipse.org/forums/index.php/t/276764/. A test case can be found in the forum post. Reproducible: Always Steps to Reproduce: 1. Create a report with a data table 2. Add new column with a aggregation field as RunningCount 3. Export the report as PDF/Excel
Created attachment 209665 [details] Test Case Attached test case to reproduce the issue.
Hi, I can not reproduce this issue in the 3.7.2 release build <3.7.2.v20120214-1408>
Set status