[jitsi-dev] online provisioning on MacOS/X


#1

Hiya,

online provisioning on MacOS/X Leopard doesn't seem to work.
(lasted nightly build)

Tried Bonjour and DHCP. At least for DHCP jitsi doesn't send the
query and does receive a response.

If I enter a URI manually, it works only if I don't add the
"u=${username}..." parameters. Otherwise, it doesn't even
contact the web server and I don't see any dialog to enter my
username and password.

Logs attached. Error that seems relevant:

12:05:17.487 SEVERE: service.httputil.HttpUtils.postForm().405 Error posting form
java.lang.IllegalArgumentException: null owner window
        at java.awt.Window.ownedInit(Window.java:415)
        at java.awt.Window.<init>(Window.java:375)
        at java.awt.Dialog.<init>(Dialog.java:310)
        at javax.swing.JDialog.<init>(JDialog.java:329)
        at javax.swing.JDialog.<init>(JDialog.java:288)
        at javax.swing.JDialog.<init>(JDialog.java:269)
        at net.java.sip.communicator.util.swing.SIPCommDialog.<init>(SIPCommDialog.java:63)
        at net.java.sip.communicator.util.swing.SIPCommDialog.<init>(SIPCommDialog.java:104)
        at net.java.sip.communicator.util.swing.AuthenticationWindow.<init>(AuthenticationWindow.java:124)
        at net.java.sip.communicator.util.swing.AuthenticationWindow.<init>(AuthenticationWindow.java:108)
        at net.java.sip.communicator.service.httputil.HttpUtils$HTTPCredentialsProvider.getCredentials(HttpUtils.java:662)
        at net.java.sip.communicator.service.httputil.HttpUtils.postForm(HttpUtils.java:458)
        at net.java.sip.communicator.service.httputil.HttpUtils.postForm(HttpUtils.java:377)
        at net.java.sip.communicator.plugin.provisioning.ProvisioningActivator.retrieveConfigurationFile(ProvisioningActivator.java:517)
        at net.java.sip.communicator.plugin.provisioning.ProvisioningActivator.start(ProvisioningActivator.java:205)
        at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:629)
        at org.apache.felix.framework.Felix.activateBundle(Felix.java:1827)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1744)
        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1148)
        at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
        at java.lang.Thread.run(Thread.java:655)
12:05:18.772 SEVERE: impl.neomedia.device.DeviceConfiguration.registerCustomRenderers().1187 Failed to register custom Renderer net.java.sip.communicator.impl.neomedia.jmfext.media.renderer.video.JAWTRenderer with JMF.
12:05:20.288 WARNING: plugin.spellcheck.Parameters.<clinit>().90 Unrecognized category: #text
12:05:20.288 WARNING: plugin.spellcheck.Parameters.<clinit>().90 Unrecognized category: #text
12:05:20.294 WARNING: plugin.spellcheck.Parameters.<clinit>().90 Unrecognized category: #text

···

--
Stephane


#2

Hi Stephane,

Yes the error seems related to Java 5 (and IIRC it was already reported on dev mailing list). We will try to provide a workaround shortly.

FYI, I just tried Bonjour and DHCP method on my Mac OS X with Java 5, and I see the same error _but_ DHCP INFORM packet was sent and with Bonjour I get the URL (but right after I got the exception).

Regards,

···

--
Seb

Le 27/10/11 13:35, Stephane Chazelas a �crit :

Hiya,

online provisioning on MacOS/X Leopard doesn't seem to work.
(lasted nightly build)

Tried Bonjour and DHCP. At least for DHCP jitsi doesn't send the
query and does receive a response.

If I enter a URI manually, it works only if I don't add the
"u=${username}..." parameters. Otherwise, it doesn't even
contact the web server and I don't see any dialog to enter my
username and password.

Logs attached. Error that seems relevant:

12:05:17.487 SEVERE: service.httputil.HttpUtils.postForm().405 Error posting form
java.lang.IllegalArgumentException: null owner window
         at java.awt.Window.ownedInit(Window.java:415)
         at java.awt.Window.<init>(Window.java:375)
         at java.awt.Dialog.<init>(Dialog.java:310)
         at javax.swing.JDialog.<init>(JDialog.java:329)
         at javax.swing.JDialog.<init>(JDialog.java:288)
         at javax.swing.JDialog.<init>(JDialog.java:269)
         at net.java.sip.communicator.util.swing.SIPCommDialog.<init>(SIPCommDialog.java:63)
         at net.java.sip.communicator.util.swing.SIPCommDialog.<init>(SIPCommDialog.java:104)
         at net.java.sip.communicator.util.swing.AuthenticationWindow.<init>(AuthenticationWindow.java:124)
         at net.java.sip.communicator.util.swing.AuthenticationWindow.<init>(AuthenticationWindow.java:108)
         at net.java.sip.communicator.service.httputil.HttpUtils$HTTPCredentialsProvider.getCredentials(HttpUtils.java:662)
         at net.java.sip.communicator.service.httputil.HttpUtils.postForm(HttpUtils.java:458)
         at net.java.sip.communicator.service.httputil.HttpUtils.postForm(HttpUtils.java:377)
         at net.java.sip.communicator.plugin.provisioning.ProvisioningActivator.retrieveConfigurationFile(ProvisioningActivator.java:517)
         at net.java.sip.communicator.plugin.provisioning.ProvisioningActivator.start(ProvisioningActivator.java:205)
         at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:629)
         at org.apache.felix.framework.Felix.activateBundle(Felix.java:1827)
         at org.apache.felix.framework.Felix.startBundle(Felix.java:1744)
         at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1148)
         at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
         at java.lang.Thread.run(Thread.java:655)
