facebook

MyEclipse 9.0 Reports: Error while inserting chart ("Ne

  1. MyEclipse Archived
  2.  > 
  3. MyEclipse Reports
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #316862 Reply

    P. Vijay
    Participant

    I 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)

    #316909 Reply

    support-joy
    Member

    pvijay,

    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.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: MyEclipse 9.0 Reports: Error while inserting chart ("Ne

You must be logged in to post in the forum log in