List Info

Thread: Can't run the bundle




Can't run the bundle
user name
2007-05-06 17:58:57
Hi guys !
 
Even if the project start when i run it on Eclipse, I
can see an error message (that probably don't let
appear an icon that I'm trying to put on the Chat
Window) :

[java] ERROR: Error starting
reference:file:sc-bundles/spellcheckplugin.jar
(org.osgi.framework.BundleException: Activator start
error.)

I'm almost sure that the "Activator file" in my
plugin
is well done, as the "build.xml" and the
"felix.client.run.properties" (all of them have
been
inspired by the "exampleplugin") ...
Maybe the cause could be the "manifest file" ...

Does anyone know how debug that ?
Thanx !

Toni  


      
____________________________________________________________
_______________ 
Découvrez une nouvelle façon d'obtenir des réponses à toutes
vos questions ! 
Profitez des connaissances, des opinions et des expériences
des internautes sur Yahoo! Questions/Réponses 
http://fr.answers.yahoo.c
om

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribesip-communicator.dev.java.net
For additional commands, e-mail: dev-helpsip-communicator.dev.java.net


Re: Can't run the bundle
user name
2007-05-07 09:39:19
Hello Toni,

There should be an exception and a stack trace somewhere
near the error 
that you are getting.

Could you please send them over?

Actually, sending the complete output might be an even
better idea.

Cheers
Emil

Kaizersoze10 wrote:
> Hi guys !
>  
> Even if the project start when i run it on Eclipse, I
> can see an error message (that probably don't let
> appear an icon that I'm trying to put on the Chat
> Window) :
> 
> [java] ERROR: Error starting
> reference:file:sc-bundles/spellcheckplugin.jar
> (org.osgi.framework.BundleException: Activator start
> error.)
> 
> I'm almost sure that the "Activator file" in
my plugin
> is well done, as the "build.xml" and the
> "felix.client.run.properties" (all of them
have been
> inspired by the "exampleplugin") ...
> Maybe the cause could be the "manifest file"
...
> 
> Does anyone know how debug that ?
> Thanx !
> 
> Toni  
> 
> 
>       
>
____________________________________________________________
_______________ 
> Découvrez une nouvelle façon d'obtenir des réponses à
toutes vos questions ! 
> Profitez des connaissances, des opinions et des
expériences des internautes sur Yahoo! Questions/Réponses 
> http://fr.answers.yahoo.c
om
> 
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: dev-unsubscribesip-communicator.dev.java.net
> For additional commands, e-mail: dev-helpsip-communicator.dev.java.net
> 
> 

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribesip-communicator.dev.java.net
For additional commands, e-mail: dev-helpsip-communicator.dev.java.net


Re: Can't run the bundle
user name
2007-05-07 11:40:55
Hi Toni,

I tried to put an icon on the JButton like it's done in the pluginmanager plugin and it works...
Be sure to have the correct path to your .png file in the resources.properties
I had the same error message before correcting the path.
To be clear, i've got 3 files, the activator, the Resource.java and the resources.properties. Besides i've got a class SButton for creating a JButton which has the icon already associated and the method addActionListener(). So that the button is ready and operational when we call it in the ....Activator.java

I'm on msn if want further explications.

JD

2007/5/7, Emil Ivov < emchoemcho.com">emchoemcho.com>:
Hello Toni,

There should be an exception and a stack trace somewhere near the error
that you are getting.

Could you please send them over?

Actually, sending the complete output might be an even better idea.

Cheers
Emil

Kaizersoze10 wrote:
>; Hi guys !
>
>; Even if the project start when i run it on Eclipse, I
> can see an error message (that probably don't let
> appear an icon that I'm trying to put on the Chat
>; Window) :
>
>; [java] ERROR: Error starting
&gt; reference:file:sc-bundles/spellcheckplugin.jar
> (org.osgi.framework.BundleException: Activator start
> error.)
&gt;
> I'm almost sure that the "Activator file" in my plugin
&gt; is well done, as the "build.xml" and the
> "felix.client.run.properties" (all of them have been
> inspired by the "exampleplugin&quot;) ...
> Maybe the cause could be the "manifest file" ...
>
> Does anyone know how debug that ?
> Thanx !
>
>; Toni
>
>
>
&gt; ___________________________________________________________________________
> Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
> Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses
&gt; http://fr.answers.yahoo.com
>;
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribesip-communicator.dev.java.net">dev-unsubscribesip-communicator.dev.java.net
&gt; For additional commands, e-mail: dev-helpsip-communicator.dev.java.net"> dev-helpsip-communicator.dev.java.net
&gt;
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribesip-communicator.dev.java.net"> dev-unsubscribesip-communicator.dev.java.net
For additional commands, e-mail: dev-helpsip-communicator.dev.java.net">dev-helpsip-communicator.dev.java.net


[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )