| Cant create data engine. [message #638037] |
Tue, 09 November 2010 12:36  |
James Mising name Messages: 26 Registered: November 2010 |
Junior Member |
|
|
I just installed the latest birt all in one 2.6 and have it up and running smooth. However, I am trying to build a chart and when I insert a chart into the workspace, it gives me this error:
Cant create data engine.
org.eclipse.birt.chart.exception.ChartException at:
org.eclipse.birt.chart.reportitem.ui.ReportDataServiceProvid er.initialize(ReportDataServiceProvider.java:279)
org.eclipse.birt.chart.ui.swt.wizard.preview.ChartLivePrevie wThread.initDataEngine(ChartLivePreviewThread.java:237)
org.eclipse.birt.chart.ui.swt.wizard.preview.ChartLivePrevie wThread.run(ChartLivePreviewThread.java:153)
Caused By:Loader can not resolve Rhino classes
org.mozilla.javascript.Context.setApplicationClassLoader(Con text.java:2306)
org.eclipse.birt.report.engine.javascript.JavascriptEngine.s etApplicationClassLoader(JavascriptEngine.java:325)
org.eclipse.birt.core.script.ScriptContext.createEngine(Scri ptContext.java:244)
org.eclipse.birt.core.script.ScriptContext.getScriptEngine(S criptContext.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.create DataEngine(DataEngineFactory.java:100)
org.eclipse.birt.report.engine.executor.ExecutionContext.ope nDataEngine(ExecutionContext.java:837)
org.eclipse.birt.report.engine.executor.ExecutionContext.get DataEngine(ExecutionContext.java:854)
org.eclipse.birt.report.engine.api.impl.EngineTask.getDataSe ssion(EngineTask.java:525)
org.eclipse.birt.chart.reportitem.ui.ReportDataServiceProvid er.initialize(ReportDataServiceProvider.java:257)
org.eclipse.birt.chart.ui.swt.wizard.preview.ChartLivePrevie wThread.initDataEngine(ChartLivePreviewThread.java:237)
org.eclipse.birt.chart.ui.swt.wizard.preview.ChartLivePrevie wThread.run(ChartLivePreviewThread.java:153)
I have re-installed in several times but no luck, I really need this chart tool .
Thanks
|
|
|
|
|
|
| Re: Cant create data engine. [message #638054 is a reply to message #638037] |
Tue, 09 November 2010 13:51   |
James Mising name Messages: 26 Registered: November 2010 |
Junior Member |
|
|
Jason,
I extracted in a folder from C drive like you said. I tried something too, I created a new report project with a blank report file and tried it, and it worked, I was able to create a chart without that issue. However when I check out our project code from SVN is it then when I am noticing this issue. It never had this problem with older versions of BERT (2.4 and 2.5). Me and another guy are using different older versions of BERT to build reports and both work fine just have issues opening each others reports to edit them, so that is why we are trying to just upgrade to the latest and be compatible. Might it have to do with the location of where I am creating the report file? Our current reports live within a Package with other java files.
One more thing I tried and noticed too was that it worked when I tried to add a chart to a report file in a new report project, and didnt work when I tried to add a chart to a report file within our code checked out from SVN.
Thanks again for your help.
[Updated on: Tue, 09 November 2010 14:14] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Re: Cant create data engine. [message #727174 is a reply to message #638037] |
Tue, 20 September 2011 11:05  |
Kees Pieters Messages: 23 Registered: July 2009 |
Junior Member |
|
|
I had this problem myself, and the reason was that I had not added all the birt reporting plugins. Apparently a number of plugins add functionality through the extension mechanism, and so when you do not add these plugins, some tasks may fail.
In my particular case, the engine needed the javascript scripting plugin.
|
|
|
Powered by
FUDForum. Page generated in 0.03110 seconds