Smack/smack-tcp/src/main/java/org/jivesoftware/smack/tcp
Florian Schmaus c4228e072b [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>
2020-11-14 12:47:34 +01:00
..
rce [tcp] Add missing null check in resolveDomain() 2020-11-14 12:47:34 +01:00
BundleAndDefer.java Minor javadoc fixes and improvements 2015-02-22 10:41:53 +01:00
BundleAndDeferCallback.java Fix minor codestyle issues 2017-12-17 11:03:46 +01:00
ConnectionAttemptState.java Remove unrequired assignment of value to connectionEndpoint variable 2020-07-02 01:59:58 +05:30
TCPInitializer.java Introduce Smack's Modular Connection Architecture 2020-04-04 13:03:31 +02:00
TcpHostEvent.java Introduce Smack's Modular Connection Architecture 2020-04-04 13:03:31 +02:00
XMPPTCPConnection.java [tcp] Do not send SM ack after we send a </stream:stream> 2020-09-18 14:36:26 +02:00
XMPPTCPConnectionConfiguration.java Use correct class name in docs 2020-05-28 03:29:37 +05:30
XmppTcpTransportModule.java [tcp] Add code comment why we have to copy the ByteBuffer 2020-09-20 13:53:13 +02:00
XmppTcpTransportModuleDescriptor.java Introduce Smack's Modular Connection Architecture 2020-04-04 13:03:31 +02:00
package-info.java Add missing package-info descriptions. 2018-02-21 16:47:11 +01:00