[jitsi-issues] Re: libjitsi-example not running

Imran Khan imrank at cdac.in
Tue Oct 9 12:01:27 CEST 2012


On Tue, Oct 9, 2012, Imran Khan <imrank at cdac.in> said:

>  Hello Sir
> 
>   I got the following exception while running libjitsi example.Please tell
> me how to configure libjitsi.
> 
> run:
> 9 Oct, 2012 10:31:11 AM org.jitsi.util.Logger info
> 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>(Unknown Source)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>         at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>         at java.lang.Class.newInstance0(Class.java:355)
>         at java.lang.Class.newInstance(Class.java:308)
>         at org.jitsi.service.libjitsi.LibJitsi.start(Unknown Source)
>         at org.jitsi.service.libjitsi.LibJitsi.start(Unknown Source)
>         at com.Capture.main(Capture.java:339)
> 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
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: Failed to initialize service implementation
> org.jitsi.impl.fileaccess.FileAccessServiceImpl. Will continue without it.
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: java.runtime.name=Java(TM) SE Runtime Environment
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: sun.boot.library.path=C:\Program Files\Java\jdk1.6.0_24\jre\bin
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: java.vm.version=19.1-b02
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: java.vm.vendor=Sun Microsystems Inc.
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: java.vendor.url=http://java.sun.com/
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: path.separator=;
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: java.vm.name=Java HotSpot(TM) Client VM
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: file.encoding.pkg=sun.io
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: sun.java.launcher=SUN_STANDARD
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: user.country=IN
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: sun.os.patch.level=Service Pack 1
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: java.vm.specification.name=Java Virtual Machine Specification
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: user.dir=C:\Users\imran\Documents\NetBeansProjects\VideoConf
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: java.runtime.version=1.6.0_24-b07
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: java.endorsed.dirs=C:\Program
> Files\Java\jdk1.6.0_24\jre\lib\endorsed
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: os.arch=x86
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: java.io.tmpdir=C:\Users\imran\AppData\Local\Temp\
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: line.separator=
> 
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: net.sf.fmj.utility.JmfRegistry.disableLoad=true
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: java.vm.specification.vendor=Sun Microsystems Inc.
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: user.variant=
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: os.name=Windows 7
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: sun.jnu.encoding=Cp1252
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: java.library.path=C:\Program
> Files\Java\jdk1.6.0_24\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program
> Files\Xuggle\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program
> Files\Hewlett-Packard\HP ProtectTools Security Manager\Bin\;c:\Program
> Files\Intel\DMIX;C:\Program Files\Intel\Services\IPT\;C:\Program
> Files\CMake 2.8\bin;C:\Program Files\Microsoft SQL
> Server\90\Tools\binn\;C:\Program Files\TortoiseSVN\bin;C:\Program
> Files\Java\jdk1.6.0_24\bin;C:\opencv\opencv\build\common\tbb\ia32\vc10\;C:\opencv\opencv\build\x86\vc10\bin\;C:\ffmpeg-0.7.1-win32-shared\bin;G:\softwere\lti-civil\native\win32-x86;C:\apache-ant-1.8.4\bin;C:\MinGW\bin;C:\Program
> Files\Microsoft Visual Studio 9.0\VC\bin;C:\Program Files\Microsoft Visual
> Studio 9.0\VC\include;G:\softwere\libjitsi\libjitsi\lib\native\windows;.;
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: java.specification.name=Java Platform API Specification
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: java.class.version=50.0
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO:
> org.jitsi.service.audionotifier.AudioNotifierService=org.jitsi.impl.neomedia.notify.AudioNotifierServiceImpl
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: sun.management.compiler=HotSpot Client Compiler
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: os.version=6.1
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: user.home=C:\Users\imran
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: user.timezone=Asia/Calcutta
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: java.awt.printerjob=sun.awt.windows.WPrinterJob
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: file.encoding=UTF-8
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: java.specification.version=1.6
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO:
> java.class.path=G:\softwere\lti-civil\lti-civil-no_s_w_t.jar;G:\softwere\lti-civil\lti-civil-noswt.jar;G:\softwere\lti-civil\lti-civil-noutils.jar;G:\softwere\lti-civil\lti-civil.jar;C:\Program
> Files\Xuggle\share\java\jars\commons-cli.jar;C:\Program
> Files\Xuggle\share\java\jars\logback-classic.jar;C:\Program
> Files\Xuggle\share\java\jars\logback-core.jar;C:\Program
> Files\Xuggle\share\java\jars\slf4j-api.jar;C:\Program
> Files\Xuggle\share\java\jars\xuggle-xuggler-test.jar;C:\Program
> Files\Xuggle\share\java\jars\xuggle-xuggler.jar;G:\softwere\smack_3_2_2\jmf.jar;G:\softwere\javamail-1.4.5\lib\dsn.jar;G:\softwere\javamail-1.4.5\lib\imap.jar;G:\softwere\javamail-1.4.5\lib\pop3.jar;G:\softwere\javamail-1.4.5\lib\smtp.jar;G:\softwere\javamail-1.4.5\mail.jar;G:\softwere\libjitsi\libjitsi.jar;G:\softwere\libjitsi\libjitsi\lib\fmj.jar;G:\softwere\libjitsi\libjitsi\lib\ice4j.jar;G:\softwere\libjitsi\libjitsi\lib\jain-sdp.jar;G:\softwere\libjitsi\libjitsi\lib\json-20090723.jar;G:\softwere\libjitsi\libjitsi\lib\jspeex.jar;G:\softwere\libjitsi\libjitsi\lib\lcrypto-jdk16-143.jar;G:\softwere\libjitsi\libjitsi\lib\osgi.core.jar;G:\softwere\libjitsi\libjitsi\lib\sdes4j.jar;G:\softwere\libjitsi\libjitsi\lib\zrtp4j-light.jar;G:\softwere\libjitsi\libjitsi\lib\installer-exclude\cpptasks.jar;C:\Users\imran\Documents\NetBeansProjects\VideoConf\build\classes;C:\Users\imran\Documents\NetBeansProjects\VideoConf\src
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: user.name=imran
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: java.vm.specification.version=1.0
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: java.home=C:\Program Files\Java\jdk1.6.0_24\jre
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: sun.arch.data.model=32
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: user.language=en
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: java.specification.vendor=Sun Microsystems Inc.
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: awt.toolkit=sun.awt.windows.WToolkit
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: java.vm.info=mixed mode, sharing
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: java.version=1.6.0_24
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: java.ext.dirs=C:\Program
> Files\Java\jdk1.6.0_24\jre\lib\ext;C:\Windows\Sun\Java\lib\ext
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: sun.boot.class.path=C:\Program
> Files\Java\jdk1.6.0_24\jre\lib\resources.jar;C:\Program
> Files\Java\jdk1.6.0_24\jre\lib\rt.jar;C:\Program
> Files\Java\jdk1.6.0_24\jre\lib\sunrsasign.jar;C:\Program
> Files\Java\jdk1.6.0_24\jre\lib\jsse.jar;C:\Program
> Files\Java\jdk1.6.0_24\jre\lib\jce.jar;C:\Program
> Files\Java\jdk1.6.0_24\jre\lib\charsets.jar;C:\Program
> Files\Java\jdk1.6.0_24\jre\lib\modules\jdk.boot.jar;C:\Program
> Files\Java\jdk1.6.0_24\jre\classes
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: java.vendor=Sun Microsystems Inc.
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: file.separator=\
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: sun.io.unicode.encoding=UnicodeLittle
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: sun.cpu.endian=little
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: sun.desktop=windows
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: sun.cpu.isalist=pentium_pro+mmx pentium_pro pentium+mmx pentium i486
> i386 i86
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: Initializing audio devices
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: Initializing video devices
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: Webcam available resolution for USB Video Device:640x480
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: Webcam available resolution for USB Video Device:160x120
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: Webcam available resolution for USB Video Device:176x144
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: Webcam available resolution for USB Video Device:320x240
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: Webcam available resolution for USB Video Device:352x288
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: Webcam available resolution for USB Video Device:640x360
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: Webcam available resolution for USB Video Device:640x400
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: Webcam available resolution for USB Video Device:768x480
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: Webcam available resolution for USB Video Device:800x456
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: Webcam available resolution for USB Video Device:800x504
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: Webcam available resolution for USB Video Device:800x600
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: Webcam available resolution for USB Video Device:864x480
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: Webcam available resolution for USB Video Device:960x720
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: Webcam available resolution for USB Video Device:1280x720
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: Webcam available resolution for USB Video Device:1280x800
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: Webcam available resolution for USB Video Device:1600x904
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: Webcam available resolution for USB Video Device:1600x1000
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: Webcam available resolution for USB Video Device:1600x1200
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: Webcam available resolution for USB Video Device:640x480
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: Webcam available resolution for USB Video Device:160x120
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: Webcam available resolution for USB Video Device:176x144
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: Webcam available resolution for USB Video Device:320x240
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: Webcam available resolution for USB Video Device:352x288
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: Webcam available resolution for USB Video Device:640x360
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: Webcam available resolution for USB Video Device:640x400
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: Webcam available resolution for USB Video Device:768x480
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: Webcam available resolution for USB Video Device:800x456
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: Webcam available resolution for USB Video Device:800x504
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: Webcam available resolution for USB Video Device:800x600
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: Webcam available resolution for USB Video Device:864x480
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: Webcam available resolution for USB Video Device:960x720
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: Webcam available resolution for USB Video Device:1280x720
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: Webcam available resolution for USB Video Device:1280x800
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: Webcam available resolution for USB Video Device:1600x904
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: Webcam available resolution for USB Video Device:1600x1000
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: Webcam available resolution for USB Video Device:1600x1200
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: Found[0]: USB Video Device
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: Looking for configured audio devices.
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: Scanning for configured Video Devices.
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: Found USB Video Device as a AVFRAME, class
> org.jitsi.impl.neomedia.codec.video.AVFrame, pixFmt= -1 video capture
> device.
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger error
> SEVERE: Failed to register custom Renderer
> net.java.sip.communicator.impl.neomedia.jmfext.media.renderer.video.JAWTRenderer
> with JMF.
> java.lang.UnsatisfiedLinkError:
> G:\softwere\libjitsi\libjitsi\lib\native\windows\jnawtrenderer.dll: Can't
> find dependent libraries
>         at java.lang.ClassLoader$NativeLibrary.load(Native Method)
>         at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1803)
>         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1728)
>         at java.lang.Runtime.loadLibrary0(Runtime.java:823)
>         at java.lang.System.loadLibrary(System.java:1028)
>         at
> net.java.sip.communicator.impl.neomedia.jmfext.media.renderer.video.JAWTRenderer.<clinit>(Unknown
> Source)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:169)
>         at
> org.jitsi.impl.neomedia.device.DeviceConfiguration.registerCustomRenderers(Unknown
> Source)
>         at
> org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(Unknown Source)
>         at org.jitsi.impl.neomedia.MediaServiceImpl.<init>(Unknown Source)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>         at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>         at java.lang.Class.newInstance0(Class.java:355)
>         at java.lang.Class.newInstance(Class.java:308)
>         at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(Unknown Source)
>         at
> org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(Unknown Source)
>         at org.jitsi.service.libjitsi.LibJitsi.getMediaService(Unknown
> Source)
>         at com.Capture.start(Capture.java:98)
>         at com.Capture.main(Capture.java:349)
> 9 Oct, 2012 10:31:12 AM org.jitsi.util.Logger info
> INFO: Failed to initialize service implementation
> org.jitsi.impl.resources.ResourceManagementServiceImpl. Will continue
> without it.
> Exception in thread "main" java.lang.NoSuchMethodError:
> com.sun.media.rtp.RTPSessionMgr.getLocalSSRC()J
>         at org.jitsi.impl.neomedia.StreamRTPManager.getLocalSSRC(Unknown
> Source)
>         at org.jitsi.impl.neomedia.MediaStreamImpl.getRTPManager(Unknown
> Source)
>         at
> org.jitsi.impl.neomedia.MediaStreamImpl.createSendStreams(Unknown Source)
>         at
> org.jitsi.impl.neomedia.MediaStreamImpl.startSendStreams(Unknown Source)
>         at org.jitsi.impl.neomedia.MediaStreamImpl.start(Unknown Source)
>         at org.jitsi.impl.neomedia.MediaStreamImpl.start(Unknown Source)
>         at com.Capture.start(Capture.java:230)
>         at com.Capture.main(Capture.java:349)
> 9 Oct, 2012 10:31:14 AM org.jitsi.util.Logger info
> INFO: GatherEntropy got: 176400 bytes
> 
> 
> -- 
> Thanks and Regards
> Imran Khan
> Project Engineer
> CDAC Hyderabad
> 
> 

-- 
Thanks and Regards
Imran Khan
Project Engineer
CDAC Hyderabad



-------------------------------------------------------------------------------------------------------------------------------

This e-mail is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. If you are not the
intended recipient, please contact the sender by reply e-mail and destroy
all copies and the original message. Any unauthorized review, use,
disclosure, dissemination, forwarding, printing or copying of this email
is strictly prohibited and appropriate legal action will be taken.
-------------------------------------------------------------------------------------------------------------------------------





More information about the issues mailing list