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
NPE in ClientHandshaker.receivedHelloVerifyRequest #473
Comments
Hmm, it's really hard to imagine what causes this problem. As you already pointed out, there is basically no way that any of the objects at the indicated line of code is |
There must be SOME way... I have seen it twice already now. |
what is the scenario in which you use Cf? |
Race condition. I would guess, there are stop/start close to that exception.
If you restart because of "COMMUNICATION_ERRORS", but this may cause more problems, |
Scenario is IKEA Tradfri binding in Eclipse SmartHome (what else ;-)). Please note that this issue is not at all important for me - I only meant to report it as I came across this exception, but it happens seldomly enough to not cause any issue for me. |
@boaks A race condition indeed sounds likely as I have seen it right after re-establishing a connection. |
I still miss the information, how long californium runs with the tradfri gateway, until restarts are required or executors are shutdown. I've implemented a small californium pure client, which was running over a night without any issue. So, is information about MTBF available? |
I've just finished a major refactoring (and adaption to the new Tradfri firmware authentication requirements), see eclipse-archived/smarthome#4530 and eclipse-archived/smarthome#4486 and will push this out to the openHAB community tonight - we will then see whether there are still any "failures after hours without touching anything". The debug logging is in place then as well. No worries, you will hear from me, if there are any news :-) |
@kaikreuzer |
Fix issue eclipse-californium#473 Signed-off-by: Achim Kraus <achim.kraus@bosch-si.com>
Fix issue eclipse-californium#473 Signed-off-by: Achim Kraus <achim.kraus@bosch-si.com>
Fix issue eclipse-californium#473 Signed-off-by: Achim Kraus <achim.kraus@bosch-si.com>
Fix issue eclipse-californium#473 Signed-off-by: Achim Kraus <achim.kraus@bosch-si.com>
Fix issue eclipse-californium#473 Signed-off-by: Achim Kraus <achim.kraus@bosch-si.com>
Fix issue eclipse-californium#473. Remove send worker and outboundMessages. Signed-off-by: Achim Kraus <achim.kraus@bosch-si.com>
Fix issue #473. Remove send worker and outboundMessages. Signed-off-by: Achim Kraus <achim.kraus@bosch-si.com>
Fix issue #473. Remove send worker and outboundMessages. Signed-off-by: Achim Kraus <achim.kraus@bosch-si.com>
Fix issue eclipse-californium#473 Signed-off-by: Achim Kraus <achim.kraus@bosch-si.com>
Fix issue #473 Signed-off-by: Achim Kraus <achim.kraus@bosch-si.com>
@kaikreuzer |
If a 1.0.7 release help to make progress, just open a new issue. |
Thanks @boaks! |
I just had this exception in my logs, using Californium 1.0.6:
I cannot really give you code on how to reproduce it, but it certainly looks like a bug as an NPE should happen in no situation here.
Checking the code base, it also seems that 2.x still looks the same, so although I am using 1.0.6 I would assume that the issue still exists.
The text was updated successfully, but these errors were encountered: