java.net.SocketException

Invalid argument

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web538

  • via Oracle Community by 168717, 11 months ago
    Invalid argument Invalid argument
  • Invalid argument Invalid argument
  • Invalid argument Invalid argument
  • Stack trace

    • java.net.SocketException: Invalid argument at sun.nio.ch.DatagramChannelImpl.send0(Native Method) at sun.nio.ch.DatagramChannelImpl.sendFromNativeBuffer(DatagramChannelImpl.java:521) at sun.nio.ch.DatagramChannelImpl.send(DatagramChannelImpl.java:498) at sun.nio.ch.DatagramChannelImpl.send(DatagramChannelImpl.java:462) at org.itxtech.nemisys.raknet.server.UDPServerSocket.writePacket(UDPServerSocket.java:83) at org.itxtech.nemisys.raknet.server.UDPServerSocket.writePacket(UDPServerSocket.java:78) at org.itxtech.nemisys.raknet.server.SessionManager.sendPacket(SessionManager.java:197) at org.itxtech.nemisys.raknet.server.Session.sendPacket(Session.java:189) at org.itxtech.nemisys.raknet.server.Session.addToQueue(Session.java:225) at org.itxtech.nemisys.raknet.server.Session.addEncapsulatedToQueue(Session.java:295) at org.itxtech.nemisys.raknet.server.Session.close(Session.java:532) at org.itxtech.nemisys.raknet.server.SessionManager.removeSession(SessionManager.java:431) at org.itxtech.nemisys.raknet.server.Session.disconnect(Session.java:185) at org.itxtech.nemisys.raknet.server.Session.update(Session.java:109) at org.itxtech.nemisys.raknet.server.SessionManager.tick(SessionManager.java:107) at org.itxtech.nemisys.raknet.server.SessionManager.tickProcessor(SessionManager.java:100) at org.itxtech.nemisys.raknet.server.SessionManager.run(SessionManager.java:69) at org.itxtech.nemisys.raknet.server.SessionManager.<init>(SessionManager.java:57) at org.itxtech.nemisys.raknet.server.RakNetServer.run(RakNetServer.java:101)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    2 times, 1 year ago
    42 times, 7 months ago