-
Notifications
You must be signed in to change notification settings - Fork 8
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
java.lang.IllegalArgumentException: listener not registered #40
Comments
Thanks for the report. I need more info. What plugin version? Android version? When did it happen? Is this the full stacktrace? how to reproduce? |
Hi Nimrodd, Same problem to me: Plugin version: Private fork based on current master branch ( because current 1.3.3 does not have kotlin_version update ) Code to repoduce ( basic example )
|
@vladotesanovic can you try the fix from this commit and tell me if it helps? |
E/AndroidRuntime( 553): FATAL EXCEPTION: NsdManager
E/AndroidRuntime( 553): Process: vip.mymei.remote, PID: 553
E/AndroidRuntime( 553): java.lang.IllegalArgumentException: listener not registered
E/AndroidRuntime( 553): at com.android.internal.util.Preconditions.checkArgument(Preconditions.java:59)
E/AndroidRuntime( 553): at android.net.nsd.NsdManager.getListenerKey(NsdManager.java:496)
E/AndroidRuntime( 553): at android.net.nsd.NsdManager.stopServiceDiscovery(NsdManager.java:636)
E/AndroidRuntime( 553): at com.nimroddayan.flutternsd.FlutterNsdPlugin$discoveryListener$1.onStartDiscoveryFailed(FlutterNsdPlugin.kt:195)
E/AndroidRuntime( 553): at android.net.nsd.NsdManager$ServiceHandler.handleMessage(NsdManager.java:412)
E/AndroidRuntime( 553): at android.os.Handler.dispatchMessage(Handler.java:106)
E/AndroidRuntime( 553): at android.os.Looper.loopOnce(Looper.java:233)
E/AndroidRuntime( 553): at android.os.Looper.loop(Looper.java:334)
E/AndroidRuntime( 553): at android.os.HandlerThread.run(HandlerThread.java:67)
I/Process ( 553): Sending signal. PID: 553 SIG: 9
The text was updated successfully, but these errors were encountered: