Skip to content

DatagramBindTest - wrong exception caught in bind loop fails to retry - #85

Merged
the-thing merged 1 commit into
apache:2.2.Xfrom
the-thing:another-bind-method-missing
Oct 23, 2026
Merged

the-thing merged 1 commit into
apache:2.2.Xfrom
the-thing:another-bind-method-missing

Conversation

@the-thing

Copy link
Copy Markdown
Member

Wrong exception type is being caught in org.apache.mina.transport.socket.nio.DatagramBindTest which causes not to retry.

See https://github.com/apache/mina/actions/runs/39756486373/job/119749669594

2026-10-22T16:37:04.0014350Z [INFO] Running org.apache.mina.transport.socket.nio.DatagramBindTest
2026-10-22T16:37:16.0237163Z [ERROR] Tests run: 7, Failures: 0, Errors: 1, Skipped: 1, Time elapsed: 12.02 s <<< FAILURE! -- in org.apache.mina.transport.socket.nio.DatagramBindTest
2026-10-22T16:37:16.0239622Z [ERROR] org.apache.mina.transport.socket.nio.DatagramBindTest.testUnbindDisconnectsClients -- Time elapsed: 0.015 s <<< ERROR!
2026-10-22T16:37:16.0241163Z java.io.IOException: 
2026-10-22T16:37:16.0241936Z Error while binding on localhost/127.0.0.1:45417
2026-10-22T16:37:16.0242813Z original message : Address already in use
2026-10-22T16:37:16.0243777Z 	at org.apache.mina.transport.socket.nio.NioDatagramAcceptor.open(NioDatagramAcceptor.java:731)
2026-10-22T16:37:16.0245279Z 	at org.apache.mina.transport.socket.nio.NioDatagramAcceptor.registerHandles(NioDatagramAcceptor.java:238)
2026-10-22T16:37:16.0246789Z 	at org.apache.mina.transport.socket.nio.NioDatagramAcceptor.access$300(NioDatagramAcceptor.java:68)
2026-10-22T16:37:16.0248094Z 	at org.apache.mina.transport.socket.nio.NioDatagramAcceptor$Acceptor.run(NioDatagramAcceptor.java:165)
2026-10-22T16:37:16.0249300Z 	at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
2026-10-22T16:37:16.0250395Z 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
2026-10-22T16:37:16.0251592Z 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
2026-10-22T16:37:16.0252754Z 	at java.base/java.lang.Thread.run(Thread.java:840)

@the-thing
the-thing merged commit ad9953a into apache:2.2.X Oct 23, 2026
9 checks passed
@the-thing
the-thing deleted the another-bind-method-missing branch October 23, 2026 05:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant