java.lang.Error

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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}
    via by Leonardo De Macedo [Atlassian],
  • 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}
    via by Leonardo De Macedo [Atlassian],
  • SCTP accept problem
    via by Lui Yeung,
    • 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)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor2 times, last one,