Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Plugin classloader problem
Plugin classloader problem [message #298357] Mon, 30 January 2006 05:58 Go to next message
Eclipse UserFriend
Hi all,

If I run my plugin (runs a BIRT script file) as a standalone it works
fine. But when it runs as Eclipse plugin gives the following error:

Script engine error: TypeError: [JavaPackage nl.fields.DynamicFields] is
not a function. (DataSet:Set.open#12)

The following package is exported in the manifest file of my plugin:

Export-Package:
nl.fields


Any idea why my class is not loaded?

Thanks,

Said
Re: Plugin classloader problem [message #298372 is a reply to message #298357] Mon, 30 January 2006 07:59 Go to previous messageGo to next message
Eclipse UserFriend
Which plugin is your plugin and which plugin is BIRT? Who depends on whom?

Later,
PW
Re: Plugin classloader problem [message #298376 is a reply to message #298372] Mon, 30 January 2006 09:10 Go to previous messageGo to next message
Eclipse UserFriend
My plugin: is a plugin which I have self implemented.
BIRT: is a Business Intelligence Reporting Tool.

My plugin uses the API’s of BIRT in order to run a BIRT script file.
The problem is that the objects of my plugin that are called in this
script couldn’t be found.
Re: Plugin classloader problem [message #298409 is a reply to message #298376] Mon, 30 January 2006 12:23 Go to previous messageGo to next message
Eclipse UserFriend
Said Taaouati wrote:
> My plugin: is a plugin which I have self implemented.
> BIRT: is a Business Intelligence Reporting Tool.
>
> My plugin uses the API�s of BIRT in order to run a BIRT script file.
> The problem is that the objects of my plugin that are called in this
> script couldn�t be found.
>

Right, so without buddy classloading, the BIRT plugin cannot load your
stuff.

Search for similar problems in this newsgroup.

Later,
PW
Re: Plugin classloader problem [message #298477 is a reply to message #298409] Tue, 31 January 2006 03:05 Go to previous messageGo to next message
Eclipse UserFriend
I can’t find any similar problem.
Can you give me any link to the solution of this problem?

Thanks,

Said
Re: Plugin classloader problem [message #298496 is a reply to message #298477] Tue, 31 January 2006 07:27 Go to previous messageGo to next message
Eclipse UserFriend
Said, you need to look up eclipse classloading.

google with a couple of different variations on:
site:dev.eclipse.org news.eclipse birt script engine error

This does return references to the kind of problems, with "some"
solutions (they look like non-eclipse solutions to me).

And I'd describe your usecase (and the part that doesn't seem to be
working) in the eclipse.birt newsgroup ... someone there might have
tried the exact same thing.

Later,
PW
Re: Plugin classloader problem [message #298552 is a reply to message #298357] Tue, 31 January 2006 16:30 Go to previous message
Eclipse UserFriend
Originally posted by: automatic.javalobby.org

This may help:

http://www.eclipsezone.com/eclipse/forums/t61831.html
Previous Topic:ComboBoxCellEditor - Bug??
Next Topic:Security "Short Talks" at EclipseCon
Goto Forum:
  


Current Time: Tue Jul 22 10:31:02 EDT 2025

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

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

Back to the top