[jitsi-users] Error when building/running Jitsi

Hello,

So whenever I use Ant on the command prompt to build and run the Jitsi
source code, I constantly get the following errors:

*ERROR: Bundle net.java.sip.communicator.packetlogging [97] Er*

*ror starting reference:file:sc-bundles/packetlogging.jar
(org.osgi.framework.Bun*

*dleException: Activator start error in bundle
net.java.sip.communicator.packetlo*

*gging [97].)*

*ERROR: Bundle net.java.sip.communicator.plugin.addrbook [49] Error s*

*tarting reference:file:sc-bundles/addrbook.jar
(org.osgi.framework.BundleExcepti*

*on: Activator start error in bundle
net.java.sip.communicator.plugin.addrbook [4*

*9].)*

*ERROR: Bundle net.java.sip.communicator.plugin.msofficecomm [51] Err*

*or starting reference:file:sc-bundles/plugin-msofficecomm.jar
(org.osgi.framewor*

*k.BundleException: Activator start error in bundle
net.java.sip.communicator.plu*

*gin.msofficecomm [51].)*

Any advice as to what's going wrong?

Thanks!

So whenever I use Ant on the command prompt to build and run the Jitsi source
code, I constantly get the following errors:

ERROR: Bundle net.java.sip.communicator.packetlogging [97] Er

ror starting reference:file:sc-bundles/packetlogging.jar
(org.osgi.framework.Bun

dleException: Activator start error in bundle
net.java.sip.communicator.packetlo

gging [97].)

ERROR: Bundle net.java.sip.communicator.plugin.addrbook [49] Error s

tarting reference:file:sc-bundles/addrbook.jar
(org.osgi.framework.BundleExcepti

on: Activator start error in bundle
net.java.sip.communicator.plugin.addrbook [4

9].)

There should be a complete stack trace on the console, and if not there, then at least in the log. Posting just the title isn't enough information.

ERROR: Bundle net.java.sip.communicator.plugin.msofficecomm [51] Err

or starting reference:file:sc-bundles/plugin-msofficecomm.jar
(org.osgi.framewor

k.BundleException: Activator start error in bundle
net.java.sip.communicator.plu

gin.msofficecomm [51].)

You can ignore this one unless you need to debug presence integration into Office.

Any advice as to what's going wrong?

Thanks!

Ingo

What do you mean by "complete stack trace"?

Below is the complete log for reference:

*bundle-plugin-advancedconfig:*
* [jar] Building jar: C:\jitsi\sc-bundles\advancedconfig.jar*

*bundle-credentialsstorage:*
* [jar] Building jar: C:\jitsi\sc-bundles\credentialsstorage.jar*

*bundle-credentialsstorage-slick:*
* [jar] Building jar: C:\jitsi\sc-bundles\credentialsstorage-slick.jar*

*bundle-plugin-nimbuzzavatar:*
* [jar] Building jar: C:\jitsi\sc-bundles\plugin-nimbuzzavatars.jar*

*bundle-custom-avatar:*
* [jar] Building jar: C:\jitsi\sc-bundles\customavatar-service.jar*

*bundle-replacement:*
* [jar] Building jar: C:\jitsi\sc-bundles\replacement.jar*

*bundle-youtube:*
* [jar] Building jar: C:\jitsi\sc-bundles\replacement-youtube.jar*

*bundle-dailymotion:*
* [jar] Building jar: C:\jitsi\sc-bundles\replacement-dailymotion.jar*

*bundle-smiley:*
* [jar] Building jar: C:\jitsi\sc-bundles\replacement-smiley.jar*

*bundle-vimeo:*
* [jar] Building jar: C:\jitsi\sc-bundles\replacement-vimeo.jar*

*bundle-vbox7:*
* [jar] Building jar: C:\jitsi\sc-bundles\replacement-vbox7.jar*

*bundle-metacafe:*
* [jar] Building jar: C:\jitsi\sc-bundles\replacement-metacafe.jar*

*bundle-flickr:*
* [jar] Building jar: C:\jitsi\sc-bundles\replacement-flickr.jar*

*bundle-hulu:*
* [jar] Building jar: C:\jitsi\sc-bundles\replacement-hulu.jar*

