[sip-comm-dev] UnknownHostException prevents the creation of an account

Lubomir Marinov lubo at sip-communicator.org
Wed Aug 11 00:02:50 CEST 2010


I don't know what feels right to happen in this situation so I'm writing
here to ask. I did it again and I missed a letter in the server part of
my SIP id while I was creating a new SIP account. When I clicked the
Signin button of the SIP Account Registration Wizard, nothing seemed to
happen so, eventually, I discovered the following exception:
But I wanted to ask about the

     [java] 00:36:40.187 SEVERE:
impl.protocol.sip.ProtocolProviderServiceSipImpl.initOutboundProxy().1884 voigw.u-strasbg.fr appears to be an either invalid or inaccessible address.
     [java] java.net.UnknownHostException: voigw.u-strasbg.fr
     [java] 	at java.net.Inet6AddressImpl.lookupAllHostAddr(Native
Method)
     [java] 	at java.net.InetAddress
$1.lookupAllHostAddr(InetAddress.java:850)
     [java] 	at
java.net.InetAddress.getAddressFromNameService(InetAddress.java:1201)
     [java] 	at
java.net.InetAddress.getAllByName0(InetAddress.java:1154)
     [java] 	at java.net.InetAddress.getAllByName(InetAddress.java:1084)
     [java] 	at java.net.InetAddress.getAllByName(InetAddress.java:1020)
     [java] 	at java.net.InetAddress.getByName(InetAddress.java:970)
     [java] 	at
net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl.resolveSipAddress(ProtocolProviderServiceSipImpl.java:2555)
     [java] 	at
net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl.initOutboundProxy(ProtocolProviderServiceSipImpl.java:1861)
     [java] 	at
net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl.initialize(ProtocolProviderServiceSipImpl.java:479)
     [java] 	at
net.java.sip.communicator.impl.protocol.sip.ProtocolProviderFactorySipImpl.createService(ProtocolProviderFactorySipImpl.java:229)
     [java] 	at
net.java.sip.communicator.service.protocol.ProtocolProviderFactory.loadAccount(ProtocolProviderFactory.java:624)
     [java] 	at
net.java.sip.communicator.service.protocol.ProtocolProviderFactory.loadAccount(ProtocolProviderFactory.java:601)
     [java] 	at
net.java.sip.communicator.impl.protocol.sip.ProtocolProviderFactorySipImpl.installAccount(ProtocolProviderFactorySipImpl.java:89)
     [java] 	at
net.java.sip.communicator.plugin.sipaccregwizz.SIPAccountRegistrationWizard.installAccount(SIPAccountRegistrationWizard.java:476)
     [java] 	at
net.java.sip.communicator.plugin.sipaccregwizz.SIPAccountRegistrationWizard.signin(SIPAccountRegistrationWizard.java:303)
     [java] 	at
net.java.sip.communicator.plugin.sipaccregwizz.SIPAccountRegistrationWizard.signin(SIPAccountRegistrationWizard.java:282)
     [java] 	at
net.java.sip.communicator.impl.gui.main.account.AccountRegSummaryPage.commitPage(AccountRegSummaryPage.java:163)
     [java] 	at
net.java.sip.communicator.impl.gui.customcontrols.wizard.WizardController.nextButtonPressed(WizardController.java:79)
     [java] 	at
net.java.sip.communicator.impl.gui.customcontrols.wizard.WizardController.actionPerformed(WizardController.java:54)
     [java] 	at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
     [java] 	at javax.swing.AbstractButton
$Handler.actionPerformed(AbstractButton.java:2318)
     [java] 	at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
     [java] 	at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
     [java] 	at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
     [java] 	at
java.awt.Component.processMouseEvent(Component.java:6263)
     [java] 	at
javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
     [java] 	at java.awt.Component.processEvent(Component.java:6028)
     [java] 	at java.awt.Container.processEvent(Container.java:2041)
     [java] 	at
java.awt.Component.dispatchEventImpl(Component.java:4630)
     [java] 	at
java.awt.Container.dispatchEventImpl(Container.java:2099)
     [java] 	at java.awt.Component.dispatchEvent(Component.java:4460)
     [java] 	at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
     [java] 	at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
     [java] 	at
java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
     [java] 	at
java.awt.Container.dispatchEventImpl(Container.java:2085)
     [java] 	at java.awt.Window.dispatchEventImpl(Window.java:2478)
     [java] 	at java.awt.Component.dispatchEvent(Component.java:4460)
     [java] 	at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
     [java] 	at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
     [java] 	at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
     [java] 	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
     [java] 	at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
     [java] 	at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
     [java] 	at
java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Because we don't support changing the ID of an account, I guess it's
kind of acceptable to not create the account. But I see the following
two problems with such behavior:

- The UI didn't say anything to notify me that the account couldn't be
created. I guess I should create an issue for this one.

- I had to enter my SIP id (with the missed letter this time, of
course), password, display name, XCAP server uri (BTW, shouldn't it be
spelled URI i.e. with capital letters in the wizard?) and click a
handful of times in order to fix a single-letter mistake. I know it
requires the ability to edit IDs and we have an issue for it:
https://sip-communicator.dev.java.net/issues/show_bug.cgi?id=708. But I
wanted to ask if we could increase a tiny bit the urgency of issue #708
because it's marked as an ENHANCEMENT yet it feels like a (usability)
bug.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe at sip-communicator.dev.java.net
For additional commands, e-mail: dev-help at sip-communicator.dev.java.net





More information about the dev mailing list