Birt 4.3.1 / Karaf / Felix - Duplicate aggregation name: COUNT
<p><span>Good day to you all,</span></p><p> </p><p><span>We use Birt (V3.7.1) through its ReportEngine programmatically from a Java application deployed in OSGi – Karaf container (JBossFuse).</span></p><p> </p><p><span>As already mentioned by other people on the forum, using the OSGi libs in Karaf fails so we had to build a bundle ourselves from the non-OSGi jars. </span></p><p> </p><p><span>The way we do this is by packaging all jars under the lib folder of the birt runtime archive in a single bundle. We generate the bundle using the bnd tool. </span><span>Here is the code that generates a working Birt bundle from the non-osgi libs:</span></p><p> </p><p><span>//
</span></p><p> </p><p>Bundle-Name: Eclipse BIRT Runtime</p><p>Bundle-Vendor: Eclipse</p><p>Bundle-SymbolicName: org.eclipse.birt.runtime</p><p>Bundle-Version: ${birt.version}</p><p> </p><p># List all BIRT jars</p><p>jar-list:${<span class='bbc_underline'>lsr</span>;${project.home}/<span class='bbc_underline'>lib</span>/<span class='bbc_underline'>birt</span>-v4.3.1;*.jar}</p><p><span class='bbc_underline'>classpath</span></p><p>-jar-list: ${replace;${jar-list};^(.*)$;<span class='bbc_underline'>lib</span>/$1}</p><p>include-resource-list: ${replace;${jar-list};^(.*)$;<span class='bbc_underline'>lib</span>/$1 = ../<span class='bbc_underline'>lib</span>/<span class='bbc_underline'>birt</span>-v4.3.1/$1}</p><p> </p><p>Include-Resource: ${include-resource-list}</p><p> </p><p>Bundle-ClassPath: ${<span class='bbc_underline'>classpath</span>-jar-list}</p><p> </p><p>Private-Package: *</p><p> </p><p>Import-Package: !javax.microedition.*, </p><p><span class='bbc_underline'>javax</span>.*, </p><p>org.w3c.dom, </p><p>org.w3c.dom.*, </p><p>org.xml.sax, </p><p>org.xml.sax.*</p><p> </p><p>Export-Package: org.eclipse.birt.report.engine.api; version=${birt.version.export}, </p><p>org.eclipse.birt.report.model.api; version=${birt.version.export}, </p><p>org.eclipse.birt.core.framework; version=${birt.version.export}, </p><p>org.eclipse.birt.core.exception; version=${birt.version.export}, </p><p>org.eclipse.core.internal.registry; version=${birt.version.export}, </p><p>org.eclipse.birt.report.engine.api.script; version=${birt.version.export},</p><p>org.eclipse.birt.report.engine.content; version=${birt.version.export},</p><p>org.eclipse.birt.report.engine.emitter; version=${birt.version.export},</p><p>org.eclipse.birt.report.engine.api.script.element; version=${birt.version.export},</p><p>org.eclipse.birt.report.engine.api.script.eventadapter; version=${birt.version.export},</p><p>org.eclipse.birt.report.engine.api.script.instance; version=${birt.version.export},</p><p>org.eclipse.birt.report.model.api.activity; version=${birt.version.export},</p><p>org.eclipse.emf.common.command; version=${birt.version.export}</p><p> </p><p>-<span class='bbc_underline'>removeheaders</span> DSTAMP, Originally-Created-By, TODAY, Tool, TSTAMP, Include-Resource, Private-Package, Ignore-Package, URL</p><p> </p><p>//
</p><p> </p><p>Once this bundle is generated and deployed in Karaf, we can use the ReportEngine API to generate reports as described in the tutorials. So, using this technique, everything works perfectly fine.</p><p> </p><p>Now, the problem we have is that, when applying the exact same procedure with the runtime archive of birt 4.2.1 or 4.3.1 (both versions were tried), the bundle is successfully deployed but all report generations fail in error.</p><p> </p><p>The errors look like following:</p><p> </p><p>//
</p><p> </p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]org.eclipse.birt.report.engine.api.EngineException: Duplicate aggregation name: COUNT.[/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]at com.swift.reporting.engine.birt.BirtReport.createAndExecuteTask(BirtReport.java:277)[165:com.swift.reporting.birt:4.0.0][/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]at com.swift.reporting.engine.birt.BirtReport.generateReport(BirtReport.java:118)[165:com.swift.reporting.birt:4.0.0][/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]at com.swift.reporting.engine.birt.BirtReport.generate(BirtReport.java:82)[165:com.swift.reporting.birt:4.0.0][/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]at com.swift.reporting.engine.ReportExecutor$ReportExecutionJob.run(Unknown Source)[164:com.swift.reporting.engine:4.0.0][/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_45][/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_45][/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]at java.lang.Thread.run(Thread.java:744)[:1.7.0_45][/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]Caused by: org.eclipse.birt.report.engine.api.EngineException: Duplicate aggregation name: COUNT.[/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]at org.eclipse.birt.report.engine.executor.ExecutionContext.addException(ExecutionContext.java:1245)[166:org.eclipse.birt.runtime:4.3.1][/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]at org.eclipse.birt.report.engine.executor.ExecutionContext.addException(ExecutionContext.java:1224)[166:org.eclipse.birt.runtime:4.3.1][/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]at org.eclipse.birt.report.engine.executor.QueryItemExecutor.executeQuery(QueryItemExecutor.java:96)[166:org.eclipse.birt.runtime:4.3.1][/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]at org.eclipse.birt.report.engine.executor.TableItemExecutor.execute(TableItemExecutor.java:62)[166:org.eclipse.birt.runtime:4.3.1][/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]at org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor.java:43)[166:org.eclipse.birt.runtime:4.3.1][/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)[166:org.eclipse.birt.runtime:4.3.1][/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]at org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportItemExecutor.execute(LocalizedReportItemExecutor.java:34)[166:org.eclipse.birt.runtime:4.3.1][/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:65)[166:org.eclipse.birt.runtime:4.3.1][/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]at org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:26)[166:org.eclipse.birt.runtime:4.3.1][/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:140)[166:org.eclipse.birt.runtime:4.3.1][/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]at org.eclipse.birt.report.engine.layout.html.HTMLInlineStackingLM.resumeLayout(HTMLInlineStackingLM.java:111)[166:org.eclipse.birt.runtime:4.3.1][/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]at org.eclipse.birt.report.engine.layout.html.HTMLInlineStackingLM.layoutNodes(HTMLInlineStackingLM.java:160)[166:org.eclipse.birt.runtime:4.3.1][/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]at org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:26)[166:org.eclipse.birt.runtime:4.3.1][/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:140)[166:org.eclipse.birt.runtime:4.3.1][/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:70)[166:org.eclipse.birt.runtime:4.3.1][/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]at org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:26)[166:org.eclipse.birt.runtime:4.3.1][/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]at org.eclipse.birt.report.engine.layout.html.HTMLRepeatHeaderLM.layoutChildren(HTMLRepeatHeaderLM.java:46)[166:org.eclipse.birt.runtime:4.3.1][/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:140)[166:org.eclipse.birt.runtime:4.3.1][/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:70)[166:org.eclipse.birt.runtime:4.3.1][/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:92)[166:org.eclipse.birt.runtime:4.3.1][/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:100)[166:org.eclipse.birt.runtime:4.3.1][/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:181)[166:org.eclipse.birt.runtime:4.3.1][/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:77)[166:org.eclipse.birt.runtime:4.3.1][/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]at com.swift.reporting.engine.birt.BirtReport.createAndExecuteTask(BirtReport.java:268)[165:com.swift.reporting.birt:4.0.0][/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]... 6 more[/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]Caused by: org.eclipse.birt.data.engine.core.DataException: Duplicate aggregation name: COUNT.[/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]at org.eclipse.birt.data.engine.api.aggregation.AggregationManager.populateFactoryAggregations(AggregationManager.java:183)[166:org.eclipse.birt.runtime:4.3.1][/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]at org.eclipse.birt.data.engine.api.aggregation.AggregationManager.populateAggregations(AggregationManager.java:153)[166:org.eclipse.birt.runtime:4.3.1][/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]at org.eclipse.birt.data.engine.api.aggregation.AggregationManager.<init>(AggregationManager.java:123)[166:org.eclipse.birt.runtime:4.3.1][/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]at org.eclipse.birt.data.engine.api.aggregation.AggregationManager.getInstance(AggregationManager.java:110)[166:org.eclipse.birt.runtime:4.3.1][/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]at org.eclipse.birt.data.engine.executor.QueryExecutionStrategyUtil.getQueryExecutionStrategy(QueryExecutionStrategyUtil.java:150)[166:org.eclipse.birt.runtime:4.3.1][/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]at org.eclipse.birt.data.engine.executor.CandidateQuery.execute(CandidateQuery.java:124)[166:org.eclipse.birt.runtime:4.3.1][/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$ScriptDSQueryExecutor.executeOdiQuery(PreparedScriptDSQuery.java:226)[166:org.eclipse.birt.runtime:4.3.1][/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]at org.eclipse.birt.data.engine.impl.QueryExecutor.execute(QueryExecutor.java:1208)[166:org.eclipse.birt.runtime:4.3.1][/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]at org.eclipse.birt.data.engine.impl.ServiceForQueryResults.executeQuery(ServiceForQueryResults.java:233)[166:org.eclipse.birt.runtime:4.3.1][/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]at org.eclipse.birt.data.engine.impl.QueryResults.getResultIterator(QueryResults.java:178)[166:org.eclipse.birt.runtime:4.3.1][/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]at org.eclipse.birt.report.engine.data.dte.QueryResultSet.<init>(QueryResultSet.java:98)[166:org.eclipse.birt.runtime:4.3.1][/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]at org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExecuteQuery(DteDataEngine.java:168)[166:org.eclipse.birt.runtime:4.3.1][/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.execute(AbstractDataEngine.java:275)[166:org.eclipse.birt.runtime:4.3.1][/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]at org.eclipse.birt.report.engine.executor.ExecutionContext.executeQuery(ExecutionContext.java:1947)[166:org.eclipse.birt.runtime:4.3.1][/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]at org.eclipse.birt.report.engine.executor.QueryItemExecutor.executeQuery(QueryItemExecutor.java:80)[166:org.eclipse.birt.runtime:4.3.1][/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]... 27 more[/font]</span></p><p> </p><p>//
</p><p> </p><p>We also end up with the following errors the first time we generate reports (i.e. first time the platform is initialized):</p><p> </p><p>//
</p><p> </p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]10 Feb 2014 16:41:42,517 | ERROR | RPT_EXEC_16 | org.eclipse.birt.report.model.metadata.ExtensionLoader | 166 - org.eclipse.birt.runtime - 4.3.1 | Message:Duplicate style names when adding the predefined style [chart] to the meta-data dictionary. Error code:DUPLICATE_STYLE_NAME [/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]10 Feb 2014 16:41:42,533 | ERROR | RPT_EXEC_16 | org.eclipse.birt.report.model.metadata.ExtensionLoader | 166 - org.eclipse.birt.runtime - 4.3.1 | Message:Duplicate extension name when adding the extension [Chart] to the meta-data dictionary. Error code:DUPLICATE_EXTENSION_NAME [/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]10 Feb 2014 16:41:42,533 | ERROR | RPT_EXEC_16 | org.eclipse.birt.report.model.metadata.ExtensionLoader | 166 - org.eclipse.birt.runtime - 4.3.1 | Message:Duplicate style names when adding the predefined style [crosstab] to the meta-data dictionary. Error code:DUPLICATE_STYLE_NAME [/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]10 Feb 2014 16:41:42,533 | ERROR | RPT_EXEC_16 | org.eclipse.birt.report.model.metadata.ExtensionLoader | 166 - org.eclipse.birt.runtime - 4.3.1 | Message:Duplicate style names when adding the predefined style [crosstab-header] to the meta-data dictionary. Error code:DUPLICATE_STYLE_NAME [/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]10 Feb 2014 16:41:42,533 | ERROR | RPT_EXEC_16 | org.eclipse.birt.report.model.metadata.ExtensionLoader | 166 - org.eclipse.birt.runtime - 4.3.1 | Message:Duplicate style names when adding the predefined style [crosstab-detail] to the meta-data dictionary. Error code:DUPLICATE_STYLE_NAME [/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]10 Feb 2014 16:41:42,533 | ERROR | RPT_EXEC_16 | org.eclipse.birt.report.model.metadata.ExtensionLoader | 166 - org.eclipse.birt.runtime - 4.3.1 | Message:Duplicate style names when adding the predefined style [crosstab-row-header] to the meta-data dictionary. Error code:DUPLICATE_STYLE_NAME [/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]10 Feb 2014 16:41:42,533 | ERROR | RPT_EXEC_16 | org.eclipse.birt.report.model.metadata.ExtensionLoader | 166 - org.eclipse.birt.runtime - 4.3.1 | Message:Duplicate style names when adding the predefined style [crosstab-column-header] to the meta-data dictionary. Error code:DUPLICATE_STYLE_NAME [/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]10 Feb 2014 16:41:42,533 | ERROR | RPT_EXEC_16 | org.eclipse.birt.report.model.metadata.ExtensionLoader | 166 - org.eclipse.birt.runtime - 4.3.1 | Message:Duplicate style names when adding the predefined style [crosstab-row-grand-total] to the meta-data dictionary. Error code:DUPLICATE_STYLE_NAME [/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]10 Feb 2014 16:41:42,549 | ERROR | RPT_EXEC_16 | org.eclipse.birt.report.model.metadata.ExtensionLoader | 166 - org.eclipse.birt.runtime - 4.3.1 | Message:Duplicate style names when adding the predefined style [crosstab-column-grand-total] to the meta-data dictionary. Error code:DUPLICATE_STYLE_NAME [/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]10 Feb 2014 16:41:42,549 | ERROR | RPT_EXEC_16 | org.eclipse.birt.report.model.metadata.ExtensionLoader | 166 - org.eclipse.birt.runtime - 4.3.1 | Message:Duplicate style names when adding the predefined style [crosstab-row-sub-total] to the meta-data dictionary. Error code:DUPLICATE_STYLE_NAME [/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]10 Feb 2014 16:41:42,549 | ERROR | RPT_EXEC_16 | org.eclipse.birt.report.model.metadata.ExtensionLoader | 166 - org.eclipse.birt.runtime - 4.3.1 | Message:Duplicate style names when adding the predefined style [crosstab-column-sub-total] to the meta-data dictionary. Error code:DUPLICATE_STYLE_NAME [/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]10 Feb 2014 16:41:42,549 | ERROR | RPT_EXEC_16 | org.eclipse.birt.report.model.metadata.ExtensionLoader | 166 - org.eclipse.birt.runtime - 4.3.1 | Message:Duplicate style names when adding the predefined style [crosstab-cell] to the meta-data dictionary. Error code:DUPLICATE_STYLE_NAME [/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]10 Feb 2014 16:41:42,549 | ERROR | RPT_EXEC_16 | org.eclipse.birt.report.model.metadata.ExtensionLoader | 166 - org.eclipse.birt.runtime - 4.3.1 | Message:Duplicate extension name when adding the extension [Crosstab] to the meta-data dictionary. Error code:DUPLICATE_EXTENSION_NAME [/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]10 Feb 2014 16:41:42,549 | ERROR | RPT_EXEC_16 | org.eclipse.birt.report.model.metadata.ExtensionLoader | 166 - org.eclipse.birt.runtime - 4.3.1 | Message:Duplicate extension name when adding the extension [CrosstabView] to the meta-data dictionary. Error code:DUPLICATE_EXTENSION_NAME [/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]10 Feb 2014 16:41:42,549 | ERROR | RPT_EXEC_16 | org.eclipse.birt.report.model.metadata.ExtensionLoader | 166 - org.eclipse.birt.runtime - 4.3.1 | Message:Duplicate extension name when adding the extension [DimensionView] to the meta-data dictionary. Error code:DUPLICATE_EXTENSION_NAME [/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]10 Feb 2014 16:41:42,549 | ERROR | RPT_EXEC_16 | org.eclipse.birt.report.model.metadata.ExtensionLoader | 166 - org.eclipse.birt.runtime - 4.3.1 | Message:Duplicate extension name when adding the extension [LevelView] to the meta-data dictionary. Error code:DUPLICATE_EXTENSION_NAME [/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]10 Feb 2014 16:41:42,549 | ERROR | RPT_EXEC_16 | org.eclipse.birt.report.model.metadata.ExtensionLoader | 166 - org.eclipse.birt.runtime - 4.3.1 | Message:Duplicate extension name when adding the extension [MeasureView] to the meta-data dictionary. Error code:DUPLICATE_EXTENSION_NAME [/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]10 Feb 2014 16:41:42,549 | ERROR | RPT_EXEC_16 | org.eclipse.birt.report.model.metadata.ExtensionLoader | 166 - org.eclipse.birt.runtime - 4.3.1 | Message:Duplicate extension name when adding the extension [ComputedMeasureView] to the meta-data dictionary. Error code:DUPLICATE_EXTENSION_NAME [/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]10 Feb 2014 16:41:42,564 | ERROR | RPT_EXEC_16 | org.eclipse.birt.report.model.metadata.ExtensionLoader | 166 - org.eclipse.birt.runtime - 4.3.1 | Message:Duplicate extension name when adding the extension [CrosstabCell] to the meta-data dictionary. Error code:DUPLICATE_EXTENSION_NAME [/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]10 Feb 2014 16:41:42,564 | ERROR | RPT_EXEC_16 | org.eclipse.birt.report.model.metadata.ExtensionLoader | 166 - org.eclipse.birt.runtime - 4.3.1 | Message:Duplicate extension name when adding the extension [AggregationCell] to the meta-data dictionary. Error code:DUPLICATE_EXTENSION_NAME [/font]</span></p><p><span style="font-size:12px;">[font="'courier new', courier, monospace;"]10 Feb 2014 16:41:42,564 | ERROR | RPT_EXEC_16 | org.eclipse.birt.report.model.metadata.ExtensionLoader | 166 - org.eclipse.birt.runtime - 4.3.1 | Message:Duplicate style names when adding the predefined style [chart] to the meta-data dictionary. Error code:DUPLICATE_STYLE_NAME[/font]</span></p><p> </p><p>//
</p><p> </p><p>To sum it up, all other things being equal, upgrading from Birt 3.7.1 custom OSGi bundle to Birt 4.3.1 custom OSGi bundle fails generating reports. The error seem to come from the fact that the same report information is loaded twice (or more).</p><p> </p><p>Would you have an idea of how to solve this?</p><p> </p><p>Many thanks in advance for any support / ideas you could provide us.</p><p> </p><p>Jérôme</p>