org.apache.mina.core.RuntimeIoException: java.net.SocketException: Invalid argument

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 Atlassian JIRA by Tbricks AB, 1 year ago
java.net.SocketException: Invalid argument
via Atlassian JIRA by Tbricks AB, 1 year ago
java.net.SocketException: Invalid argument
via atlassian.com by Unknown author, 2 years ago
java.net.SocketException: Invalid argument
java.net.SocketException: Invalid argument
at sun.nio.ch.Net.setIntOption0(Native Method)
at sun.nio.ch.Net.setSocketOption(Net.java:279)
at sun.nio.ch.SocketChannelImpl.setOption(SocketChannelImpl.java:180)
at sun.nio.ch.SocketAdaptor.setIntOption(SocketAdaptor.java:300)
at org.apache.mina.transport.socket.nio.NioSocketSession$SessionConfigImpl.setReceiveBufferSize(NioSocketSession.java:257)
at org.apache.mina.transport.socket.AbstractSocketSessionConfig.doSetAll(AbstractSocketSessionConfig.java:53)
at org.apache.mina.core.session.AbstractIoSessionConfig.setAll(AbstractIoSessionConfig.java:63)
at org.apache.mina.transport.socket.nio.NioSocketSession.(NioSocketSession.java:62)
at org.apache.mina.transport.socket.nio.NioSocketAcceptor.accept(NioSocketAcceptor.java:176)
at org.apache.mina.transport.socket.nio.NioSocketAcceptor.accept(NioSocketAcceptor.java:51)
at org.apache.mina.core.polling.AbstractPollingIoAcceptor$Acceptor.processHandles(AbstractPollingIoAcceptor.java:501)
at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)

Users with the same issue

24 times, 7 months ago
4 times, 8 months ago
Once, 9 months ago
6 times, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 2 months ago

Write tip

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