New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yaxim crashes on custom port without custom server #97

ge0rg opened this Issue Aug 28, 2013 · 1 comment


None yet
1 participant
Copy link

ge0rg commented Aug 28, 2013

if either the custom host or the custom port is set, SRV is disabled and manual connection is performed to the given host-port pair.

However, if no hostname is supplied, yaxim crashes:

stacktrace: java.lang.IllegalArgumentException: FQDN is null
    at org.jivesoftware.smack.util.dns.HostAddress.<init>(
    at org.jivesoftware.smack.util.DNSUtil.resolveXMPPDomain(
    at org.jivesoftware.smack.ConnectionConfiguration.<init>(
    at org.yaxim.androidclient.service.SmackableImp.initXMPPConnection(
    at org.yaxim.androidclient.service.SmackableImp.doConnect(
    at org.yaxim.androidclient.service.XMPPService$

This comment has been minimized.

Copy link
Collaborator Author

ge0rg commented Aug 28, 2013

Update: the issue seems to appear as well when the SRV lookup fails, and the hostname returned from it is null.

Also, punycode domains are broken.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment