Android-nRF-Mesh-Library: Crash app in sendBlockAck
Describe the bug
When the library receives a segmented message that needs a block ack from an unknown node, the app will crash due to a NullPointerException.
To Reproduce Steps to reproduce the behavior:
- provision two nodes to the network
- manually delete one node from the database without sending a
ConfigNodeReset - connect to the second node of this network
- make the first node to send a message that makes the library to trigger block ack answer
Expected behavior Probably log some warning that the node is unknown instead of trying to send a block ack ?
Platform details:
- Device: Any
- OS: Android 8.0
- Library Version 3.1.6
Logs / Screenshots

About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 17 (7 by maintainers)
I gave this a test now and I am not able to reproduce this, I used the mesh chat example from the nRF Connect SDK where you can send a long message to a specific node. The fix from #461 have solved the issue in my humble opinion.