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.

  • Sometimes AbstractIoSession.toString() method invoked java.net.SocketException. That was java.lang.Error. so my program was exited. I think this problem was continuing since 2.0M2 or 3 ======================================================================================================= java.lang.Error: java.net.SocketException: Socket operation on nonsocket: getsockname 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 java.net.Socket.getLocalSocketAddress(Socket.java:697) at org.apache.mina.transport.socket.nio.NioSocketSession.getLocalAddress(NioSocketSession.java:158) at org.apache.mina.transport.socket.nio.NioSocketSession.getLocalAddress(NioSocketSession.java:1) at org.apache.mina.core.session.AbstractIoSession.toString(AbstractIoSession.java:1147) at java.lang.String.valueOf(String.java:2827) at java.lang.StringBuilder.append(StringBuilder.java:115) at com.rontab.bake.net.ClientEventAbstract.sendServer(ClientEventAbstract.java:256) at com.rontab.bake.net.ClientEventAbstract.send(ClientEventAbstract.java:241) at com.rontab.bake.net.protocols.room.PCreateRoom.sendMakeRoom(PCreateRoom.java:193) at com.rontab.bake.bui.comp.roomlist.createroom.CreateRoomEventProcessor.makeRoom(CreateRoomEventProcessor.java:53) at com.rontab.bake.bui.comp.roomlist.createroom.CreateRoomCont.roomSetting(CreateRoomCont.java:371) at com.rontab.bake.bui.comp.roomlist.createroom.CreateRoomCont.createRoom(CreateRoomCont.java:383) at com.rontab.bake.bui.comp.roomlist.createroom.CreateRoomCont$3.mouseReleased(CreateRoomCont.java:219) at com.jmex.bui.event.MouseEvent.dispatch(MouseEvent.java:209) at com.jmex.bui.BComponent.dispatchEvent(BComponent.java:789) at com.jmex.bui.BRootNode.dispatchEvent(BRootNode.java:469) at com.jmex.bui.PolledRootNode$2.dispatchEvent(PolledRootNode.java:268) at com.jmex.bui.PolledRootNode$2.onButton(PolledRootNode.java:237) at com.jme.input.lwjgl.LWJGLMouseInput.update(LWJGLMouseInput.java:233) at com.jme.input.InputSystem.update(InputSystem.java:67) at com.rontab.bim.app.RontabGame.start(RontabGame.java:78) at com.rontab.bake.Bake.main(Bake.java:177) Caused by: java.net.SocketException: Socket operation on nonsocket: getsockname at sun.nio.ch.Net.localInetAddress(Native Method) at sun.nio.ch.Net.localAddress(Net.java:122) ... 24 more
    via by ncanis2,
  • SCTP accept problem
    via by Lui Yeung,
    • java.lang.Error: java.net.SocketException: Socket operation on non-socket at sun.nio.ch.Net.localAddress(Net.java:128) 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:717) at org.apache.zookeeper.ClientCnxn.getLocalSocketAddress(ClientCnxn.java:227) at org.apache.zookeeper.ClientCnxn.toString(ClientCnxn.java:183) at java.lang.String.valueOf(String.java:2826) at java.lang.StringBuilder.append(StringBuilder.java:115) at org.apache.zookeeper.ZooKeeper.toString(ZooKeeper.java:1486) 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) at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:488) Caused by: 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) ... 15 more

    Users with the same issue

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