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)
EngineException
dalepraneeth
Normally my reports are running fine in BIRT 3.7.1.<br />
<br />
But recently 2 applications are using the same BIRT Engine ... And since then<br />
<br />
I am getting this exception ... how to solve this ???<br />
<br />
<br />
<strong class='bbc'>org.eclipse.birt.report.engine.api.EngineException</strong>: Error happened while running the report.<br />
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:196)<br />
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:77)<br />
Caused by: java.lang.NullPointerException<br />
at <strong class='bbc'>org.eclipse.birt.report.engine.data.dte.ReportQueryBuilder$QueryBuilderVisitor.createParamBindings(ReportQueryBuilder.java:1670)</strong> at org.eclipse.birt.report.engine.data.dte.ReportQueryBuilder$QueryBuilderVisitor.addParamBinding(ReportQueryBuilder.java:1592)<br />
at org.eclipse.birt.report.engine.data.dte.ReportQueryBuilder$QueryBuilderVisitor.createQuery(ReportQueryBuilder.java:1420)<br />
at org.eclipse.birt.report.engine.data.dte.ReportQueryBuilder$QueryBuilderVisitor.visitTableItem(ReportQueryBuilder.java:913)<br />
at org.eclipse.birt.report.engine.ir.TableItemDesign.accept(TableItemDesign.java:53)<br />
at org.eclipse.birt.report.engine.data.dte.ReportQueryBuilder.build(ReportQueryBuilder.java:256)<br />
at org.eclipse.birt.report.engine.data.dte.ReportQueryBuilder.build(ReportQueryBuilder.java:237)<br />
at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.prepare(AbstractDataEngine.java:180)<br />
at org.eclipse.birt.report.engine.executor.ReportExecutor.execute(ReportExecutor.java:122)<br />
at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportExecutor.execute(WrappedReportExecutor.java:60)<br />
at org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplciateReportExecutor.execute(SuppressDuplciateReportExecutor.java:42)<br />
at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportExecutor.execute(WrappedReportExecutor.java:60)<br />
at org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportExecutor.execute(LocalizedReportExecutor.java:61)<br />
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:178)
Find more posts tagged with
Comments
dalepraneeth
<strong class='bbc'>SEVERE: can not create the DTE data engine<br />
org.eclipse.birt.report.data.adapter.api.AdapterException: There is an error in loading the factory of data adapter.</strong> at org.eclipse.birt.report.data.adapter.api.DataRequestSession.newSession(DataRequestSession.java:89)<br />
at org.eclipse.birt.report.data.adapter.api.DataRequestSession.newSession(DataRequestSession.java:64)<br />
at org.eclipse.birt.report.engine.data.dte.DteDataEngine.<init>(DteDataEngine.java:104)<br />
at org.eclipse.birt.report.engine.data.DataEngineFactory.createDataEngine(DataEngineFactory.java:100)<br />
at org.eclipse.birt.report.engine.executor.ExecutionContext.openDataEngine(ExecutionContext.java:882)<br />
at org.eclipse.birt.report.engine.executor.ExecutionContext.getDataEngine(ExecutionContext.java:899)<br />
at org.eclipse.birt.report.engine.executor.ReportExecutor.execute(ReportExecutor.java:122)<br />
at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportExecutor.execute(WrappedReportExecutor.java:60)<br />
at org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplciateReportExecutor.execute(SuppressDuplciateReportExecutor.java:42)<br />
at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportExecutor.execute(WrappedReportExecutor.java:60)<br />
at org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportExecutor.execute(LocalizedReportExecutor.java:61)<br />
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:178)<br />
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:77)
mwilliams
So, everything worked fine til you added a second app to use the engine?
One of the errors shows a null pointer exception that seems to happen with the runAndRender task. Have you tried running separate tasks?
http://wiki.eclipse.org/Separate_Run_and_Render_(BIRT)_2.1
CBR
What do you mean by 2 applications are using the same birt engine? Do you use the osgi deployment?
dalepraneeth
<blockquote class='ipsBlockquote' data-author="'cbrell'" data-cid="115290" data-time="1363894966" data-date="21 March 2013 - 12:42 PM"><p>
What do you mean by 2 applications are using the same birt engine? Do you use the osgi deployment?<br /></p></blockquote>
<br />
I am mean 2 WebModules.
dalepraneeth
I am using WebSphere Application Server. But we haven't configured the classloaders.<br />
<a class='bbc_url' href='
http://wiki.eclipse.org/BirtPOJO_Viewer_WebSphere_Deployment'>http://wiki.eclipse.org/BirtPOJO_Viewer_WebSphere_Deployment</a><br
/>
<br />
<br />
Instead RegistryProviderFactory was used before starting the platform :<br />
<br />
EngineConfig engConfig= new EngineConfig();<br />
<strong class='bbc'>RegistryProviderFactory.releaseDefault();</strong><br />
Platform.startup(engConfig);