Problem deploying a plugin [message #168617] |
Thu, 17 February 2005 10:13 |
Eclipse User |
|
|
|
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 #168634 is a reply to message #168627] |
Thu, 17 February 2005 14:52 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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?
|
|
|
Powered by
FUDForum. Page generated in 0.04249 seconds