Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix NPE in the TcpNetServerConnectionFactory
https://build.spring.io/browse/INTSAMPLES-NIGHTLY-2413 When we fail with the `java.net.BindException: Address already in use (Bind failed)` in the `TcpNetServerConnectionFactory.run()`, the `serverSocket` property remains `null` and we get `NPE` in the `catch` block trying to `close()` the socket. * Call `stop()` instead which has all the required protections. **Cherry-pick to 5.0.x and 4.3.x**
- Loading branch information