Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Chart Added Error (Loader can not resolve Rhino classes)
Chart Added Error (Loader can not resolve Rhino classes) [message #648187] Tue, 11 January 2011 16:48 Go to next message
cenk Mising name is currently offline cenk Mising name
Messages: 99
Registered: July 2009
Member
Hi;
I am using Birt 2.6.1 on eclipse 3.6. When I try to Add chart the error
occured.
What is the problem.?
The Message (Show Trace) is

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 Added Error (Loader can not resolve Rhino classes) [message #648193 is a reply to message #648187] Tue, 11 January 2011 17:54 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Are you using the allinone download?
What jvm are you using?

Jason

On 1/11/2011 11:48 AM, Cenk Dundar wrote:
> Hi;
> I am using Birt 2.6.1 on eclipse 3.6. When I try to Add chart the error
> occured.
> What is the problem.?
> The Message (Show Trace) is
>
> 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 Added Error (Loader can not resolve Rhino classes) [message #648435 is a reply to message #648193] Wed, 12 January 2011 22:15 Go to previous messageGo to next message
cenk Mising name is currently offline cenk Mising name
Messages: 99
Registered: July 2009
Member
No(note allinone). I have installed on eclipse (after)
My JVM is 1.6.0_23.

"Jason Weathersby" <jasonweathersby@windstream.net> wrote in message
news:igi56n$i6$2@news.eclipse.org...
> Are you using the allinone download?
> What jvm are you using?
>
> Jason
>
> On 1/11/2011 11:48 AM, Cenk Dundar wrote:
>> Hi;
>> I am using Birt 2.6.1 on eclipse 3.6. When I try to Add chart the error
>> occured.
>> What is the problem.?
>> The Message (Show Trace) is
>>
>> 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 Added Error (Loader can not resolve Rhino classes) [message #648627 is a reply to message #648435] Thu, 13 January 2011 17:06 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

As a test can you try the allinone?

Jason

On 1/12/2011 5:15 PM, Cenk Dundar wrote:
> No(note allinone). I have installed on eclipse (after)
> My JVM is 1.6.0_23.
>
> "Jason Weathersby"<jasonweathersby@windstream.net> wrote in message
> news:igi56n$i6$2@news.eclipse.org...
>> Are you using the allinone download?
>> What jvm are you using?
>>
>> Jason
>>
>> On 1/11/2011 11:48 AM, Cenk Dundar wrote:
>>> Hi;
>>> I am using Birt 2.6.1 on eclipse 3.6. When I try to Add chart the error
>>> occured.
>>> What is the problem.?
>>> The Message (Show Trace) is
>>>
>>> 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 Added Error (Loader can not resolve Rhino classes) [message #648714 is a reply to message #648627] Fri, 14 January 2011 08:07 Go to previous messageGo to next message
cenk Mising name is currently offline cenk Mising name
Messages: 99
Registered: July 2009
Member
Nowadays It is not possible. Because I installed alot of plugin.
What is the problem


"Jason Weathersby" <jasonweathersby@windstream.net> wrote in message
news:ignb4e$a30$1@news.eclipse.org...
> As a test can you try the allinone?
>
> Jason
>
> On 1/12/2011 5:15 PM, Cenk Dundar wrote:
>> No(note allinone). I have installed on eclipse (after)
>> My JVM is 1.6.0_23.
>>
>> "Jason Weathersby"<jasonweathersby@windstream.net> wrote in message
>> news:igi56n$i6$2@news.eclipse.org...
>>> Are you using the allinone download?
>>> What jvm are you using?
>>>
>>> Jason
>>>
>>> On 1/11/2011 11:48 AM, Cenk Dundar wrote:
>>>> Hi;
>>>> I am using Birt 2.6.1 on eclipse 3.6. When I try to Add chart the error
>>>> occured.
>>>> What is the problem.?
>>>> The Message (Show Trace) is
>>>>
>>>> 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 Added Error (Loader can not resolve Rhino classes) [message #648830 is a reply to message #648714] Fri, 14 January 2011 16:22 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

I meant for you to install the allinone in a separate location on the
same machine. It should not effect your current install.

Jason

On 1/14/2011 3:07 AM, Cenk Dundar wrote:
> Nowadays It is not possible. Because I installed alot of plugin.
> What is the problem
>
>
> "Jason Weathersby"<jasonweathersby@windstream.net> wrote in message
> news:ignb4e$a30$1@news.eclipse.org...
>> As a test can you try the allinone?
>>
>> Jason
>>
>> On 1/12/2011 5:15 PM, Cenk Dundar wrote:
>>> No(note allinone). I have installed on eclipse (after)
>>> My JVM is 1.6.0_23.
>>>
>>> "Jason Weathersby"<jasonweathersby@windstream.net> wrote in message
>>> news:igi56n$i6$2@news.eclipse.org...
>>>> Are you using the allinone download?
>>>> What jvm are you using?
>>>>
>>>> Jason
>>>>
>>>> On 1/11/2011 11:48 AM, Cenk Dundar wrote:
>>>>> Hi;
>>>>> I am using Birt 2.6.1 on eclipse 3.6. When I try to Add chart the error
>>>>> occured.
>>>>> What is the problem.?
>>>>> The Message (Show Trace) is
>>>>>
>>>>> 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 Added Error (Loader can not resolve Rhino classes) [message #649277 is a reply to message #648187] Tue, 18 January 2011 14:42 Go to previous messageGo to next message
qwe  is currently offline qwe
Messages: 2
Registered: January 2011
Junior Member
Hello.

Same problem here.
Eclipse WTP + installed birt and after adding new chart on empty report i have error like cenk.

When i run it on Eclipse birt (allinone) report works fine.
Re: Chart Added Error (Loader can not resolve Rhino classes) [message #649288 is a reply to message #649277] Tue, 18 January 2011 15:40 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Can you open a bugzilla entry for this?

Jason

On 1/18/2011 9:42 AM, qwe wrote:
> Hello.
>
> Same problem here.
> Eclipse WTP + installed birt and after adding new chart on empty report
> i have error like cenk.
>
> When i run it on Eclipse birt (allinone) report works fine.
Re: Chart Added Error (Loader can not resolve Rhino classes) [message #649403 is a reply to message #649288] Wed, 19 January 2011 07:11 Go to previous messageGo to next message
qwe  is currently offline qwe
Messages: 2
Registered: January 2011
Junior Member
Hi

Bug added: https://bugs.eclipse.org/bugs/show_bug.cgi?id=334740
Re: Chart Added Error (Loader can not resolve Rhino classes) [message #649562 is a reply to message #649403] Wed, 19 January 2011 17:40 Go to previous message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Thanks for adding this.

Jason

On 1/19/2011 2:11 AM, qwe wrote:
> Hi
>
> Bug added: https://bugs.eclipse.org/bugs/show_bug.cgi?id=334740
Previous Topic:Need to get record count
Next Topic:forcing word-wrap in Excel export
Goto Forum:
  


Current Time: Wed Sep 17 13:42:36 GMT 2014

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

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