Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Chart Error(Chart create error)
icon6.gif  Chart Error [message #631351] Thu, 07 October 2010 08:12 Go to next message
Cho HyunJong is currently offline Cho HyunJongFriend
Messages: 53
Registered: July 2009
Location: korea
Member

i have a problem.

1. Eclipse Version : 3.6
2. Birt version : 2.6.1(update site install)

can you help me.

http://lh6.ggpht.com/_pvfHUBL4tpw/TK1_-oxeQJI/AAAAAAAADuk/x8WauTlKlB4/s800/birt%20error%20.jpg

detail log
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)
Re: Chart Error [message #631461 is a reply to message #631351] Thu, 07 October 2010 15:02 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

This error looks like it has to do with the
org.mozilla.javascript_1.7.2.v201005080400 plugin not being accessible.
Can you verify its in your plugins. This may be a bug with update
install. Can you log a bugzilla entry for it?

As a work around can you look at trying either the allinone download or
use the framework download to add birt to your eclipse install.
http://download.eclipse.org/birt/downloads/

Jason

On 10/7/2010 4:12 AM, hangum wrote:
> i have a problem.
>
> 1. Eclipse Version : 3.6
> 2. Birt version : 2.6.1(update site install)
>
> can you help me.
>
>
>
> detail log
> 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)
Re: Chart Error [message #642643 is a reply to message #631351] Thu, 02 December 2010 07:12 Go to previous message
Xiaoying Gu is currently offline Xiaoying GuFriend
Messages: 51
Registered: July 2009
Member
Please remove js.jar in lib/ folder when you edit the report from web project.
Previous Topic:Problems with column aggregation
Next Topic:Birt Versions
Goto Forum:
  


Current Time: Sun Nov 23 07:48:22 GMT 2014

Powered by FUDForum. Page generated in 0.10848 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software