[jitsi-users] Re: No Provisioning menu option


#1

Quick update:
I found in the options menu that the Provisioning plugin is deactivated. When I try to activate it, I get the following error message.

java.lang.IllegalStateException: Invalid BundleContext.
     at org.apache.felix.framework.BundleContextImpl.checkValidity(BundleContextImpl.java:457)
     at org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:392)
     at net.java.sip.communicator.impl.argdelegation.ArgDelegationPeerImpl.serviceChanged(ArgDelegationPeerImpl.java:106)
     at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:871)
     at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:733)
     at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:662)
     at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:3890)
     at org.apache.felix.framework.Felix.access$000(Felix.java:79)
     at org.apache.felix.framework.Felix$2.serviceChanged(Felix.java:728)
     at org.apache.felix.framework.ServiceRegistry.unregisterService(ServiceRegistry.java:135)
     at org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:129)
     at org.apache.felix.framework.ServiceRegistry.unregisterServices(ServiceRegistry.java:178)
     at org.apache.felix.framework.Felix.activateBundle(Felix.java:1926)
     at org.apache.felix.framework.Felix.startBundle(Felix.java:1822)
     at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:927)
     at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:914)
     at net.java.sip.communicator.plugin.pluginmanager.ManageButtonsPanel.actionPerformed(ManageButtonsPanel.java:143)
     at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
     at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
     at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
     at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
     at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
     at java.awt.Component.processMouseEvent(Component.java:6505)
     at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
     at java.awt.Component.processEvent(Component.java:6270)
     at java.awt.Container.processEvent(Container.java:2229)
     at java.awt.Component.dispatchEventImpl(Component.java:4861)
     at java.awt.Container.dispatchEventImpl(Container.java:2287)
     at java.awt.Component.dispatchEvent(Component.java:4687)
     at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
     at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
     at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
     at java.awt.Container.dispatchEventImpl(Container.java:2273)
     at java.awt.Window.dispatchEventImpl(Window.java:2719)
     at java.awt.Component.dispatchEvent(Component.java:4687)
     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:723)
     at java.awt.EventQueue.access$200(EventQueue.java:103)
     at java.awt.EventQueue$3.run(EventQueue.java:682)
     at java.awt.EventQueue$3.run(EventQueue.java:680)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
     at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
     at java.awt.EventQueue$4.run(EventQueue.java:696)
     at java.awt.EventQueue$4.run(EventQueue.java:694)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:693)
     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)
     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)
17:04:28.441 SEVERE: plugin.pluginmanager.ManageButtonsPanel.actionPerformed().148 Failed to activate bundle.
org.osgi.framework.BundleException: Activator start error in bundle [95].
     at org.apache.felix.framework.Felix.activateBundle(Felix.java:1951)
     at org.apache.felix.framework.Felix.startBundle(Felix.java:1822)
     at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:927)
     at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:914)
     at net.java.sip.communicator.plugin.pluginmanager.ManageButtonsPanel.actionPerformed(ManageButtonsPanel.java:143)
     at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
     at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
     at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
     at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
     at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
     at java.awt.Component.processMouseEvent(Component.java:6505)
     at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
     at java.awt.Component.processEvent(Component.java:6270)
     at java.awt.Container.processEvent(Container.java:2229)
     at java.awt.Component.dispatchEventImpl(Component.java:4861)
     at java.awt.Container.dispatchEventImpl(Container.java:2287)
     at java.awt.Component.dispatchEvent(Component.java:4687)
     at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
     at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
     at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
     at java.awt.Container.dispatchEventImpl(Container.java:2273)
     at java.awt.Window.dispatchEventImpl(Window.java:2719)
     at java.awt.Component.dispatchEvent(Component.java:4687)
     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:723)
     at java.awt.EventQueue.access$200(EventQueue.java:103)
     at java.awt.EventQueue$3.run(EventQueue.java:682)
     at java.awt.EventQueue$3.run(EventQueue.java:680)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
     at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
     at java.awt.EventQueue$4.run(EventQueue.java:696)
     at java.awt.EventQueue$4.run(EventQueue.java:694)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:693)
     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)
     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class net.java.sip.communicator.impl.netaddr.Win32LocalhostRetriever
     at net.java.sip.communicator.impl.netaddr.NetworkAddressManagerServiceImpl.getLocalHost(NetworkAddressManagerServiceImpl.java:159)
     at net.java.sip.communicator.plugin.provisioning.ProvisioningServiceImpl.retrieveConfigurationFile(ProvisioningServiceImpl.java:269)
     at net.java.sip.communicator.plugin.provisioning.ProvisioningServiceImpl.start(ProvisioningServiceImpl.java:141)
     at net.java.sip.communicator.plugin.provisioning.ProvisioningActivator.start(ProvisioningActivator.java:147)
     at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:629)
     at org.apache.felix.framework.Felix.activateBundle(Felix.java:1904)
     ... 40 more

Regards,
Sebastian

···

Am 25.01.2013 16:46, schrieb Sebastian M�ller:

Hi all,

I am trying to set up Jitsi for use with SIP Provider CE. When I use the Windows installer, everything works fine. But when I run Jitsi from Eclipse using the source from SVN, I get no Provisioning option in the Advanced Options menu. When I click the link "Use online Provisioning", the options menu opens, but the lower right hand side remains empty. There is also no "Provisioning" in the left hand side list.

I read about a property to disable options showing up in the menu, but I didn't change anything


#2

Quick update:
I found in the options menu that the Provisioning plugin is deactivated.

When

I try to activate it, I get the following error message.
[...]

Try setting the path environment variable in your Eclipse run configuration
to %path%;./lib/native/windows (or %path%;./lib/native/windows-64)

Ingo


#3

Try setting the path environment variable in your Eclipse run configuration
to %path%;./lib/native/windows (or %path%;./lib/native/windows-64)

Yes, that was it! It was set to %path%;./lib/native/windows, and with windows-64 this error disappears.
Besides, I realized that there is also no problem when I use Ant > run instead of the run configuration.

Thanks Ingo!
If this is a general issue, may I suggest adding the info here?: https://jitsi.org/Documentation/ConfigureEclipseNew#toc4

Sebastian


#4

Try setting the path environment variable in your Eclipse run

configuration

to %path%;./lib/native/windows (or %path%;./lib/native/windows-64)

Yes, that was it! It was set to %path%;./lib/native/windows, and with
windows-64 this error disappears.
Besides, I realized that there is also no problem when I use Ant > run
instead of the run configuration.

Thanks Ingo! If this is a general issue, may I suggest adding the info
here?: https://jitsi.org/Documentation/ConfigureEclipseNew#toc4

It's already there, right in the last screenshot.

Sebastian

Ingo


#5

It's already there, right in the last screenshot.

I meant the 64bit version. As I said, my path was set to /%path%;./lib/native/windows/ according to the documentation. There is no mention of windows-64.

Best,
Sebastian