*bundle-twitpic:*
* [jar] Building jar: C:\jitsi\sc-bundles\replacement-twitpic.jar*

*bundle-directimage:*
* [jar] Building jar: C:\jitsi\sc-bundles\replacement-directimage.jar*

*bundle-bliptv:*
* [jar] Building jar: C:\jitsi\sc-bundles\replacement-bliptv.jar*

*bundle-viddler:*
* [jar] Building jar: C:\jitsi\sc-bundles\replacement-viddler.jar*

*bundle-plugin-chatconfig:*
* [jar] Building jar: C:\jitsi\sc-bundles\chatconfig.jar*

*bundle-certificate:*
* [jar] Building jar: C:\jitsi\sc-bundles\certificate.jar*

*bundle-packetlogging:*
* [jar] Building jar: C:\jitsi\sc-bundles\packetlogging.jar*

*bundle-plugin-loggingutils:*
* [jar] Building jar: C:\jitsi\sc-bundles\plugin-loggingutils.jar*

*bundle-provdisc:*
* [jar] Building jar: C:\jitsi\sc-bundles\provdisc.jar*

*bundle-provdisc-dhcp:*
* [jar] Building jar: C:\jitsi\sc-bundles\provdisc-dhcp.jar*

*bundle-provdisc-mdns:*
* [jar] Building jar: C:\jitsi\sc-bundles\provdisc-mdns.jar*

*bundle-provisioning:*
* [jar] Building jar: C:\jitsi\sc-bundles\provisioning.jar*

*bundle-addrbook:*
* [jar] Building jar: C:\jitsi\sc-bundles\addrbook.jar*

*bundle-plugin-ldap:*
* [jar] Building jar: C:\jitsi\sc-bundles\plugin-ldap.jar*

*bundle-thunderbird:*
* [jar] Building jar: C:\jitsi\sc-bundles\thunderbook.jar*
* [copy] Copying 1 file to C:\jitsi\sc-bundles*

*bundle-plugin-contactsourceconfig:*
* [jar] Building jar:
C:\jitsi\sc-bundles\plugin-contactsourceconfig.jar*

*bundle-plugin-certconfig:*
* [jar] Building jar: C:\jitsi\sc-bundles\plugin-certconfig.jar*

*bundle-globalshortcut:*
* [jar] Building jar: C:\jitsi\sc-bundles\globalshortcut.jar*

*bundle-plugin-msofficecomm:*
* [jar] Building jar: C:\jitsi\sc-bundles\plugin-msofficecomm.jar*

*bundle-libjitsi:*
* [copy] Copying 1 file to C:\jitsi\sc-bundles*
* [copy] Copying 1 file to C:\jitsi\sc-bundles*
* [copy] Copying 1 file to C:\jitsi\sc-bundles*
* [copy] Copying 1 file to C:\jitsi\sc-bundles*

*bundle-customcontactactions:*
* [jar] Building jar: C:\jitsi\sc-bundles\customcontactactions.jar*

*bundle-phonenumbercontactsource:*
* [jar] Building jar: C:\jitsi\sc-bundles\phonenumbercontactsource.jar*

*bundle-demuxcontactsource:*
* [jar] Building jar: C:\jitsi\sc-bundles\demuxcontactsource.jar*

*bundle-muc:*
* [jar] Building jar: C:\jitsi\sc-bundles\muc.jar*

*bundle-desktoputil:*
* [jar] Building jar: C:\jitsi\sc-bundles\desktoputil.jar*

*bundle-globaldisplaydetails:*
* [jar] Building jar: C:\jitsi\sc-bundles\globaldisplaydetails.jar*

*bundle-usersearch:*
* [jar] Building jar: C:\jitsi\sc-bundles\usersearch.jar*

*bundle-plugin-propertieseditor:*
* [jar] Building jar: C:\jitsi\sc-bundles\propertieseditor.jar*

*bundle-plugin-accountinfo:*
* [jar] Building jar: C:\jitsi\sc-bundles\accountinfo.jar*

*bundle-plugin-connectioninfo:*
* [jar] Building jar: C:\jitsi\sc-bundles\connectioninfo.jar*

*bundle-guava:*
* [copy] Copying 1 file to C:\jitsi\sc-bundles*

