Java version: 1.8

I would like to know what is the cause for underlying exception:

Caused by: java.net.SocketException: Socket operation on nonsocket: bind

Is it environment issue that can be fixed with any configuration changes on Windows system?

Here is stack trace from java program:

Caused by: java.net.SocketException: Socket operation on nonsocket: bind
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:461)
at sun.nio.ch.Net.bind(Net.java:453)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSock etChannelImpl.java:222)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAd aptor.java:85)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAd aptor.java:78)
at sun.nio.ch.PipeImpl$Initializer$LoopbackConnector. run(PipeImpl.java:121)
at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java: 76)
... 14 common frames omitted

Some background about the issue:

I'm using Apache http async client library to execute http requests in async manner. Intermittently, I see above exceptions and due to the way apache http is designed, thread that is supposed to process the request terminates abnormally and all the requests stuck in the queue forever.

I'm trying to understand what's the trigger for the above exception and how can I avoid such exceptions.

Does anyone have any idea on the above exception?

Thanks & Regards,
Karthik