[jitsi-users] plugin.msofficecomm and JAWTRenderer issue


#1

hi team,

I got the jitsi-src-2.4.4997.zip, build the source successfully rebulid target, and run with run taget,
but got the following issue:

     [java] ERROR: Bundle net.java.sip.communicator.plugin.msofficecomm [516] Error starting reference:file:sc-bundles/plugin-msofficecomm.jar (org.osgi.framework.BundleException: Activator start error in bundle net.java.sip.communicator.plugin.msofficecomm [516].)
     [java] java.lang.UnsatisfiedLinkError: unsupported JNI version 0xFFFFFFFF required by E:\ws_xcrane\jitsi\lib\native\windows\jmsofficecomm.dll
     [java] at java.lang.ClassLoader$NativeLibrary.load(Native Method)
     [java] at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1807)
     [java] at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1732)
     [java] at java.lang.Runtime.loadLibrary0(Runtime.java:823)
     [java] at java.lang.System.loadLibrary(System.java:1028)
     [java] at net.java.sip.communicator.plugin.msofficecomm.Messenger.<clinit>(Messenger.java:159)
     [java] at net.java.sip.communicator.plugin.msofficecomm.MsOfficeCommActivator.start(MsOfficeCommActivator.java:36)
     [java] at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:629)
     [java] at org.apache.felix.framework.Felix.activateBundle(Felix.java:1904)
     [java] at org.apache.felix.framework.Felix.startBundle(Felix.java:1822)
     [java] at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1192)
     [java] at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:266)
     [java] at java.lang.Thread.run(Thread.java:662)

I configured Eclipse to compile and debug Jitsi, and run in Eclipse, but get more error as following:

14:44:12.593 严重: [10] org.jitsi.impl.neomedia.device.DeviceConfiguration.error() Failed to register custom Renderer org.jitsi.impl.neomedia.jmfext.media.renderer.video.JAWTRenderer with JMF.
java.lang.UnsatisfiedLinkError: E:\ws_xcrane\jitsi\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:1807)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1732)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1028)
at org.jitsi.impl.neomedia.jmfext.media.renderer.video.JAWTRenderer.<clinit>(JAWTRenderer.java:90)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:171)
at org.jitsi.impl.neomedia.device.DeviceConfiguration.registerCustomRenderers(DeviceConfiguration.java:1028)
at org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(DeviceConfiguration.java:355)
at org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaServiceImpl.java:141)
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:357)
at java.lang.Class.newInstance(Class.java:310)
at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:133)
at org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:86)
at org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:163)
at org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
at net.java.sip.communicator.impl.neomedia.NeomediaActivator.start(NeomediaActivator.java:380)
at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:629)
at org.apache.felix.framework.Felix.activateBundle(Felix.java:1904)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1822)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1192)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:266)
at java.lang.Thread.run(Thread.java:662)
java.lang.NullPointerException
at net.java.sip.communicator.plugin.pluginmanager.PluginManagerActivator.start(PluginManagerActivator.java:86)
at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:629)
at org.apache.felix.framework.Felix.activateBundle(Felix.java:1904)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1822)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1192)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:266)
at java.lang.Thread.run(Thread.java:662)
java.lang.UnsatisfiedLinkError: unsupported JNI version 0xFFFFFFFF required by E:\ws_xcrane\jitsi\lib\native\windows\jmsofficecomm.dll
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1807)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1732)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1028)
at net.java.sip.communicator.plugin.msofficecomm.Messenger.<clinit>(Messenger.java:159)
at net.java.sip.communicator.plugin.msofficecomm.MsOfficeCommActivator.start(MsOfficeCommActivator.java:36)
at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:629)
at org.apache.felix.framework.Felix.activateBundle(Felix.java:1904)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1822)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1192)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:266)
at java.lang.Thread.run(Thread.java:662)

My enviroments:
             MS Office 2007
             JDK 1.6.45

Could you help me?

Regards,
Snowing


#2

It's normal that jmsofficecom throws in Eclipse, but the jnawtrenderer is not. Can you open the dll in Dependency Walker (a tool originally from Visual Studio, depends.exe) and take a look which dependency is missing?

Oh, and please write only to one list (dev for such questions).

Freundliche Grüsse,
Ingo Bauersachs

-- sent from my mobile

···

Le 14.01.2014 à 07:54, "SnowingXimen" <snowingximen@163.com> a écrit :

hi team,