*bundle-hsql:*
* [copy] Copying 1 file to C:\jitsi\sc-bundles*

*bundles:*

*package:*

*make:*

*rebuild:*
* [echo] ver=2.9.0.build.by.SVN*

*BUILD SUCCESSFUL*
*Total time: 35 seconds*

*C:\jitsi>ant run*
*Buildfile: C:\jitsi\build.xml*

*deploy-os-specific-bundles:*
* [copy] Copying 1 file to C:\jitsi\sc-bundles*

*load-properties:*

*run:*
* [java] java.lang.NoClassDefFoundError:
com/google/common/collect/EvictingQu*
*eue*
* [java] at
net.java.sip.communicator.impl.packetlogging.PacketLoggingSer*
*viceImpl$SaverThread.<init>(PacketLoggingServiceImpl.java:773)*
* [java] at
net.java.sip.communicator.impl.packetlogging.PacketLoggingSer*
*viceImpl.<init>(PacketLoggingServiceImpl.java:52)*
* [java] at
net.java.sip.communicator.impl.packetlogging.PacketLoggingAct*
*ivator.start(PacketLoggingActivator.java:91)*
* [java] at
org.apache.felix.framework.util.SecureAction.startActivator(S*
*ecureAction.java:697)*
* [java] at
org.apache.felix.framework.Felix.activateBundle(Felix.java:22*
*20)*
* [java] at
org.apache.felix.framework.Felix.startBundle(Felix.java:2138)*

* [java] at
org.apache.felix.framework.Felix.setActiveStartLevel(Felix.ja*
*va:1365)*
* [java] at
org.apache.felix.framework.FrameworkStartLevelImpl.run(Framew*
*orkStartLevelImpl.java:308)*
* [java] at java.lang.Thread.run(Thread.java:745)*
* [java] Caused by: java.lang.ClassNotFoundException:
com.google.common.colle*
*ct.EvictingQueue not found by net.java.sip.communicator.packetlogging [97]*
* [java] at
org.apache.felix.framework.BundleWiringImpl.findClassOrResour*
*ceByDelegation(BundleWiringImpl.java:1558)*
* [java] at
org.apache.felix.framework.BundleWiringImpl.access$400(Bundle*
*WiringImpl.java:79)ERROR: Bundle net.java.sip.communicator.packetlogging
[97] Er*
*ror starting reference:file:sc-bundles/packetlogging.jar
(org.osgi.framework.Bun*
*dleException: Activator start error in bundle
net.java.sip.communicator.packetlo*
*gging [97].)*
* [java]*
* [java] at
org.apache.felix.framework.BundleWiringImpl$BundleClassLoader*
*.loadClass(BundleWiringImpl.java:1998)*
* [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:357)*
* [java] ... 9 more*
* [java] Hotplug cache populated with:
'\\?\hdaudio#func_01&ven_10ec&dev_0292*
*&subsys_102805bd&rev_1000#4&1ec2ebe&0&0001#{6994ad04-93ef-11d0-a3cc-00a0c9223196*
*}\frontmicinpinkwave'*
* [java] Hotplug cache populated with:
'\\?\hdaudio#func_01&ven_10ec&dev_0292*
*&subsys_102805bd&rev_1000#4&1ec2ebe&0&0001#{6994ad04-93ef-11d0-a3cc-00a0c9223196*
*}\rearlineoutwave3'*
* [java] Hotplug cache populated with:
'\\?\hdaudio#func_01&ven_10ec&dev_0292*
*&subsys_102805bd&rev_1000#4&1ec2ebe&0&0001#{6994ad04-93ef-11d0-a3cc-00a0c9223196*
*}\rtmicarwave'*
* [java] Hotplug cache populated with:
'\\?\hdaudio#func_01&ven_10ec&dev_0292*
*&subsys_102805bd&rev_1000#4&1ec2ebe&0&0001#{6994ad04-93ef-11d0-a3cc-00a0c9223196*
*}\rtstereomixwave'*
* [java] before paHostApiInitializers[0].*
* [java] after paHostApiInitializers[0].*
* [java] ERROR: Bundle net.java.sip.communicator.plugin.addrbook [49]
Error s*
*tarting reference:file:sc-bundles/addrbook.jar
(org.osgi.framework.BundleExcepti*
*on: Activator start error in bundle
net.java.sip.communicator.plugin.addrbook [4*
*9].)*
* [java] com.sun.jna.platform.win32.Win32Exception: The system cannot
find th*
*e file specified.*
* [java] at
com.sun.jna.platform.win32.Advapi32Util.registryGetStringValu*
*e(Advapi32Util.java:580)*
* [java] at
com.sun.jna.platform.win32.Advapi32Util.registryGetStringValu*
*e(Advapi32Util.java:555)*
* [java] at
net.java.sip.communicator.plugin.addrbook.msoutlook.RegistryH*
*andler.isDefaultIMApp(RegistryHandler.java:64)*
* [java] at
net.java.sip.communicator.plugin.addrbook.msoutlook.RegistryH*
*andler.setJitsiAsDefaultApp(RegistryHandler.java:122)*
* [java] at
net.java.sip.communicator.plugin.addrbook.AddrBookActivator.s*
*etAsDefaultIMApplication(AddrBookActivator.java:503)*
* [java] at
net.java.sip.communicator.plugin.addrbook.AddrBookActivator.s*
*tartService(AddrBookActivator.java:346)*
* [java] at
net.java.sip.communicator.plugin.addrbook.AddrBookActivator.s*
*tart(AddrBookActivator.java:265)*
* [java] at
org.apache.felix.framework.util.SecureAction.startActivator(S*
*ecureAction.java:697)*
* [java] at
org.apache.felix.framework.Felix.activateBundle(Felix.java:22*
*20)*
* [java] at
org.apache.felix.framework.Felix.startBundle(Felix.java:2138)*

