java.lang.Error: java.net.SocketException: Invalid argument

Atlassian JIRA | Leonardo De Macedo [Atlassian] | 5 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Fisheye/Crucible started continuously logging an exception until it consumed all diskspace on the partition. Fisheye became unresponsive at that point. In addition, all other build processes that use that partition started failing. I killed Fisheye and removed the log files so that I could restart our build processes. Here is the exception I found in the logs: {noformat}2012-05-25 11:58:57,788 ERROR - EXCEPTION java.lang.Error: java.net.SocketException: Invalid argument at sun.nio.ch.Net.localAddress(Net.java:159) at sun.nio.ch.SocketChannelImpl.localAddress(SocketChannelImpl.java:430) at sun.nio.ch.SocketAdaptor.getLocalAddress(SocketAdaptor.java:147) at java.net.Socket.getLocalSocketAddress(Socket.java:716) at org.mortbay.io.nio.ChannelEndPoint.<init>(ChannelEndPoint.java:57) at org.mortbay.io.nio.SelectChannelEndPoint.<init>(SelectChannelEndPoint.java:61) at org.mortbay.jetty.nio.SelectChannelConnector$ConnectorEndPoint.<init>(SelectChannelConnector.java:348) at org.mortbay.jetty.nio.SelectChannelConnector.newEndPoint(SelectChannelConnector.java:332) at org.mortbay.jetty.nio.SelectChannelConnector$1.newEndPoint(SelectChannelConnector.java:108) at org.mortbay.io.nio.SelectorManager$SelectSet.doSelect(SelectorManager.java:744) at org.mortbay.io.nio.SelectorManager.doSelect(SelectorManager.java:192) at org.mortbay.jetty.nio.SelectChannelConnector.accept(SelectChannelConnector.java:124) at org.mortbay.jetty.AbstractConnector$Acceptor.run(AbstractConnector.java:690) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451) Caused by: java.net.SocketException: Invalid argument at sun.nio.ch.Net.localInetAddress(Native Method) at sun.nio.ch.Net.localAddress(Net.java:156) ... 13 more{noformat}

    Atlassian JIRA | 5 years ago | Leonardo De Macedo [Atlassian]
    java.lang.Error: java.net.SocketException: Invalid argument
  2. 0

    Fisheye/Crucible started continuously logging an exception until it consumed all diskspace on the partition. Fisheye became unresponsive at that point. In addition, all other build processes that use that partition started failing. I killed Fisheye and removed the log files so that I could restart our build processes. Here is the exception I found in the logs: {noformat}2012-05-25 11:58:57,788 ERROR - EXCEPTION java.lang.Error: java.net.SocketException: Invalid argument at sun.nio.ch.Net.localAddress(Net.java:159) at sun.nio.ch.SocketChannelImpl.localAddress(SocketChannelImpl.java:430) at sun.nio.ch.SocketAdaptor.getLocalAddress(SocketAdaptor.java:147) at java.net.Socket.getLocalSocketAddress(Socket.java:716) at org.mortbay.io.nio.ChannelEndPoint.<init>(ChannelEndPoint.java:57) at org.mortbay.io.nio.SelectChannelEndPoint.<init>(SelectChannelEndPoint.java:61) at org.mortbay.jetty.nio.SelectChannelConnector$ConnectorEndPoint.<init>(SelectChannelConnector.java:348) at org.mortbay.jetty.nio.SelectChannelConnector.newEndPoint(SelectChannelConnector.java:332) at org.mortbay.jetty.nio.SelectChannelConnector$1.newEndPoint(SelectChannelConnector.java:108) at org.mortbay.io.nio.SelectorManager$SelectSet.doSelect(SelectorManager.java:744) at org.mortbay.io.nio.SelectorManager.doSelect(SelectorManager.java:192) at org.mortbay.jetty.nio.SelectChannelConnector.accept(SelectChannelConnector.java:124) at org.mortbay.jetty.AbstractConnector$Acceptor.run(AbstractConnector.java:690) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451) Caused by: java.net.SocketException: Invalid argument at sun.nio.ch.Net.localInetAddress(Native Method) at sun.nio.ch.Net.localAddress(Net.java:156) ... 13 more{noformat}

    Atlassian JIRA | 5 years ago | Leonardo De Macedo [Atlassian]
    java.lang.Error: java.net.SocketException: Invalid argument
  3. 0

    smartfoxserver.com • View topic - [Help] java.net.SocketException: Connection reset by peer

    smartfoxserver.com | 1 year ago
    java.lang.Error: java.net.SocketException: Connection reset by peer
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unhandled Exception (SocketException)

    j-interop | 7 years ago | michube
    java.lang.Error: java.net.SocketException: Socket operation on nonsocket: getsockname

    Root Cause Analysis

    1. java.net.SocketException

      Invalid argument

      at sun.nio.ch.Net.localInetAddress()
    2. Java RT
      Net.localAddress
      1. sun.nio.ch.Net.localInetAddress(Native Method)
      2. sun.nio.ch.Net.localAddress(Net.java:156)
      2 frames