Build: #182 was successful Changes by Florian Schmaus <flo@geekplace.eu>
Code commits
Smack (4.4)
-
Florian Schmaus <flo@geekplace.eu> f10cbb4a97a253410394b5d88badd9479d9f3b73
[core] Add requireNonNull() check to some connection endpoints
-
Florian Schmaus <flo@geekplace.eu> c4228e072b7bcbc93d16cbd0b92577044cc3f22b
[tcp] Add missing null check in resolveDomain()
The method lookupHostAddress() returns null in case of an error, hence
we need to test if the returned value is null prior adding the endpoint.
Should fix the following NPE:
java.lang.NullPointerException:
at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectUsingConfiguration (XMPPTCPConnection.java:606)
at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectInternal (XMPPTCPConnection.java:846)
at org.jivesoftware.smack.AbstractXMPPConnection.connect (AbstractXMPPConnection.java:530)
at org.jivesoftware.smack.ReconnectionManager$2.run (ReconnectionManager.java:282)
at java.lang.Thread.run (Thread.java:784)
Reported-by: Eng ChongMeng <cmeng.gm@gmail.com>