Open rsicarelli opened 2 years ago
Thanks for reporting. Will try to investigate this soon.
It shouldn't fail with the NullPointerException
, so I will look into that, but the stacktrace eludes to the fact that maybe your scope
is cancelling in the middle of the scan process?
It shouldn't fail with the
NullPointerException
, so I will look into that, but the stacktrace eludes to the fact that maybe yourscope
is cancelling in the middle of the scan process?
Yeah you might be correct. I had two different scopes for scanning and connection. After unifying them, the crash is gone.
Not sure if this issue is still relevant, feel free to close if you wish 👍
Not sure if this issue is still relevant, feel free to close if wish 👍
I'll close out after I look into if there is a way Kable could throw a more informative failure in the situation you hit. Thanks for reporting, and following up with how you resolved the issue. 👍
After successfully scan and find an advertisement, trying to get the peripheral throws a
NullPointerException
:Stacktrace:
Configuration:
Name: OnePlus 6 Version: 11
Name: Xiaomi Readmi9T Version: 11
Kable version:
0.17.1
More details