Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 334740 - Chart Added Error (Loader can not resolve Rhino classes)
Summary: Chart Added Error (Loader can not resolve Rhino classes)
Status: CLOSED DUPLICATE of bug 331504
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.6.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.7.0   Edit
Assignee: Birt-Chart-inbox@eclipse.org CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-19 02:06 EST by qwe CLA
Modified: 2011-05-26 13:33 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description qwe CLA 2011-01-19 02:06:34 EST
Build Identifier: Build id: 20100917-0705

Occurs on eclipse WTP + installed BIRT. On Eclipse BIRT(allinone) bug doesn't exist.
Stack trace thrown out after adding new chart to report:

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)


Reproducible: Always

Steps to Reproduce:
1. Start eclipse 
2. Create new report.
3. Drag and drop chart.
Comment 2 Xiaoying Gu CLA 2011-02-22 02:26:44 EST
(In reply to comment #1)
> Forum post:
> http://www.eclipse.org/forums/index.php?t=msg&th=202835&start=0&S=37d64b86f2efddc66bf8e4c441be9183

Would you please describe in more detail how you installed wtp and birt together?
I tried with epp jee package, which contains wtp already and then I installed birt 2.6.1 from helios update site. I can not reproduce this issue.
Comment 3 qwe CLA 2011-02-28 09:20:22 EST
(In reply to comment #2)
> Would you please describe in more detail how you installed wtp and birt
> together?
> I tried with epp jee package, which contains wtp already and then I installed
> birt 2.6.1 from helios update site. I can not reproduce this issue.

I've downloaded Eclipse WTP from http://www.eclipse.org/webtools/ and then used update site to download eclipse BIRT.
Thats all I can remember - as I wrote on forum, standalone version works fine, so I've deleted buggy one.
There is another person having same bug - see at forum - maybe he/she can provide more detail.
Comment 4 Xiaoying Gu CLA 2011-03-14 04:59:48 EDT
(In reply to comment #3)
> (In reply to comment #2)
> > Would you please describe in more detail how you installed wtp and birt
> > together?
> > I tried with epp jee package, which contains wtp already and then I installed
> > birt 2.6.1 from helios update site. I can not reproduce this issue.
> 
> I've downloaded Eclipse WTP from http://www.eclipse.org/webtools/ and then used
> update site to download eclipse BIRT.
> Thats all I can remember - as I wrote on forum, standalone version works fine,
> so I've deleted buggy one.
> There is another person having same bug - see at forum - maybe he/she can
> provide more detail.

Were you trying to open and edit the report design directly in a web project?
Comment 5 Xiaoying Gu CLA 2011-03-15 22:07:59 EDT

*** This bug has been marked as a duplicate of bug 331504 ***