-
Notifications
You must be signed in to change notification settings - Fork 90
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
NullPointerException when getting an Android peripheral from an advertisement #332
Comments
Thanks for reporting. Will try to investigate this soon. |
It shouldn't fail with the |
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 👍 |
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. |
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
The text was updated successfully, but these errors were encountered: