[sip-comm-dev] Can't run the bundle


#1

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.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#2

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.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#3

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 <emcho@emcho.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
> 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.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
> For additional commands, e-mail: dev-help@sip-communicator.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net