-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[BUG] crash NsdServiceFinderAndResolver.onServiceFound throw java.lang.NullPointerException #29040
Comments
@netscell |
encounter this crash when stress testing with a matter light bulb: |
I faced the same issue, the sdk version I used is 1.2.0 |
I have faced same issue with the sdk 1.2.0, advise me how to this solve. --------- beginning of crash |
Reproduction steps
control device occurs crash sometime ,the android log :
java.lang.NullPointerException: Attempt to invoke interface method 'boolean java.util.concurrent.ScheduledFuture.cancel(boolean)' on a null object reference
at chip.platform.NsdServiceFinderAndResolver.onServiceFound(NsdServiceFinderAndResolver.java:102)
at android.net.nsd.NsdManager$ServiceHandler.lambda$handleMessage$2(NsdManager.java:696)
at android.net.nsd.NsdManager$ServiceHandler$$ExternalSyntheticLambda4.run(Unknown Source:4)
at android.net.nsd.NsdManager$$ExternalSyntheticLambda0.execute(Unknown Source:0)
at android.net.nsd.NsdManager$ServiceHandler.handleMessage(NsdManager.java:696)
at android.os.Handler.dispatchMessage(Handler.java:109)
at android.os.Looper.loopOnce(Looper.java:206)
at android.os.Looper.loop(Looper.java:296)
at android.os.HandlerThread.run(HandlerThread.java:67)
-loghandler
Bug prevalence
1-2times a day
GitHub hash of the SDK that was being used
sdk version 1.0.0.2
Platform
android
Platform Version(s)
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: