Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Assertion error
Narsimha
HI
I am getting following error while canceling task.
SEVERE [org.eclipse.birt.report.engine.api.impl.RunTask.doRun] : Error happened while running the report.java.lang.AssertionError
at org.eclipse.birt.data.engine.odi.AggrHolderManager.doSave(AggrHolderManager.java:99)
at org.eclipse.birt.data.engine.executor.transform.CachedResultSet.doSave(CachedResultSet.java:352)
at org.eclipse.birt.data.engine.impl.document.RDSaveUtil.saveForGeneration(RDSaveUtil.java:96)
at org.eclipse.birt.data.engine.impl.document.RDSaveUtil.saveResultIterator(RDSaveUtil.java:63)
at org.eclipse.birt.data.engine.impl.document.RDSave.saveResultIterator(RDSave.java:237)
at org.eclipse.birt.data.engine.impl.ResultIterator$RDSaveHelper.doSaveBasic(ResultIterator.java:1264)
at org.eclipse.birt.data.engine.impl.ResultIterator$RDSaveHelper.access$0(ResultIterator.java:1256)
at org.eclipse.birt.data.engine.impl.ResultIterator.prepareCurrentRow(ResultIterator.java:729)
at org.eclipse.birt.data.engine.impl.ResultIterator.<init>(ResultIterator.java:166)
at org.eclipse.birt.data.engine.impl.QueryResults.getResultIterator(QueryResults.java:208)
at org.eclipse.birt.report.engine.data.dte.QueryResultSet.<init>(QueryResultSet.java:98)
at org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExecuteQuery(DteDataEngine.java:168)
at org.eclipse.birt.report.engine.data.dte.DataGenerationEngine.doExecuteQuery(DataGenerationEngine.java:80)
at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.execute(AbstractDataEngine.java:265)
at org.eclipse.birt.report.engine.executor.ExecutionContext.executeQuery(ExecutionContext.java:1897)
at org.eclipse.birt.report.engine.executor.QueryItemExecutor.executeQuery(QueryItemExecutor.java:80)
at org.eclipse.birt.report.engine.executor.TableItemExecutor.execute(TableItemExecutor.java:62)
at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)
at org.eclipse.birt.report.engine.internal.executor.emitter.ReportItemEmitterExecutor.execute(ReportItemEmitterExecutor.java:46)
at org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor.java:43)
at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)
at org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportItemExecutor.execute(LocalizedReportItemExecutor.java:34)
at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:65)
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.presentation.ReportDocumentBuilder.build(ReportDocumentBuilder.java:249)
at org.eclipse.birt.report.engine.api.impl.RunTask.doRun(RunTask.java:260)
at org.eclipse.birt.report.engine.api.impl.RunTask.run(RunTask.java:85)
Find more posts tagged with
Comments
JasonW
What version of BIRT are you using and how are you running it?
Jason
Narsimha
we are using birt 3.7
and running on weblogic 10.0
only some times we are getting this assertion error while cancelling the task.
reports can be submitted in weblogic server from an external application. the admin tool which is developed by us will have references to the engine tasks. when the user clicks on cancel, we call task.cancel().
JasonW
Could you log a bugzilla entry for this? I assume you are not using the viewer?
Jason
JasonW
Could you log a bugzilla entry for this? I assume you are not using the viewer?
Jason
SaiPrasad
Hi,
I am also getting the same error. I am using Birt 4.2.2 and weblogic 12c.
Is there solution for this or any open bug for this.
Thanks,
Sai
shorne
<p>Hi, </p><p>I was able to reproduce this with the following:</p><ul class='bbc'><li>Create a table with any datasource</li><li>The table must have some aggregates (like SUM, COUNT etc)</li><li>When running the report the datasource returns zero rows</li><li>Use two phase generation RUN then RENDER</li></ul><p>The FIX</p><p>This is an assertion error that says when trying to persist the aggregates there are no rows. However, sometime this is fine if the data set is really empty. </p><p>Fix this by disabling asserts. I.e. adding JVM arguments <strong>-da:org.eclipse.birt.data.engine.odi.AggrHolderManager </strong>to your runtime</p>