[sip-comm-dev] Bundle Errors


#1

Hi Everyone, I was wondering if anyone know how to bundle errors. Thanks. Elsa. When I run the sip communicator from eclipse, I keep getting bundle errors: e.g. ERROR: Error starting reference:file:sc-bundles/systray.jar (org.osgi.framework.BundleException: Activator start error.)
[java] at net.java.sip.communicator.impl.systray.SystrayActivator.getUIService(SystrayActivator.java:115)
[java] at net.java.sip.communicator.impl.systray.jdic.SystrayServiceJdicImpl.<init>(SystrayServiceJdicImpl.java:106)
[java] at net.java.sip.communicator.impl.systray.SystrayActivator.start(SystrayActivator.java:51)
[java] at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:589)
[java] at org.apache.felix.framework.Felix._startBundle(Felix.java:1536)
[java] at org.apache.felix.framework.Felix.startBundle(Felix.java:1470)
[java] at org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:1065)
[java] at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:258)[java] at java.lang.Thread.run(Unknown Source) ERROR: org.apache.felix.framework.cache.BundleCache: Error creating archive. (java.io.FileNotFoundException: sip-communicator.bin\bundle4\version0.0\revision.location (The system cannot find the file specified))

···

_________________________________________________________________
Share life as it happens with the new Windows Live.
http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_122007


#2

Hi Elsa,

I already wrote an answer to that question when you asked a week or two
ago. Did you just not see the reply or did my advice not work? Anyway,
here are my previous comments again. Let us know if it helps you with
your problem.

I had a similar issue some time ago, so you might want to try if the
following solution works for you, too. For me, the problem was that
there are multiple jdic_stub.jar archives in the classpath (for
different operating systems), which caused the systray not to be
initialized correctly - depending on the order they occur in the
classpath. To test if the reason for your problem is the same, try to
change the properties of your Sip Communicator project settings in
eclipse as follows:

In the "Java Build Path", either
* remove all the jdic_stub.jar archives from the Libraries tab which do
not correspond to your OS, or alternatively
* change the order of the archives in the classpath ("Order and Export"
tab) so that the version for your OS comes first

Hope this helps,
Ralph

···

________________________________

From: Elsa Tai [mailto:wyetai@hotmail.com]

Sent: Thursday, December 13, 2007 7:10 AM
To: dev@sip-communicator.dev.java.net
Subject: [sip-comm-dev] Bundle Errors

Hi Everyone,

I was wondering if anyone know how to bundle errors.

Thanks.

Elsa.

When I run the sip communicator from eclipse, I keep getting bundle
errors: e.g.

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

[java] at
net.java.sip.communicator.impl.systray.SystrayActivator.getUIService(Sys
trayActivator.java:115)

[java] at
net.java.sip.communicator.impl.systray.jdic.SystrayServiceJdicImpl.<init

(SystrayServiceJdicImpl.java:106)

[java] at
net.java.sip.communicator.impl.systray.SystrayActivator.start(SystrayAct
ivator.java:51)

[java] at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction
.java:589)

[java] at org.apache.felix.framework.Felix._startBundle(Felix.java:1536)

[java] at org.apache.felix.framework.Felix.startBundle(Felix.java:1470)

[java] at
org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:1065)

[java] at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:258)

[java] at java.lang.Thread.run(Unknown Source)

ERROR: org.apache.felix.framework.cache.BundleCache: Error creating
archive. (java.io.FileNotFoundException:
sip-communicator.bin\bundle4\version0.0\revision.location (The system
cannot find the file specified))

________________________________

Share life as it happens with the new Windows Live. Share now!
<http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_12
2007>
###########################################
CONFIDENTIALITY: This e-mail and any attachments are confidential and
may also be privileged.
If you are not the designated recipient, please notify the sender
immediately by reply e-mail and destroy all copies (digital and paper).
Any unauthorized disclosure, distribution, copying, storage or use of
the information contained in this e-mail or any attachments is strictly
prohibited and may be unlawful.

###########################################
CONFIDENTIALITY: This e-mail and any attachments are confidential and may also be privileged.
If you are not the designated recipient, please notify the sender immediately by reply e-mail and destroy all copies (digital and paper).
Any unauthorized disclosure, distribution, copying, storage or use of the information contained in this e-mail or any attachments is strictly prohibited and may be unlawful.