Aias00 opened a new issue, #6747: URL: https://github.com/apache/shenyu/issues/6747
- severity: Medium - files: `shenyu-protocol/shenyu-protocol-mqtt/src/main/java/org/apache/shenyu/protocol/mqtt/MqttBootstrapServer.java:57-79` - description: `start()` catches `InterruptedException` from `bootstrap.bind(...).sync()` and does nothing (no log, no interrupt-flag restore, no cleanup). If bind fails, `future` stays null. `shutdown()` calls `future.channel().close()` → NPE on `future`. - impact: Failed/incomplete start leads to NPE on shutdown and leaked event-loop groups; interrupt status lost. - suggested_fix: Null-check `future`/groups in shutdown; on bind failure dispose groups and re-interrupt. - confidence: Medium - related_existing: none --- _Identified during the 2026-08-02 deep re-scan; full list in [`docs/scan2-2026-08-02/06-medium-tiers.md`](docs/scan2-2026-08-02/06-medium-tiers.md)._ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
