zcbbpo opened a new issue #9765: URL: https://github.com/apache/dubbo/issues/9765
Hi, The telnet dubbo will throw class cast exception ### Environment * Dubbo version: 2.7.13 * Operating System version: mac os 12.2 * Java version: 1.8 ### Steps to reproduce this issue 1. enable qos 2. open cmd and type telnet ip port 3. type ls The console display class cast exception  I have debug and see the source _code: org.apache.dubbo.qos.command.util.ServiceCheckUtils#isRegistered and find  org.apache.dubbo.registry.client.ServiceDiscoveryRegistry was not extend org.apache.dubbo.registry.support.AbstractRegistry So `AbstractRegistry abstractRegistry = (AbstractRegistry) registries.iterator().next()` this code will throws class cast exception -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