* [java] at
org.apache.felix.framework.Felix.setActiveStartLevel(Felix.ja*
*va:1365)*
* [java] at
org.apache.felix.framework.FrameworkStartLevelImpl.run(Framew*
*orkStartLevelImpl.java:308)*
* [java] at java.lang.Thread.run(Thread.java:745)*
* [java] 2015-11-05 00:38:49.819 SEVERE: [20]
plugin.msofficecomm.Messenger.<*
*clinit>().179 Failed to load native library jmsofficecomm: unsupported JNI
versi*
*on 0xFFFFFFFF required by C:\jitsi\lib\native\windows-64\jmsofficecomm.dll*
* [java] 2015-11-05 00:38:49.819 SEVERE: [20]
plugin.msofficecomm.RegistryHan*
*dler.checkDefaultIMApp().220 Software\IM Providers doesn't extsts*
* [java] 2015-11-05 00:38:49.819 SEVERE: [20]
plugin.msofficecomm.RegistryHan*
*dler.checkRegisteredIMApp().240 Software\IM Providers\Jitsi doesn;t exsts*
* [java] 2015-11-05 00:38:49.819 SEVERE: [20]
plugin.msofficecomm.RegistryHan*
*dler.checkCallIntegration().100 Software\Microsoft\Office\Outlook\Call
Integrati*
*on doesn't exists in registry*
* [java] 2015-11-05 00:38:49.819 SEVERE: [20]
plugin.msofficecomm.RegistryHan*
*dler.checkRTCApplication().122
Software\Microsoft\Office\11.0\Common\PersonaMenu*
* doesn't exists in registry*
* [java] 2015-11-05 00:38:49.819 SEVERE: [20]
plugin.msofficecomm.RegistryHan*
*dler.checkRTCApplication().140
Software\Microsoft\Office\12.0\Common\PersonaMenu*
* doesn't exists in registry*
* [java] 2015-11-05 00:38:49.819 SEVERE: [20]
plugin.msofficecomm.RegistryHan*
*dler.checkUpAndRunning().164 Software\IM Providers\Communicator doesn't
exists i*
*n registry*
* [java] 2015-11-05 00:38:49.819 SEVERE: [20]
plugin.msofficecomm.RegistryHan*
*dler.checkUpAndRunning().182 Software\IM Providers doesn't exists in
registry*
* [java] java.lang.ExceptionInInitializerError*
* [java] at
net.java.sip.communicator.plugin.msofficecomm.MsOfficeCommAct*
*ivator.start(MsOfficeCommActivator.java:72)*
* [java] at
org.apache.felix.framework.util.SecureAction.startActivator(S*
*ecureAction.java:697)*
* [java] at
org.apache.felix.framework.Felix.activateBundle(Felix.java:22*
*20)*
* [java] at
org.apache.felix.framework.Felix.startBundle(Felix.java:2138)*

