java.lang.Error: java.net.SocketException: Socket operation on non-socket

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Apache's JIRA Issue Tracker by Stephen Green, 1 year ago
via jboss.org by Unknown author, 1 year ago
via hivmr.com by Unknown author, 1 year ago
java.net.SocketException: Bad file number (errno:9)
via Oracle Community by user6394230, 1 year ago
java.net.SocketException: Bad file number (errno:9)
via Atlassian JIRA by Leonardo De Macedo [Atlassian], 1 year ago
java.net.SocketException: Invalid argument
java.lang.Error: java.net.SocketException: Socket operation on non-socket
at sun.nio.ch.Net.localInetAddress(Native Method)
at sun.nio.ch.Net.localAddress(Net.java:125)
at sun.nio.ch.SocketChannelImpl.localAddress(SocketChannelImpl.java:430)
at sun.nio.ch.SocketAdaptor.getLocalAddress(SocketAdaptor.java:147)
at org.apache.zookeeper.ClientCnxn.getLocalSocketAddress(ClientCnxn.java:227)
at java.lang.String.valueOf(String.java:2826)
at java.lang.StringBuilder.append(StringBuilder.java:115)
at java.util.Formatter$FormatSpecifier.printString(Formatter.java:2794)
at java.util.Formatter$FormatSpecifier.print(Formatter.java:2677)
at java.util.Formatter.format(Formatter.java:2433)
at java.util.Formatter.format(Formatter.java:2367)
at java.lang.String.format(String.java:2769)
at com.echonest.cluster.ZooContainer.process(ZooContainer.java:544)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.