[jitsi-dev] SIP configuration view not showing


#1

Hi all,

I've found small bug in current build. In configuration the SIP section is
never displayed and in log there is a message:

16:34:35.622 SEVERE: util.UtilActivator.uncaughtException().103 An uncaught
exception occurred in thread=Thread[AWT-EventQueue-0,6,main] and message
was: javax/net/ssl/SSLSocketFactory
java.lang.NoClassDefFoundError: javax/net/ssl/SSLSocketFactory
at
net.java.sip.communicator.util.ConfigurationUtils.getEnabledSslProtocols(ConfigurationUtils.java:2430)
at
net.java.sip.communicator.plugin.generalconfig.SIPConfigForm.<init>(SIPConfigForm.java:151)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at java.lang.Class.newInstance0(Class.java:372)
at java.lang.Class.newInstance(Class.java:325)
at
net.java.sip.communicator.service.gui.LazyConfigurationForm.getForm(LazyConfigurationForm.java:131)
at
net.java.sip.communicator.plugin.advancedconfig.AdvancedConfigurationPanel.showFormContent(AdvancedConfigurationPanel.java:123)
at
net.java.sip.communicator.plugin.advancedconfig.AdvancedConfigurationPanel.valueChanged(AdvancedConfigurationPanel.java:358)
at javax.swing.JList.fireSelectionValueChanged(JList.java:1798)
at javax.swing.JList$ListSelectionHandler.valueChanged(JList.java:1812)
at
javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:184)
at
javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:154)
at
javax.swing.DefaultListSelectionModel.setValueIsAdjusting(DefaultListSelectionModel.java:685)
at javax.swing.JList.setValueIsAdjusting(JList.java:2142)
at
javax.swing.plaf.basic.BasicListUI$Handler.mouseReleased(BasicListUI.java:2796)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:290)
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:703)
at java.awt.EventQueue.access$000(EventQueue.java:102)
at java.awt.EventQueue$3.run(EventQueue.java:662)
at java.awt.EventQueue$3.run(EventQueue.java:660)
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:676)
at java.awt.EventQueue$4.run(EventQueue.java:674)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:673)
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.ClassNotFoundException: javax.net.ssl.SSLSocketFactory
not found by [26]
at
org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:812)
at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:72)
at
org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1807)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 50 more

Adding two imports to net.java.sip.communicator.util.utilmanifest.mf fixed
the problem for me:
javax.net,
javax.net.ssl

···

--
Cheers,
Pawel


#2

Hey

Thanks for reporting, I added the imports in r10158. They apparently got
lost during the migration of the ConfigurationUtils.

Regards,
Ingo

···

-----Original Message-----
From: Paweł Domas [mailto:paweldomas@gmail.com]
Sent: Freitag, 7. Dezember 2012 10:46
To: dev@jitsi.java.net
Subject: [jitsi-dev] SIP configuration view not showing

Hi all,

I've found small bug in current build. In configuration the SIP section is
never displayed and in log there is a message:

16:34:35.622 SEVERE: util.UtilActivator.uncaughtException().103 An
uncaught exception occurred in thread=Thread[AWT-EventQueue-0,6,main]
and message was: javax/net/ssl/SSLSocketFactory
java.lang.NoClassDefFoundError: javax/net/ssl/SSLSocketFactory at
net.java.sip.communicator.util.ConfigurationUtils.getEnabledSslProtocols(
Conf igurationUtils.java:2430) at
net.java.sip.communicator.plugin.generalconfig.SIPConfigForm.<init>(SIPCo
nfig Form.java:151) at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAc
cess orImpl.java:57) at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConst
ruct orAccessorImpl.java:45) at
java.lang.reflect.Constructor.newInstance(Constructor.java:525) at
java.lang.Class.newInstance0(Class.java:372) at
java.lang.Class.newInstance(Class.java:325) at
net.java.sip.communicator.service.gui.LazyConfigurationForm.getForm(LazyC
onfi gurationForm.java:131) at
net.java.sip.communicator.plugin.advancedconfig.AdvancedConfigurationPane
l.sh owFormContent(AdvancedConfigurationPanel.java:123) at
net.java.sip.communicator.plugin.advancedconfig.AdvancedConfigurationPane
l.va lueChanged(AdvancedConfigurationPanel.java:358) at
javax.swing.JList.fireSelectionValueChanged(JList.java:1798) at
javax.swing.JList$ListSelectionHandler.valueChanged(JList.java:1812) at
javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelecti
onMo del.java:184) at
javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelecti
onMo del.java:154) at
javax.swing.DefaultListSelectionModel.setValueIsAdjusting(DefaultListSele
ctio nModel.java:685) at
javax.swing.JList.setValueIsAdjusting(JList.java:2142) at
javax.swing.plaf.basic.BasicListUI$Handler.mouseReleased(BasicListUI.java
:279 6) at
java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:290)
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:703) at
java.awt.EventQueue.access$000(EventQueue.java:102) at
java.awt.EventQueue$3.run(EventQueue.java:662) at
java.awt.EventQueue$3.run(EventQueue.java:660) at
java.security.AccessController.doPrivileged(Native Method) at
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain
.jav a:76) at
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain
.jav a:87) at java.awt.EventQueue$4.run(EventQueue.java:676) at
java.awt.EventQueue$4.run(EventQueue.java:674) at
java.security.AccessController.doPrivileged(Native Method) at
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain
.jav a:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:673) at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.j
ava: 244) at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java
:163 ) at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.j
ava: 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.ClassNotFoundException: javax.net.ssl.SSLSocketFactory not
found by [26] at
org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(Mod
uleI mpl.java:812) at
org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:72) at
org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleI
mpl. java:1807) at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 50 more

Adding two imports to net.java.sip.communicator.util.utilmanifest.mf fixed
the problem for me:
javax.net,
javax.net.ssl