* [java] at
org.apache.felix.framework.Felix.setActiveStartLevel(Felix.ja*
*va:1365)*
* [java] at
org.apache.felix.framework.FrameworkStartLevelImpl.run(Framew*
*orkStartLevelImpl.java:308)*
* [java] at java.lang.Thread.run(Thread.java:745)*
* [java] Caused by: java.lang.RuntimeException:
java.lang.UnsatisfiedLinkErro*
*r: unsupported JNI version 0xFFFFFFFF required by
C:\jitsi\lib\native\windows-64*
*\jmsofficecomm.dll*
* [java] at
net.java.sip.communicator.plugin.msofficecomm.Messenger.<clin*
*it>(Messenger.java:183)*
* [java] ... 7 more*
* [java] Caused by: java.lang.UnsatisfiedLinkError: unsupported JNI
version 0*
*xFFFFFFFF required by C:\jitsi\lib\native\windows-64\jmsofficecomm.dll*
* [java] at java.lang.ClassLoader$NativeLibrary.load(Native Method)*
* [java] at
java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1938)*
* [java] at
java.lang.ClassLoader.loadLibrary(ClassLoader.java:1854)*
* [java] at java.lang.Runtime.loadLibrary0(Runtime.java:870)*
* [java] at java.lang.System.loadLibrary(System.java:1122)*
* [java] at
net.java.sip.communicator.plugin.msofficecomm.Messenger.<clin*
*it>(Messenger.java:175)*
* [java] ... 7 more*
* [java] ERROR: Bundle net.java.sip.communicator.plugin.msofficecomm
[51] Err*
*or starting reference:file:sc-bundles/plugin-msofficecomm.jar
(org.osgi.framewor*
*k.BundleException: Activator start error in bundle
net.java.sip.communicator.plu*
*gin.msofficecomm [51].)*
*Terminate batch job (Y/N)? Y*

Just want to point out that it freezes upon getting these errors.

···

On Thu, Nov 5, 2015 at 2:35 AM, Ingo Bauersachs <ingo@jitsi.org> wrote:

> So whenever I use Ant on the command prompt to build and run the Jitsi
source
> code, I constantly get the following errors:
>
>
> ERROR: Bundle net.java.sip.communicator.packetlogging [97] Er
>
> ror starting reference:file:sc-bundles/packetlogging.jar
> (org.osgi.framework.Bun
>
> dleException: Activator start error in bundle
> net.java.sip.communicator.packetlo
>
> gging [97].)
>
>
>
>
> ERROR: Bundle net.java.sip.communicator.plugin.addrbook [49] Error s
>
> tarting reference:file:sc-bundles/addrbook.jar
> (org.osgi.framework.BundleExcepti
>
> on: Activator start error in bundle
> net.java.sip.communicator.plugin.addrbook [4
>
> 9].)

There should be a complete stack trace on the console, and if not there,
then at least in the log. Posting just the title isn't enough information.

> ERROR: Bundle net.java.sip.communicator.plugin.msofficecomm [51] Err
>
> or starting reference:file:sc-bundles/plugin-msofficecomm.jar
> (org.osgi.framewor
>
> k.BundleException: Activator start error in bundle
> net.java.sip.communicator.plu
>
> gin.msofficecomm [51].)

You can ignore this one unless you need to debug presence integration into
Office.

> Any advice as to what's going wrong?
>
> Thanks!

Ingo

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users

What do you mean by "complete stack trace"?

Below is the complete log for reference:
run:
     [java] java.lang.NoClassDefFoundError:
com/google/common/collect/EvictingQu
eue
     [java] at
net.java.sip.communicator.impl.packetlogging.PacketLoggingSer
viceImpl$SaverThread.<init>(PacketLoggingServiceImpl.java:773)
     [java] at
net.java.sip.communicator.impl.packetlogging.PacketLoggingSer
viceImpl.<init>(PacketLoggingServiceImpl.java:52)
     [java] at
