[jitsi-users] Exception in libjitsi.


#1

Hi all

I am working on libjitsi . But am geting exception .
Sep 24, 2016 2:32:26 PM org.jitsi.util.LoggerImpl log
INFO: Failed to initialize LibJitsi backend
org.jitsi.impl.libjitsi.LibJitsiOSGiImpl. (Exception stack trace
follows.) Will try an alternative.
java.lang.IllegalStateException: FrameworkUtil.getBundle
at org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.<init>(LibJitsiOSGiImpl.java:46)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.jitsi.service.libjitsi.LibJitsi.start(LibJitsi.java:247)
at org.jitsi.service.libjitsi.LibJitsi.start(LibJitsi.java:180)
at org.jitsi.examples.AVReceive2.main(AVReceive2.java:328)

Sep 24, 2016 2:32:26 PM org.jitsi.util.LoggerImpl log
INFO: Successfully started LibJitsi using as implementation:
org.jitsi.impl.libjitsi.LibJitsiImpl
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: java.runtime.name=Java(TM) SE Runtime Environment
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: sun.boot.library.path=C:\Program Files\Java\jre1.8.0_101\bin
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: java.vm.version=25.101-b13
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: java.vm.vendor=Oracle Corporation
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: java.vendor.url=http://java.oracle.com/
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: path.separator=;
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: java.vm.name=Java HotSpot(TM) Client VM
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: file.encoding.pkg=sun.io
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: user.country=US
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: user.script=
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: sun.java.launcher=SUN_STANDARD
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: sun.os.patch.level=
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: java.vm.specification.name=Java Virtual Machine Specification
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: user.dir=C:\Users\senthil\workspace\libjitsi
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: java.runtime.version=1.8.0_101-b13
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: java.endorsed.dirs=C:\Program Files\Java\jre1.8.0_101\lib\endorsed
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: os.arch=x86
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: java.io.tmpdir=C:\Users\senthil\AppData\Local\Temp\
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: line.separator=

Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: net.sf.fmj.utility.JmfRegistry.disableLoad=true
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: java.vm.specification.vendor=Oracle Corporation
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: user.variant=
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: os.name=Windows 8
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: sun.jnu.encoding=Cp1252
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: java.library.path=C:\Users\senthil\Desktop\libjitsi\lib\native\win32-x86
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: java.specification.name=Java Platform API Specification
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: java.class.version=52.0
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: org.jitsi.service.audionotifier.AudioNotifierService=org.jitsi.impl.neomedia.notify.AudioNotifierServiceImpl
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: sun.management.compiler=HotSpot Client Compiler
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: os.version=6.2
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: user.home=C:\Users\senthil
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: user.timezone=America/Los_Angeles
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: java.awt.printerjob=sun.awt.windows.WPrinterJob
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: file.encoding=Cp1252
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: java.specification.version=1.8
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: java.class.path=C:\Users\senthil\workspace\libjitsi\bin;C:\Users\senthil\Desktop\libjitsi.jar;C:\Users\senthil\Desktop\libjitsi\lib\installer-exclude\bccontrib-1.0-SNAPSHOT.jar;C:\Users\senthil\Desktop\libjitsi\lib\installer-exclude\bcprov-jdk15on-149.jar;C:\Users\senthil\Desktop\libjitsi\lib\installer-exclude\cpptasks.jar;C:\Users\senthil\Desktop\libjitsi\lib\installer-exclude\jain-sdp.jar;C:\Users\senthil\Desktop\libjitsi\lib\installer-exclude\json-simple-1.1.1.jar;C:\Users\senthil\Desktop\libjitsi\lib\installer-exclude\jspeex.jar;C:\Users\senthil\Desktop\libjitsi\lib\installer-exclude\osgi.core.jar;C:\Users\senthil\Desktop\libjitsi\lib\installer-exclude\sdes4j.jar;C:\Users\senthil\Desktop\libjitsi\lib\installer-exclude\zrtp4j-light.jar;C:\Users\senthil\Desktop\fmj-code-116\fmj\lib\ffmpeg-java.jar;C:\Users\senthil\Desktop\fmj-code-116\fmj\lib\gstreamer-java.jar;C:\Users\senthil\Desktop\fmj-code-116\fmj\lib\jheora-patch.jar;C:\Users\senthil\Desktop\fmj-code-116\fmj\lib\jl1.0.jar;C:\Users\senthil\Desktop\fmj-code-116\fmj\lib\jna.jar;C:\Users\senthil\Desktop\fmj-code-116\fmj\lib\jogg-0.0.7.jar;C:\Users\senthil\Desktop\fmj-code-116\fmj\lib\jorbis-0.0.15.jar;C:\Users\senthil\Desktop\fmj-code-116\fmj\lib\jspeex.jar;C:\Users\senthil\Desktop\fmj-code-116\fmj\lib\junit.jar;C:\Users\senthil\Desktop\fmj-code-116\fmj\lib\lti-civil-no_s_w_t.jar;C:\Users\senthil\Desktop\fmj-code-116\fmj\lib\mp3spi1.9.4.jar;C:\Users\senthil\Desktop\fmj-code-116\fmj\lib\theora-java.jar;C:\Users\senthil\Desktop\fmj-code-116\fmj\lib\tritonus_share.jar;C:\Users\senthil\Desktop\fmj-code-116\fmj\lib\vorbisspi1.0.2.jar;C:\Users\senthil\Desktop\libjitsi-master\lib\bccontrib-1.0-SNAPSHOT
- Copy.jar;C:\Users\senthil\Desktop\libjitsi-master\lib\jspeex.jar;C:\Users\senthil\Desktop\libjitsi-master\lib\osgi.core
- Copy.jar;C:\Users\senthil\Desktop\libjitsi-master\lib\sdes4j.jar;C:\Users\senthil\Desktop\libjitsi-master\lib\zrtp4j-light.jar;C:\Users\senthil\Desktop\fmj.jar;C:\Users\senthil\Desktop\lib\installer-exclude\ice4j-1.1-20160706.192041-13.jar;C:\Users\senthil\Desktop\lib\installer-exclude\libjitsi-1.0-20160707.163121-175.jar;C:\Users\senthil\Desktop\fmj-code-116\ffmpeg-java\lib\jna.jar;C:\Users\senthil\Desktop\fmj-code-116\ffmpeg-java\lib\junit.jar;C:\Users\senthil\Desktop\fmj-code-116\theora-java\lib\jna.jar;C:\Users\senthil\Desktop\fmj-code-116\theora-java\lib\jogg-0.0.7.jar;C:\Users\senthil\Desktop\fmj-code-116\theora-java\lib\jorbis-0.0.15.jar
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: user.name=senthil
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: java.vm.specification.version=1.8
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: sun.java.command=org.jitsi.examples.AVReceive2
--local-port-base=5780 --remote-host=192.168.1.9
--remote-port-base=9800
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: java.home=C:\Program Files\Java\jre1.8.0_101
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: sun.arch.data.model=32
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: user.language=en
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: java.specification.vendor=Oracle Corporation
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: net.sf.fmj.utility.JmfRegistry.disableCommit=true
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: awt.toolkit=sun.awt.windows.WToolkit
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: java.vm.info=mixed mode
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: java.version=1.8.0_101
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: java.ext.dirs=C:\Program
Files\Java\jre1.8.0_101\lib\ext;C:\Windows\Sun\Java\lib\ext
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: sun.boot.class.path=C:\Program
Files\Java\jre1.8.0_101\lib\resources.jar;C:\Program
Files\Java\jre1.8.0_101\lib\rt.jar;C:\Program
Files\Java\jre1.8.0_101\lib\jsse.jar;C:\Program
Files\Java\jre1.8.0_101\lib\jce.jar;C:\Program
Files\Java\jre1.8.0_101\lib\charsets.jar;C:\Program
Files\Java\jre1.8.0_101\lib\jfr.jar
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: java.vendor=Oracle Corporation
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: file.separator=\
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: java.vendor.url.bug=http://bugreport.sun.com/bugreport/
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: sun.io.unicode.encoding=UnicodeLittle
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: sun.cpu.endian=little
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: sun.desktop=windows
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: sun.cpu.isalist=pentium_pro+mmx pentium_pro pentium+mmx pentium
i486 i386 i86
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: Normal classloader
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: failed to find jitsi-defaults.properties with class loader, will
continue without it.
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: Normal classloader
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: failed to find jitsi-default-overrides.properties with class
loader, will continue without it.
Could not commit protocolPrefixList
Problem adding org.jitsi.impl.neomedia.codec.audio.ulaw.JavaDecoder to
plugin table.
Already hash value of -5909850692577117189 in plugin table for class
name of com.ibm.media.codec.audio.ulaw.JavaDecoder
Problem adding org.jitsi.impl.neomedia.codec.audio.ulaw.JavaEncoder to
plugin table.
Already hash value of -5909850689387295167 in plugin table for class
name of com.ibm.media.codec.audio.ulaw.JavaEncoder
Problem adding org.jitsi.impl.neomedia.codec.audio.ulaw.Packetizer to
plugin table.
Already hash value of 4309025757421966371 in plugin table for class
name of com.sun.media.codec.audio.ulaw.Packetizer
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: Initializing audio devices
Hotplug cache populated with:
'\\?\hdaudio#func_01&ven_10ec&dev_0887&subsys_1458a002&rev_1003#4&358aa123&0&0001#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\espdifoutwave'
Hotplug cache populated with:
'\\?\usb#vid_046d&pid_081b&mi_02#6&21737511&0&0002#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\global'
before paHostApiInitializers[0].
after paHostApiInitializers[0].
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: Initializing video devices
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: Support for the formats of camera 'Logitech HD Webcam C310':
[AVFRAME, class org.jitsi.impl.neomedia.codec.video.AVFrame, pixFmt 3,
deviceSystemPixFmt 0xe436eb7d, AVFRAME, class
org.jitsi.impl.neomedia.codec.video.AVFrame, pixFmt 0,
deviceSystemPixFmt 0x30323449]
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: Looking for configured audio devices.
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: Scanning for configured Video Devices.
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: Found Logitech HD Webcam C310 as a AVFRAME, class
org.jitsi.impl.neomedia.codec.video.AVFrame video capture device.
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: Warming up SecureRandom...
Sep 24, 2016 2:32:27 PM org.jitsi.util.LoggerImpl log
INFO: Warming up SecureRandom finished.
Exception in thread "main" java.net.BindException: Address already in
use: Cannot bind
at java.net.DualStackPlainDatagramSocketImpl.socketBind(Native Method)
at java.net.DualStackPlainDatagramSocketImpl.bind0(Unknown Source)
at java.net.AbstractPlainDatagramSocketImpl.bind(Unknown Source)
at java.net.DatagramSocket.bind(Unknown Source)
at java.net.DatagramSocket.<init>(Unknown Source)
at java.net.DatagramSocket.<init>(Unknown Source)
at java.net.DatagramSocket.<init>(Unknown Source)
at org.jitsi.examples.AVReceive2.initialize(AVReceive2.java:190)
at org.jitsi.examples.AVReceive2.main(AVReceive2.java:337)

please help me.

thank you
sonall