Browse Source
Leshan's NotificationDataStore.toKey() can throw NPE when the server reference is null during CoAP observe-relation cleanup on client shutdown (race condition). This NPE was caught by the outer try-catch in startUpdating(), which prevented leshanClient.start() from being called, leaving the simulated device stuck in UPDATING state and causing the awaitility timeout in the OTA integration test. Fix: wrap leshanClient.stop(false) in its own try-catch so that a Leshan internal exception during stop does not abort the subsequent client restart. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>pull/15216/head
1 changed files with 8 additions and 1 deletions
Loading…
Reference in new issue