12:05:18.772 SEVERE: impl.neomedia.device.DeviceConfiguration.registerCustomRenderers().1187 Failed to register custom Renderer net.java.sip.communicator.impl.neomedia.jmfext.media.renderer.video.JAWTRenderer with JMF.
12:05:20.288 WARNING: plugin.spellcheck.Parameters.<clinit>().90 Unrecognized category: #text
12:05:20.294 WARNING: plugin.spellcheck.Parameters.<clinit>().90 Unrecognized category: #text


#3

2011-10-27, 13:59(+02), Sebastien Vincent:
[...]

FYI, I just tried Bonjour and DHCP method on my Mac OS X with Java 5,
and I see the same error _but_ DHCP INFORM packet was sent and with
Bonjour I get the URL (but right after I got the exception).

[...]

Tried Bonjour and DHCP. At least for DHCP jitsi doesn't send the
query and does receive a response.

[...]

Sorry, that was a typo of mine, I meant jitsi *does* send the
query.

Thanks for the feedback on the java version. I suppose that will
work OK with newer versions of MacOX/X then?

···

--
Stephane


#4

Le 27/10/11 14:07, Stephane Chazelas a �crit :

2011-10-27, 13:59(+02), Sebastien Vincent:
[...]

FYI, I just tried Bonjour and DHCP method on my Mac OS X with Java 5,
and I see the same error _but_ DHCP INFORM packet was sent and with
Bonjour I get the URL (but right after I got the exception).

[...]

Tried Bonjour and DHCP. At least for DHCP jitsi doesn't send the
query and does receive a response.

[...]

Sorry, that was a typo of mine, I meant jitsi *does* send the
query.

OK.

Thanks for the feedback on the java version. I suppose that will
work OK with newer versions of MacOX/X then?

In you run Jitsi with Java 6, it will run without this exception.

Regards,

···

--
Seb


#5

Hi Stephane, Patrick,

Thanks for reporting the IllegalArgument exception issue!

It should be now fixed with revision 9059.

Cheers,
Yana

···

On Oct 27, 2011, at 1:59 PM, Sebastien Vincent wrote:

Hi Stephane,

Yes the error seems related to Java 5 (and IIRC it was already reported on dev mailing list). We will try to provide a workaround shortly.

FYI, I just tried Bonjour and DHCP method on my Mac OS X with Java 5, and I see the same error _but_ DHCP INFORM packet was sent and with Bonjour I get the URL (but right after I got the exception).

Regards,
--
Seb

Le 27/10/11 13:35, Stephane Chazelas a écrit :

Hiya,

online provisioning on MacOS/X Leopard doesn't seem to work.
(lasted nightly build)

Tried Bonjour and DHCP. At least for DHCP jitsi doesn't send the
query and does receive a response.

If I enter a URI manually, it works only if I don't add the
"u=${username}..." parameters. Otherwise, it doesn't even
contact the web server and I don't see any dialog to enter my
username and password.

Logs attached. Error that seems relevant:

12:05:17.487 SEVERE: service.httputil.HttpUtils.postForm().405 Error posting form
java.lang.IllegalArgumentException: null owner window
        at java.awt.Window.ownedInit(Window.java:415)
        at java.awt.Window.<init>(Window.java:375)
        at java.awt.Dialog.<init>(Dialog.java:310)
        at javax.swing.JDialog.<init>(JDialog.java:329)
        at javax.swing.JDialog.<init>(JDialog.java:288)
        at javax.swing.JDialog.<init>(JDialog.java:269)
        at net.java.sip.communicator.util.swing.SIPCommDialog.<init>(SIPCommDialog.java:63)
        at net.java.sip.communicator.util.swing.SIPCommDialog.<init>(SIPCommDialog.java:104)
        at net.java.sip.communicator.util.swing.AuthenticationWindow.<init>(AuthenticationWindow.java:124)
        at net.java.sip.communicator.util.swing.AuthenticationWindow.<init>(AuthenticationWindow.java:108)
        at net.java.sip.communicator.service.httputil.HttpUtils$HTTPCredentialsProvider.getCredentials(HttpUtils.java:662)
        at net.java.sip.communicator.service.httputil.HttpUtils.postForm(HttpUtils.java:458)
        at net.java.sip.communicator.service.httputil.HttpUtils.postForm(HttpUtils.java:377)
        at net.java.sip.communicator.plugin.provisioning.ProvisioningActivator.retrieveConfigurationFile(ProvisioningActivator.java:517)
        at net.java.sip.communicator.plugin.provisioning.ProvisioningActivator.start(ProvisioningActivator.java:205)
        at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:629)
        at org.apache.felix.framework.Felix.activateBundle(Felix.java:1827)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1744)
        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1148)
        at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
        at java.lang.Thread.run(Thread.java:655)
12:05:18.772 SEVERE: impl.neomedia.device.DeviceConfiguration.registerCustomRenderers().1187 Failed to register custom Renderer net.java.sip.communicator.impl.neomedia.jmfext.media.renderer.video.JAWTRenderer with JMF.
12:05:20.288 WARNING: plugin.spellcheck.Parameters.<clinit>().90 Unrecognized category: #text
12:05:20.288 WARNING: plugin.spellcheck.Parameters.<clinit>().90 Unrecognized category: #text
12:05:20.294 WARNING: plugin.spellcheck.Parameters.<clinit>().90 Unrecognized category: #text


#6

2011-10-27 16:27:33 +0200, Yana Stamcheva:
[...]

It should be now fixed with revision 9059.

[...]

Thanks.

You guys are amazing! Every bug report I've filed so far has had
a fix within a day.

I do confirm it works perfectly on MacOS/X Leopard now.

···

--
Stephane