net.java.sip.communicator.impl.packetlogging.PacketLoggingAct
ivator.start(PacketLoggingActivator.java:91)
     [java] at
org.apache.felix.framework.util.SecureAction.startActivator(S
ecureAction.java:697)
     [java] at
org.apache.felix.framework.Felix.activateBundle(Felix.java:22
20)
     [java] at
org.apache.felix.framework.Felix.startBundle(Felix.java:2138)

     [java] at
org.apache.felix.framework.Felix.setActiveStartLevel(Felix.ja
va:1365)
     [java] at
org.apache.felix.framework.FrameworkStartLevelImpl.run(Framew
orkStartLevelImpl.java:308)
     [java] at java.lang.Thread.run(Thread.java:745)
     [java] Caused by: java.lang.ClassNotFoundException:
com.google.common.colle
ct.EvictingQueue not found by net.java.sip.communicator.packetlogging [97]
     [java] at
org.apache.felix.framework.BundleWiringImpl.findClassOrResour
ceByDelegation(BundleWiringImpl.java:1558)
     [java] at
org.apache.felix.framework.BundleWiringImpl.access$400(Bundle
WiringImpl.java:79)ERROR: Bundle net.java.sip.communicator.packetlogging
[97] Er ror starting reference:file:sc-bundles/packetlogging.jar
(org.osgi.framework.Bun dleException: Activator start error in bundle
net.java.sip.communicator.packetlo gging [97].)
     [java]
     [java] at
org.apache.felix.framework.BundleWiringImpl$BundleClassLoader
.loadClass(BundleWiringImpl.java:1998)
     [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
     [java] ... 9 more

I meant this.

@George, could you please take a look? This seems related to your packetlogging changes.

Ingo

Hi Ingo, Andy,

I’m sorry for this. Andy, could you please try again and let us know if it the problem is resolved or not?

Best,
George

···

On Nov 5, 2015, at 4:39 PM, Ingo Bauersachs <ingo@jitsi.org> wrote:

What do you mean by "complete stack trace"?

Below is the complete log for reference:
run:
    [java] java.lang.NoClassDefFoundError:
com/google/common/collect/EvictingQu
eue
    [java] at
net.java.sip.communicator.impl.packetlogging.PacketLoggingSer
viceImpl$SaverThread.<init>(PacketLoggingServiceImpl.java:773)
    [java] at
net.java.sip.communicator.impl.packetlogging.PacketLoggingSer
viceImpl.<init>(PacketLoggingServiceImpl.java:52)
    [java] at
net.java.sip.communicator.impl.packetlogging.PacketLoggingAct
ivator.start(PacketLoggingActivator.java:91)
    [java] at
org.apache.felix.framework.util.SecureAction.startActivator(S
ecureAction.java:697)
    [java] at
org.apache.felix.framework.Felix.activateBundle(Felix.java:22
20)
    [java] at
org.apache.felix.framework.Felix.startBundle(Felix.java:2138)

    [java] at
org.apache.felix.framework.Felix.setActiveStartLevel(Felix.ja
va:1365)
    [java] at
org.apache.felix.framework.FrameworkStartLevelImpl.run(Framew
orkStartLevelImpl.java:308)
    [java] at java.lang.Thread.run(Thread.java:745)
    [java] Caused by: java.lang.ClassNotFoundException:
com.google.common.colle
ct.EvictingQueue not found by net.java.sip.communicator.packetlogging [97]
    [java] at
org.apache.felix.framework.BundleWiringImpl.findClassOrResour
ceByDelegation(BundleWiringImpl.java:1558)
    [java] at
org.apache.felix.framework.BundleWiringImpl.access$400(Bundle
WiringImpl.java:79)ERROR: Bundle net.java.sip.communicator.packetlogging
[97] Er ror starting reference:file:sc-bundles/packetlogging.jar
(org.osgi.framework.Bun dleException: Activator start error in bundle
net.java.sip.communicator.packetlo gging [97].)
    [java]
    [java] at
org.apache.felix.framework.BundleWiringImpl$BundleClassLoader
.loadClass(BundleWiringImpl.java:1998)
    [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    [java] ... 9 more

I meant this.

@George, could you please take a look? This seems related to your packetlogging changes.

Ingo