-
Notifications
You must be signed in to change notification settings - Fork 372
elements.util.ExecutorsUtil : Ignoring error #2330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks! I guess
is causing that. I will fix it tomorrow. |
Fixes issue eclipse-californium#2330 Signed-off-by: Achim Kraus <achim.kraus@cloudcoap.net>
PR #2331 contains the fix. Please retest, if possible. |
Fixes issue eclipse-californium#2330 Signed-off-by: Achim Kraus <achim.kraus@cloudcoap.net>
After testing, the issue has been successfully resolved. Thanks. |
Thanks for the feedback. Do you need a 4.0.0-M4 "soon"? Is it OK to fix it with the next? (My current plan is to remove handshake probe and the key management (remove frequently copy&destroy). ) |
If possible, please release a version first. This error may cause problems during the quick reconnection process and may affect most users. Looking forward to future versions. Thank you.
|
I will do so.
Interesting. I'm used to relax the times during handshake, in my experience that performs better. |
Just as additional note: |
A connection without established session is removed by the failing handshake, so this issue is only about a irritating logging message. Fixes issue eclipse-californium#2330 Signed-off-by: Achim Kraus <achim.kraus@cloudcoap.net>
After deeper analyze, this happens only:
and it's only an irritating logging message. Therefore I prefer to release this fix with a M4 including more stuff then just this fix. |
A connection without established session is removed by the failing handshake, so this issue is only about a irritating logging message. Fixes issue #2330 Signed-off-by: Achim Kraus <achim.kraus@cloudcoap.net>
When using version 4.0.0-M3, the following warning logs have appeared, which did not seem to occur in previous versions. Not sure if this has any impact. Thank you.
2025-03-01 19:35:33.686 WARN 9682 --- [0.0.0.0:32904#0] o.e.c.elements.util.ExecutorsUtil : Ignoring error:
java.lang.NullPointerException: null
at org.eclipse.californium.scandium.dtls.InMemoryConnectionStore.lambda$addToAddressConnections$1(InMemoryConnectionStore.java:633)
at org.eclipse.californium.elements.util.ExecutorsUtil.runAll(ExecutorsUtil.java:271)
at org.eclipse.californium.scandium.dtls.Connection.shutdown(Connection.java:311)
at org.eclipse.californium.scandium.dtls.InMemoryConnectionStore.remove(InMemoryConnectionStore.java:559)
at org.eclipse.californium.scandium.DTLSConnector$2.handshakeFailed(DTLSConnector.java:716)
at org.eclipse.californium.scandium.dtls.Handshaker.failHandshake(Handshaker.java:2326)
at org.eclipse.californium.scandium.dtls.Handshaker.handshakeFailed(Handshaker.java:2257)
at org.eclipse.californium.scandium.DTLSConnector.lambda$getConnectionForNewClientHello$7(DTLSConnector.java:2490)
at org.eclipse.californium.elements.util.SerialExecutor.run(SerialExecutor.java:323)
at org.eclipse.californium.elements.util.SerialExecutor.lambda$scheduleNextJob$0(SerialExecutor.java:300)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)
The text was updated successfully, but these errors were encountered: