Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Problem deploying a plugin
Problem deploying a plugin [message #168617] Thu, 17 February 2005 10:13 Go to next message
Eclipse UserFriend
Originally posted by: ranjit.notMyId.com

Hi,

I know that this problem belongs to the platforms group, but since my
errors are GEF specific, I thought I would ask for help here.

I have modified the flow plugin from the GEF example and am able to
successfully test it in a new configuration when ran within the eclipse
environment.
However, when I try to export it and then use it as a normal plugin, I
keep getting all sorts of errors. Can someone help me out as to what may
be going wrong?
I have checked the generated jar file and it has all my classes.
All the external jars I need have been placed in a another helper plugin
which I have in my plugins folder.

The most prominent of errors I get are:

java.lang.NullPointerException at
org.eclipse.gef.ui.actions.ActionBarContributor.setActiveEdi tor(ActionBarContributor.java:139)

or

Caused by: java.lang.IllegalArgumentException: Argument cannot be null
at org.eclipse.swt.SWT.error(SWT.java:2677)
at org.eclipse.swt.SWT.error(SWT.java:2616)
at org.eclipse.swt.SWT.error(SWT.java:2587)
at org.eclipse.swt.graphics.ImageLoader.load(ImageLoader.java:1 23)
at org.eclipse.swt.graphics.ImageData.<init>(ImageData.java:308)
at org.eclipse.swt.graphics.Image.<init>(Image.java:634)

Can someone please help me out with this, I am in a sort of a fix and am
supposed to present my work pretty soon.

Thanks in Advance.

Ranjit

PS: let me know if I need to put a complete stack trace here.
Re: Problem deploying a plugin [message #168627 is a reply to message #168617] Thu, 17 February 2005 14:41 Go to previous messageGo to next message
Beth Tibbitts is currently offline Beth TibbittsFriend
Messages: 231
Registered: July 2009
Senior Member
> at org.eclipse.swt.graphics.ImageLoader.load(ImageLoader.java:1 23)

Are you sure the images are there?

....Beth
Re: Problem deploying a plugin [message #168634 is a reply to message #168627] Thu, 17 February 2005 14:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ranjit.notMyId.com

Beth Tibbitts wrote:

> > at org.eclipse.swt.graphics.ImageLoader.load(ImageLoader.java:1 23)

> Are you sure the images are there?

> ....Beth

Yes Beth, the images are their, I confirmed that.
To be on the safer side, I copied the images folder and placed it at the
same level as the plugins.xml.
I also tried putting the entire bin and src folder in the plugin folder to
see if that could help in any way.

For this issue, I tried sending Display.current() as the driver instead of
null (as in the flow example), but still no luck

Thanks.
Re: Problem deploying a plugin [message #168688 is a reply to message #168634] Thu, 17 February 2005 17:13 Go to previous message
Eclipse UserFriend
Originally posted by: ranjit.notMyId.com

Ranjit wrote:
> Beth Tibbitts wrote:
>
>> > at org.eclipse.swt.graphics.ImageLoader.load(ImageLoader.java:1 23)
>
>
>> Are you sure the images are there?
>
>
>> ....Beth
>
>
> Yes Beth, the images are their, I confirmed that.
> To be on the safer side, I copied the images folder and placed it at the
> same level as the plugins.xml.
> I also tried putting the entire bin and src folder in the plugin folder
> to see if that could help in any way.
> For this issue, I tried sending Display.current() as the driver instead
> of null (as in the flow example), but still no luck
>
> Thanks.
>

By any chance do I have to deploy my plugin using GEF as a feature as
well? I find that all the GEF examples are also included as features.

Any suggestion?
Previous Topic:select container editpart
Next Topic:Automated Testing of GEF
Goto Forum:
  


Current Time: Sat May 11 02:55:55 GMT 2024

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

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

Back to the top