- This topic has 1 reply, 2 voices, and was last updated 13 years, 7 months ago by support-joy.
-
AuthorPosts
-
P. VijayParticipantI am trying to create a simple report with a pie chart. The report works correctly with the tabulated data output. When I try to add a chart, I get the following error in the New Chart dialog:
No data engine to process data, please see previous exception for detail.
Cant create data engine.
org.eclipse.birt.chart.exception.ChartException at:
org.eclipse.birt.chart.reportitem.ui.ReportDataServiceProvider.initialize(ReportDataServiceProvider.java:281)
org.eclipse.birt.chart.ui.swt.wizard.preview.ChartLivePreviewThread.initDataEngine(ChartLivePreviewThread.java:237)
org.eclipse.birt.chart.ui.swt.wizard.preview.ChartLivePreviewThread.run(ChartLivePreviewThread.java:153)Caused By:Loader can not resolve Rhino classes
org.mozilla.javascript.Context.setApplicationClassLoader(Context.java:2306)
org.eclipse.birt.report.engine.javascript.JavascriptEngine.setApplicationClassLoader(JavascriptEngine.java:325)
org.eclipse.birt.core.script.ScriptContext.createEngine(ScriptContext.java:244)
org.eclipse.birt.core.script.ScriptContext.getScriptEngine(ScriptContext.java:230)
org.eclipse.birt.report.engine.adapter.ModelDteApiAdapter.<init>(ModelDteApiAdapter.java:177)
org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.<init>(AbstractDataEngine.java:107)
org.eclipse.birt.report.engine.data.dte.DteDataEngine.<init>(DteDataEngine.java:85)
org.eclipse.birt.report.engine.data.DataEngineFactory.createDataEngine(DataEngineFactory.java:100)
org.eclipse.birt.report.engine.executor.ExecutionContext.openDataEngine(ExecutionContext.java:837)
org.eclipse.birt.report.engine.executor.ExecutionContext.getDataEngine(ExecutionContext.java:854)
org.eclipse.birt.report.engine.api.impl.EngineTask.getDataSession(EngineTask.java:525)
org.eclipse.birt.chart.reportitem.ui.ReportDataServiceProvider.initialize(ReportDataServiceProvider.java:259)
org.eclipse.birt.chart.ui.swt.wizard.preview.ChartLivePreviewThread.initDataEngine(ChartLivePreviewThread.java:237)
org.eclipse.birt.chart.ui.swt.wizard.preview.ChartLivePreviewThread.run(ChartLivePreviewThread.java:153)
support-joyMemberpvijay,
I am afraid this issue is inherited from eclipse. Please refer –
https://bugs.eclipse.org/bugs/show_bug.cgi?id=331504 and http://www.eclipse.org/forums/index.php?=msg&goto=642643&S=f771a2ebb20bd9d74cdb88f7a1b73cab
Please try out the recommendations of removing js.jar from lib folder and giving it a shot. -
AuthorPosts