I got the jitsi-src-2.4.4997.zip, build the source successfully rebulid target, and run with run taget,
but got the following issue:

     [java] ERROR: Bundle net.java.sip.communicator.plugin.msofficecomm [516] Error starting reference:file:sc-bundles/plugin-msofficecomm.jar (org.osgi.framework.BundleException: Activator start error in bundle net.java.sip.communicator.plugin.msofficecomm [516].)
     [java] java.lang.UnsatisfiedLinkError: unsupported JNI version 0xFFFFFFFF required by E:\ws_xcrane\jitsi\lib\native\windows\jmsofficecomm.dll
     [java] at java.lang.ClassLoader$NativeLibrary.load(Native Method)
     [java] at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1807)
     [java] at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1732)
     [java] at java.lang.Runtime.loadLibrary0(Runtime.java:823)
     [java] at java.lang.System.loadLibrary(System.java:1028)
     [java] at net.java.sip.communicator.plugin.msofficecomm.Messenger.<clinit>(Messenger.java:159)
     [java] at net.java.sip.communicator.plugin.msofficecomm.MsOfficeCommActivator.start(MsOfficeCommActivator.java:36)
     [java] at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:629)
     [java] at org.apache.felix.framework.Felix.activateBundle(Felix.java:1904)
     [java] at org.apache.felix.framework.Felix.startBundle(Felix.java:1822)
     [java] at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1192)
     [java] at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:266)
     [java] at java.lang.Thread.run(Thread.java:662)

I configured Eclipse to compile and debug Jitsi, and run in Eclipse, but get more error as following:

14:44:12.593 严重: [10] org.jitsi.impl.neomedia.device.DeviceConfiguration.error() Failed to register custom Renderer org.jitsi.impl.neomedia.jmfext.media.renderer.video.JAWTRenderer with JMF.
java.lang.UnsatisfiedLinkError: E:\ws_xcrane\jitsi\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:1807)
  at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1732)
  at java.lang.Runtime.loadLibrary0(Runtime.java:823)
  at java.lang.System.loadLibrary(System.java:1028)
  at org.jitsi.impl.neomedia.jmfext.media.renderer.video.JAWTRenderer.<clinit>(JAWTRenderer.java:90)
  at java.lang.Class.forName0(Native Method)
  at java.lang.Class.forName(Class.java:171)
  at org.jitsi.impl.neomedia.device.DeviceConfiguration.registerCustomRenderers(DeviceConfiguration.java:1028)
  at org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(DeviceConfiguration.java:355)
  at org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaServiceImpl.java:141)
  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:357)
  at java.lang.Class.newInstance(Class.java:310)
  at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:133)
  at org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:86)
  at org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:163)
  at org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
  at net.java.sip.communicator.impl.neomedia.NeomediaActivator.start(NeomediaActivator.java:380)
  at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:629)
  at org.apache.felix.framework.Felix.activateBundle(Felix.java:1904)
  at org.apache.felix.framework.Felix.startBundle(Felix.java:1822)
  at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1192)
  at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:266)
  at java.lang.Thread.run(Thread.java:662)
java.lang.NullPointerException
  at net.java.sip.communicator.plugin.pluginmanager.PluginManagerActivator.start(PluginManagerActivator.java:86)
  at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:629)
  at org.apache.felix.framework.Felix.activateBundle(Felix.java:1904)
  at org.apache.felix.framework.Felix.startBundle(Felix.java:1822)
  at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1192)
  at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:266)
  at java.lang.Thread.run(Thread.java:662)
java.lang.UnsatisfiedLinkError: unsupported JNI version 0xFFFFFFFF required by E:\ws_xcrane\jitsi\lib\native\windows\jmsofficecomm.dll
  at java.lang.ClassLoader$NativeLibrary.load(Native Method)
  at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1807)
  at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1732)
  at java.lang.Runtime.loadLibrary0(Runtime.java:823)
  at java.lang.System.loadLibrary(System.java:1028)
  at net.java.sip.communicator.plugin.msofficecomm.Messenger.<clinit>(Messenger.java:159)
  at net.java.sip.communicator.plugin.msofficecomm.MsOfficeCommActivator.start(MsOfficeCommActivator.java:36)
  at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:629)
  at org.apache.felix.framework.Felix.activateBundle(Felix.java:1904)
  at org.apache.felix.framework.Felix.startBundle(Felix.java:1822)
  at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1192)
  at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:266)
  at java.lang.Thread.run(Thread.java:662)

My enviroments:
             MS Office 2007
             JDK 1.6.45

Could you help me?

Regards,
Snowing

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