Skip to content
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

调用startScanAndConnect时当扫描不到任何设备会发生崩溃 #28

Closed
martinchengs opened this issue Feb 27, 2024 · 1 comment
Closed

Comments

@martinchengs
Copy link

java.lang.NullPointerException
                                                                      	at com.bhm.ble.request.base.BleRequestImp$startScanAndConnect$1.invokeSuspend(BleRequestImp.kt:168)
                                                                      	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
                                                                      	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
                                                                      	at android.os.Handler.handleCallback(Handler.java:942)
                                                                      	at android.os.Handler.dispatchMessage(Handler.java:99)
                                                                      	at android.os.Looper.loopOnce(Looper.java:210)
                                                                      	at android.os.Looper.loop(Looper.java:299)
                                                                      	at android.app.ActivityThread.main(ActivityThread.java:8261)
                                                                      	at java.lang.reflect.Method.invoke(Native Method)
                                                                      	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:559)
                                                                      	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:954)
                                                                      	Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@bdbbac5, Dispatchers.Main]
@buhuiming
Copy link
Owner

已修复,v1.9.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants