ApacheDubboServiceBeanListener Cannot invoke "org.apache.dubbo.config.ProtocolConfig.getName()" because the return value of "org.apache.dubbo.config.spring.ServiceBean.getProtocol()" is null
Environment
ShenYu version(s):2.6.0
Debug logs
E:\app\Java\jdk-17\bin\java.exe -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:57720,suspend=y,server=n --add-opens java.base/java.lang=ALL-UNNAMED -Djdk.tls.rejectClientInitiatedRenegotiation=true -Dzookeeper.sasl.client=false -javaagent:C:\Users\jack\AppData\Local\JetBrains\IdeaIC2022.3\captureAgent\debugger-agent.jar=file:/C:/Users/jack/AppData/Local/Temp/capture.props -Dfile.encoding=UTF-8 -classpath C:\Users\jack\AppData\Local\Temp\classpath1268024960.jar com.demo.account.AccountApplication
Connected to the target VM, address: '127.0.0.1:57720', transport: 'socket'
2024-01-01T11:37:36.449+08:00 INFO 2576 --- [samplesAccount] [ main] d.s.b.c.e.WelcomeLogoApplicationListener : [DUBBO]
:: Dubbo (v3.2.10) : https://github.com/apache/dubbo
:: Discuss group : dev@dubbo.apache.org
, dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:36.686+08:00 INFO 2576 --- [samplesAccount] [ main] c.c.f.f.i.p.DefaultApplicationProvider : App ID is set to SampleApp by app.id property from System Property
2024-01-01T11:37:36.690+08:00 WARN 2576 --- [samplesAccount] [ main] c.c.f.f.i.p.DefaultApplicationProvider : app.label is not available from System Property and /META-INF/app.properties. It is set to null
2024-01-01T11:37:36.690+08:00 INFO 2576 --- [samplesAccount] [ main] c.c.f.f.i.p.DefaultServerProvider : Environment is set to null. Because it is not available in either (1) JVM system property 'env', (2) OS env variable 'ENV' nor (3) property 'env' from the properties InputStream.
2024-01-01T11:37:36.691+08:00 INFO 2576 --- [samplesAccount] [ main] c.c.f.a.internals.ConfigServiceLocator : Located config services from apollo.config-service configuration: http://192.168.1.101:8080, will not refresh config services from remote meta service!
2024-01-01T11:37:36.718+08:00 INFO 2576 --- [samplesAccount] [ main] com.demo.account.AccountApplication : Starting AccountApplication using Java 17.0.9 with PID 2576 (E:\SpringProject\demo-dubbo\samples-account\target\classes started by jack in E:\SpringProject\demo-dubbo)
2024-01-01T11:37:36.724+08:00 INFO 2576 --- [samplesAccount] [ main] com.demo.account.AccountApplication : No active profile set, falling back to 1 default profile: "default"
2024-01-01T11:37:37.806+08:00 INFO 2576 --- [samplesAccount] [ main] i.ApolloClientExtensionInitializeFactory : apollo client extension is not configured, default to disabled
2024-01-01T11:37:39.404+08:00 INFO 2576 --- [samplesAccount] [ main] o.apache.dubbo.rpc.model.FrameworkModel : [DUBBO] Dubbo Framework[1] is created, dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:39.438+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.r.GlobalResourcesRepository : [DUBBO] Creating global shared handler ..., dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:39.628+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.dubbo.rpc.model.ApplicationModel : [DUBBO] Dubbo Application1.0 is created, dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:39.630+08:00 INFO 2576 --- [samplesAccount] [ main] org.apache.dubbo.rpc.model.ScopeModel : [DUBBO] Dubbo Module[1.0.0] is created, dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:39.678+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.context.AbstractConfigManager : [DUBBO] Config settings: {dubbo.config.mode=STRICT, dubbo.config.ignore-duplicated-interface=false}, dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:39.680+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.context.AbstractConfigManager : [DUBBO] Config settings: {dubbo.config.mode=STRICT, dubbo.config.ignore-duplicated-interface=false}, dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:39.703+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.utils.SerializeSecurityManager : [DUBBO] Serialize check serializable: true, dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:39.704+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.u.SerializeSecurityConfigurator : [DUBBO] Read serialize allow list from jar:file:/E:/maven-3.9.6/repository/org/apache/dubbo/dubbo/3.2.10/dubbo-3.2.10.jar!/security/serialize.allowlist, dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:39.756+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.u.SerializeSecurityConfigurator : [DUBBO] Read serialize blocked list from jar:file:/E:/maven-3.9.6/repository/org/apache/dubbo/dubbo/3.2.10/dubbo-3.2.10.jar!/security/serialize.blockedlist, dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:40.155+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.dubbo.rpc.model.ApplicationModel : [DUBBO] Dubbo Application1.1 is created, dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:40.157+08:00 INFO 2576 --- [samplesAccount] [ main] org.apache.dubbo.rpc.model.ScopeModel : [DUBBO] Dubbo Module[1.1.0] is created, dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:40.189+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.context.AbstractConfigManager : [DUBBO] Config settings: {dubbo.config.mode=STRICT, dubbo.config.ignore-duplicated-interface=false}, dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:40.189+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.context.AbstractConfigManager : [DUBBO] Config settings: {dubbo.config.mode=STRICT, dubbo.config.ignore-duplicated-interface=false}, dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:40.230+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.u.SerializeSecurityConfigurator : [DUBBO] Read serialize allow list from jar:file:/E:/maven-3.9.6/repository/org/apache/dubbo/dubbo/3.2.10/dubbo-3.2.10.jar!/security/serialize.allowlist, dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:40.231+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.u.SerializeSecurityConfigurator : [DUBBO] Read serialize blocked list from jar:file:/E:/maven-3.9.6/repository/org/apache/dubbo/dubbo/3.2.10/dubbo-3.2.10.jar!/security/serialize.blockedlist, dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:40.280+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.s.c.DubboSpringInitializer : [DUBBO] Use default application: Dubbo Application1.1, dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:40.280+08:00 INFO 2576 --- [samplesAccount] [ main] org.apache.dubbo.rpc.model.ScopeModel : [DUBBO] Dubbo Module[1.1.1] is created, dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:40.292+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.context.AbstractConfigManager : [DUBBO] Config settings: {dubbo.config.mode=STRICT, dubbo.config.ignore-duplicated-interface=false}, dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:40.299+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.u.SerializeSecurityConfigurator : [DUBBO] Read serialize allow list from jar:file:/E:/maven-3.9.6/repository/org/apache/dubbo/dubbo/3.2.10/dubbo-3.2.10.jar!/security/serialize.allowlist, dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:40.299+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.u.SerializeSecurityConfigurator : [DUBBO] Read serialize blocked list from jar:file:/E:/maven-3.9.6/repository/org/apache/dubbo/dubbo/3.2.10/dubbo-3.2.10.jar!/security/serialize.blockedlist, dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:40.304+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.s.c.DubboSpringInitializer : [DUBBO] Use default module model of target application: Dubbo Module[1.1.1], dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:40.304+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.s.c.DubboSpringInitializer : [DUBBO] Bind Dubbo Module[1.1.1] to spring container: org.springframework.beans.factory.support.DefaultListableBeanFactory@65d57e4e, dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:41.086+08:00 INFO 2576 --- [samplesAccount] [ main] c.s.b.f.a.ServiceAnnotationPostProcessor : [DUBBO] BeanNameGenerator bean can't be found in BeanFactory with name [org.springframework.context.annotation.internalConfigurationBeanNameGenerator], dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:41.087+08:00 INFO 2576 --- [samplesAccount] [ main] c.s.b.f.a.ServiceAnnotationPostProcessor : [DUBBO] BeanNameGenerator will be a instance of org.springframework.context.annotation.AnnotationBeanNameGenerator , it maybe a potential problem on bean name generation., dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:41.094+08:00 INFO 2576 --- [samplesAccount] [ main] c.s.b.f.a.ServiceAnnotationPostProcessor : [DUBBO] Found 1 classes annotated by Dubbo @Service under package [com.demo.account]: [com.demo.account.service.impl.TAccountServiceImpl], dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:41.132+08:00 INFO 2576 --- [samplesAccount] [ main] c.s.b.f.a.ServiceAnnotationPostProcessor : [DUBBO] Register ServiceBean[ServiceBean:com.demo.service.account.ITAccountService::]: Root bean: class [org.apache.dubbo.config.spring.ServiceBean]; scope=; abstract=false; lazyInit=null; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodNames=null; destroyMethodNames=null, dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:41.134+08:00 INFO 2576 --- [samplesAccount] [ main] c.s.b.f.a.ServiceAnnotationPostProcessor : [DUBBO] BeanNameGenerator bean can't be found in BeanFactory with name [org.springframework.context.annotation.internalConfigurationBeanNameGenerator], dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:41.135+08:00 INFO 2576 --- [samplesAccount] [ main] c.s.b.f.a.ServiceAnnotationPostProcessor : [DUBBO] BeanNameGenerator will be a instance of org.springframework.context.annotation.AnnotationBeanNameGenerator , it maybe a potential problem on bean name generation., dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:41.135+08:00 INFO 2576 --- [samplesAccount] [ main] c.s.b.f.a.ServiceAnnotationPostProcessor : [DUBBO] Ignore package who has already bean scanned: com.demo.account.service.impl, dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:41.173+08:00 WARN 2576 --- [samplesAccount] [ main] o.s.c.a.ConfigurationClassPostProcessor : Cannot enhance @Configuration bean definition 'org.apache.dubbo.spring.boot.autoconfigure.DubboRelaxedBinding2AutoConfiguration' since its singleton instance has been created too early. The typical cause is a non-static @Bean method with a BeanDefinitionRegistryPostProcessor return type: Consider declaring such methods as 'static' and/or marking the containing configuration class as 'proxyBeanMethods=false'.
2024-01-01T11:37:41.177+08:00 WARN 2576 --- [samplesAccount] [ main] o.s.c.a.ConfigurationClassPostProcessor : Cannot enhance @Configuration bean definition 'org.apache.dubbo.spring.boot.autoconfigure.DubboAutoConfiguration' since its singleton instance has been created too early. The typical cause is a non-static @Bean method with a BeanDefinitionRegistryPostProcessor return type: Consider declaring such methods as 'static' and/or marking the containing configuration class as 'proxyBeanMethods=false'.
2024-01-01T11:37:42.158+08:00 INFO 2576 --- [samplesAccount] [ main] f.a.ReferenceAnnotationBeanPostProcessor : [DUBBO] class org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor was destroying!, dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:43.880+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.s.c.DubboConfigBeanInitializer : [DUBBO] loading dubbo config beans ..., dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:43.883+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.s.c.DubboConfigBeanInitializer : [DUBBO] dubbo config beans are loaded., dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:44.064+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.d.DefaultApplicationDeployer : [DUBBO] No value is configured in the registry, the DynamicConfigurationFactory extension[name : zookeeper] supports as the config center, dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:44.067+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.d.DefaultApplicationDeployer : [DUBBO] The registry[] will be used as the config center, dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:44.120+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.d.DefaultApplicationDeployer : [DUBBO] use registry as config-center: , dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:44.413+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.c.f.imps.CuratorFrameworkImpl : Starting
2024-01-01T11:37:44.425+08:00 INFO 2576 --- [samplesAccount] [ main] org.apache.zookeeper.ZooKeeper : Client environment:zookeeper.version=3.8.3-6ad6d364c7c0bcf0de452d54ebefa3058098ab56, built on 2023-10-05 10:34 UTC
2024-01-01T11:37:44.425+08:00 INFO 2576 --- [samplesAccount] [ main] org.apache.zookeeper.ZooKeeper : Client environment:host.name=LAPTOP-UN4KU84F
2024-01-01T11:37:44.426+08:00 INFO 2576 --- [samplesAccount] [ main] org.apache.zookeeper.ZooKeeper : Client environment:java.version=17.0.9
2024-01-01T11:37:44.426+08:00 INFO 2576 --- [samplesAccount] [ main] org.apache.zookeeper.ZooKeeper : Client environment:java.vendor=Oracle Corporation
2024-01-01T11:37:44.426+08:00 INFO 2576 --- [samplesAccount] [ main] org.apache.zookeeper.ZooKeeper : Client environment:java.home=E:\app\Java\jdk-17
2024-01-01T11:37:44.426+08:00 INFO 2576 --- [samplesAccount] [ main] org.apache.zookeeper.ZooKeeper : Client environment:java.class.path=C:\Users\jack\AppData\Local\Temp\classpath1268024960.jar
2024-01-01T11:37:44.426+08:00 INFO 2576 --- [samplesAccount] [ main] org.apache.zookeeper.ZooKeeper : Client environment:java.library.path=E:\app\Java\jdk-17\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\Common Files\Oracle\Java\javapath;E:\app\Python\Python312\Scripts\;E:\app\Python\Python312\;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;E:\app\Java\jdk-17\bin;E:\app\Java\jdk-17\jre\bin;E:\maven-3.6.3\bin;E:\app\Git\cmd;E:\app\Xftp7\;C:\WINDOWS\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\Program Files\nodejs\;E:\app\NetSarang\Xftp 7\;E:\app\NetSarang\Xshell 7\;C:\Program Files\Google\Chrome\Application\chromedriver.exe;E:\gradle-8.5\bin;C:\Users\jack\AppData\Local\Microsoft\WindowsApps;C:\Users\jack\AppData\Roaming\npm;E:\app\WebStorm 2020.3.3\bin;;E:\app\PyCharm 2020.3.5\bin;;%GoLand%;E:\npm_repository\npm_global\node_modules;;E:\app\IntelliJ IDEA 2022.2.4\bin;;E:\app\IntelliJ IDEA Community Edition 2022.3.3\bin;;.
2024-01-01T11:37:44.426+08:00 INFO 2576 --- [samplesAccount] [ main] org.apache.zookeeper.ZooKeeper : Client environment:java.io.tmpdir=C:\Users\jack\AppData\Local\Temp\
2024-01-01T11:37:44.427+08:00 INFO 2576 --- [samplesAccount] [ main] org.apache.zookeeper.ZooKeeper : Client environment:java.compiler=
2024-01-01T11:37:44.427+08:00 INFO 2576 --- [samplesAccount] [ main] org.apache.zookeeper.ZooKeeper : Client environment:os.name=Windows 10
2024-01-01T11:37:44.427+08:00 INFO 2576 --- [samplesAccount] [ main] org.apache.zookeeper.ZooKeeper : Client environment:os.arch=amd64
2024-01-01T11:37:44.427+08:00 INFO 2576 --- [samplesAccount] [ main] org.apache.zookeeper.ZooKeeper : Client environment:os.version=10.0
2024-01-01T11:37:44.427+08:00 INFO 2576 --- [samplesAccount] [ main] org.apache.zookeeper.ZooKeeper : Client environment:user.name=jack
2024-01-01T11:37:44.427+08:00 INFO 2576 --- [samplesAccount] [ main] org.apache.zookeeper.ZooKeeper : Client environment:user.home=C:\Users\jack
2024-01-01T11:37:44.427+08:00 INFO 2576 --- [samplesAccount] [ main] org.apache.zookeeper.ZooKeeper : Client environment:user.dir=E:\SpringProject\demo-dubbo
2024-01-01T11:37:44.428+08:00 INFO 2576 --- [samplesAccount] [ main] org.apache.zookeeper.ZooKeeper : Client environment:os.memory.free=46MB
2024-01-01T11:37:44.428+08:00 INFO 2576 --- [samplesAccount] [ main] org.apache.zookeeper.ZooKeeper : Client environment:os.memory.max=2028MB
2024-01-01T11:37:44.428+08:00 INFO 2576 --- [samplesAccount] [ main] org.apache.zookeeper.ZooKeeper : Client environment:os.memory.total=84MB
2024-01-01T11:37:44.435+08:00 INFO 2576 --- [samplesAccount] [ main] org.apache.zookeeper.ZooKeeper : Initiating client connection, connectString=192.168.1.101:2181 sessionTimeout=60000 watcher=org.apache.curator.ConnectionState@237aa0c7
2024-01-01T11:37:44.611+08:00 INFO 2576 --- [samplesAccount] [ main] org.apache.zookeeper.ClientCnxnSocket : jute.maxbuffer value is 1048575 Bytes
2024-01-01T11:37:44.627+08:00 INFO 2576 --- [samplesAccount] [ main] org.apache.zookeeper.ClientCnxn : zookeeper.request.timeout value is 0. feature enabled=false
2024-01-01T11:37:44.631+08:00 INFO 2576 --- [samplesAccount] [168.1.101:2181)] org.apache.zookeeper.ClientCnxn : Opening socket connection to server /192.168.1.101:2181.
2024-01-01T11:37:44.639+08:00 INFO 2576 --- [samplesAccount] [168.1.101:2181)] org.apache.zookeeper.ClientCnxn : Socket connection established, initiating session, client: /192.168.1.103:57728, server: /192.168.1.101:2181
2024-01-01T11:37:44.657+08:00 INFO 2576 --- [samplesAccount] [168.1.101:2181)] org.apache.zookeeper.ClientCnxn : Session establishment complete on server /192.168.1.101:2181, session id = 0x1000001825d0026, negotiated timeout = 40000
2024-01-01T11:37:44.657+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.c.f.imps.CuratorFrameworkImpl : Default schema
2024-01-01T11:37:44.673+08:00 INFO 2576 --- [samplesAccount] [ain-EventThread] o.a.c.f.state.ConnectionStateManager : State change: CONNECTED
2024-01-01T11:37:44.678+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.r.zookeeper.ZookeeperTransporter : [DUBBO] No valid zookeeper client found from cache, therefore create a new client for url. zookeeper://192.168.1.101:2181/org.apache.dubbo.config.ConfigCenterConfig?check=true&config-file=dubbo.properties&group=demo-group&highest-priority=false&namespace=demo-group&timeout=30000, dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:44.687+08:00 INFO 2576 --- [samplesAccount] [nStateManager-0] o.a.d.r.z.c.Curator5ZookeeperClient : [DUBBO] Curator zookeeper client instance initiated successfully, session id is 1000001825d0026, dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:44.701+08:00 INFO 2576 --- [samplesAccount] [ain-EventThread] o.a.c.framework.imps.EnsembleTracker : New config event received: {}
2024-01-01T11:37:44.702+08:00 INFO 2576 --- [samplesAccount] [ain-EventThread] o.a.c.framework.imps.EnsembleTracker : New config event received: {}
2024-01-01T11:37:44.736+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.common.config.ConfigurationUtils : [DUBBO] Config center was specified, but no config item found., dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:44.736+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.common.config.ConfigurationUtils : [DUBBO] Config center was specified, but no config item found., dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:44.770+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.dubbo.config.context.ConfigManager : [DUBBO] The current configurations or effective configurations are as follows:, dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:44.771+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.dubbo.config.context.ConfigManager : [DUBBO] , dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:44.772+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.dubbo.config.context.ConfigManager : [DUBBO] , dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:44.772+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.dubbo.config.context.ConfigManager : [DUBBO] , dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:44.772+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.dubbo.config.context.ConfigManager : [DUBBO] , dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:44.811+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.deploy.DefaultModuleDeployer : [DUBBO] Dubbo Module[1.1.0] has been initialized!, dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:44.820+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.deploy.DefaultModuleDeployer : [DUBBO] Dubbo Module[1.1.1] has been initialized!, dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:44.849+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.d.DefaultApplicationDeployer : [DUBBO] No value is configured in the registry, the MetadataReportFactory extension[name : zookeeper] supports as the metadata center, dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:44.849+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.d.DefaultApplicationDeployer : [DUBBO] The registry[] will be used as the metadata center, dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:44.864+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.d.DefaultApplicationDeployer : [DUBBO] use registry as metadata-center: , dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:45.271+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.r.zookeeper.ZookeeperTransporter : [DUBBO] find valid zookeeper client from the cache for address: zookeeper://192.168.1.101:2181/org.apache.dubbo.metadata.report.MetadataReport?application=samplesAccount&client=&file-cache=true&group=demo-group&port=2181&protocol=zookeeper&timeout=30000, dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:45.271+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.d.DefaultApplicationDeployer : [DUBBO] Dubbo Application1.1 has been initialized!, dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:45.414+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.s.c.c.s.ShenyuClientShutdownHook : Add hook ShenyuClientShutdownHook-1
2024-01-01T11:37:47.683+08:00 INFO 2576 --- [samplesAccount] [ main] o.s.b.web.embedded.netty.NettyWebServer : Netty started on port 8080
2024-01-01T11:38:11.669+08:00 ERROR 2576 --- [samplesAccount] [torconsumer-9] .c.d.s.ShenyuClientURIExecutorSubscriber : host:192.168.1.103, port:20880 connection failed, will retry
2024-01-01T11:38:29.116+08:00 WARN 2576 --- [samplesAccount] [ main] onfigReactiveWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: java.lang.NullPointerException: Cannot invoke "org.apache.dubbo.config.ProtocolConfig.getName()" because the return value of "org.apache.dubbo.config.spring.ServiceBean.getProtocol()" is null
2024-01-01T11:38:31.163+08:00 ERROR 2576 --- [samplesAccount] [torconsumer-9] .c.d.s.ShenyuClientURIExecutorSubscriber : host:192.168.1.103, port:20880 connection failed, will retry
2024-01-01T11:38:31.218+08:00 INFO 2576 --- [samplesAccount] [ main] .s.b.a.l.ConditionEvaluationReportLogger :
Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
2024-01-01T11:38:31.265+08:00 ERROR 2576 --- [samplesAccount] [ main] o.s.boot.SpringApplication : Application run failed
java.lang.NullPointerException: Cannot invoke "org.apache.dubbo.config.ProtocolConfig.getName()" because the return value of "org.apache.dubbo.config.spring.ServiceBean.getProtocol()" is null
at org.apache.shenyu.client.apache.dubbo.ApacheDubboServiceBeanListener.buildRpcExt(ApacheDubboServiceBeanListener.java:211) ~[shenyu-client-apache-dubbo-2.6.0.jar:2.6.0]
at org.apache.shenyu.client.apache.dubbo.ApacheDubboServiceBeanListener.buildMetaDataDTO(ApacheDubboServiceBeanListener.java:192) ~[shenyu-client-apache-dubbo-2.6.0.jar:2.6.0]
at org.apache.shenyu.client.apache.dubbo.ApacheDubboServiceBeanListener.buildMetaDataDTO(ApacheDubboServiceBeanListener.java:58) ~[shenyu-client-apache-dubbo-2.6.0.jar:2.6.0]
at org.apache.shenyu.client.core.client.AbstractContextRefreshedEventListener.handleMethod(AbstractContextRefreshedEventListener.java:293) ~[shenyu-client-core-2.6.0.jar:2.6.0]
at org.apache.shenyu.client.core.client.AbstractContextRefreshedEventListener.handle(AbstractContextRefreshedEventListener.java:264) ~[shenyu-client-core-2.6.0.jar:2.6.0]
at java.base/java.util.LinkedHashMap.forEach(LinkedHashMap.java:721) ~[na:na]
at org.apache.shenyu.client.core.client.AbstractContextRefreshedEventListener.onApplicationEvent(AbstractContextRefreshedEventListener.java:135) ~[shenyu-client-core-2.6.0.jar:2.6.0]
at org.apache.shenyu.client.core.client.AbstractContextRefreshedEventListener.onApplicationEvent(AbstractContextRefreshedEventListener.java:75) ~[shenyu-client-core-2.6.0.jar:2.6.0]
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:178) ~[spring-context-6.1.2.jar:6.1.2]
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:171) ~[spring-context-6.1.2.jar:6.1.2]
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:149) ~[spring-context-6.1.2.jar:6.1.2]
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:451) ~[spring-context-6.1.2.jar:6.1.2]
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:384) ~[spring-context-6.1.2.jar:6.1.2]
at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:982) ~[spring-context-6.1.2.jar:6.1.2]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:628) ~[spring-context-6.1.2.jar:6.1.2]
at org.springframework.boot.web.reactive.context.ReactiveWebServerApplicationContext.refresh(ReactiveWebServerApplicationContext.java:66) ~[spring-boot-3.2.1.jar:3.2.1]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:762) ~[spring-boot-3.2.1.jar:3.2.1]
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:464) ~[spring-boot-3.2.1.jar:3.2.1]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:334) ~[spring-boot-3.2.1.jar:3.2.1]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1358) ~[spring-boot-3.2.1.jar:3.2.1]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1347) ~[spring-boot-3.2.1.jar:3.2.1]
at com.demo.account.AccountApplication.main(AccountApplication.java:15) ~[classes/:na]
Is there an existing issue for this?
Current Behavior
Unable to register Dubbo service to shenyu-admin normally.
Expected Behavior
I hope the Dubbo service can be successfully registered.
Steps To Reproduce
2.shenyu client config
3.run spring boot server
4.error
ApacheDubboServiceBeanListener Cannot invoke "org.apache.dubbo.config.ProtocolConfig.getName()" because the return value of "org.apache.dubbo.config.spring.ServiceBean.getProtocol()" is null
Environment
Debug logs
E:\app\Java\jdk-17\bin\java.exe -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:57720,suspend=y,server=n --add-opens java.base/java.lang=ALL-UNNAMED -Djdk.tls.rejectClientInitiatedRenegotiation=true -Dzookeeper.sasl.client=false -javaagent:C:\Users\jack\AppData\Local\JetBrains\IdeaIC2022.3\captureAgent\debugger-agent.jar=file:/C:/Users/jack/AppData/Local/Temp/capture.props -Dfile.encoding=UTF-8 -classpath C:\Users\jack\AppData\Local\Temp\classpath1268024960.jar com.demo.account.AccountApplication Connected to the target VM, address: '127.0.0.1:57720', transport: 'socket' 2024-01-01T11:37:36.449+08:00 INFO 2576 --- [samplesAccount] [ main] d.s.b.c.e.WelcomeLogoApplicationListener : [DUBBO]
:: Dubbo (v3.2.10) : https://github.com/apache/dubbo :: Discuss group : dev@dubbo.apache.org , dubbo version: 3.2.10, current host: 192.168.1.103
. _ _ /\ / '_ () \ \ \ \ ( ( )\ | ' | '| | ' \/ ` | \ \ \ \ \/ _)| |)| | | | | || (| | ) ) ) ) ' |__| .|| ||| |\, | / / / / =========|_|==============|__/=//// :: Spring Boot :: (v3.2.1)
2024-01-01T11:37:36.686+08:00 INFO 2576 --- [samplesAccount] [ main] c.c.f.f.i.p.DefaultApplicationProvider : App ID is set to SampleApp by app.id property from System Property 2024-01-01T11:37:36.690+08:00 WARN 2576 --- [samplesAccount] [ main] c.c.f.f.i.p.DefaultApplicationProvider : app.label is not available from System Property and /META-INF/app.properties. It is set to null 2024-01-01T11:37:36.690+08:00 INFO 2576 --- [samplesAccount] [ main] c.c.f.f.i.p.DefaultServerProvider : Environment is set to null. Because it is not available in either (1) JVM system property 'env', (2) OS env variable 'ENV' nor (3) property 'env' from the properties InputStream. 2024-01-01T11:37:36.691+08:00 INFO 2576 --- [samplesAccount] [ main] c.c.f.a.internals.ConfigServiceLocator : Located config services from apollo.config-service configuration: http://192.168.1.101:8080, will not refresh config services from remote meta service! 2024-01-01T11:37:36.718+08:00 INFO 2576 --- [samplesAccount] [ main] com.demo.account.AccountApplication : Starting AccountApplication using Java 17.0.9 with PID 2576 (E:\SpringProject\demo-dubbo\samples-account\target\classes started by jack in E:\SpringProject\demo-dubbo) 2024-01-01T11:37:36.724+08:00 INFO 2576 --- [samplesAccount] [ main] com.demo.account.AccountApplication : No active profile set, falling back to 1 default profile: "default" 2024-01-01T11:37:37.806+08:00 INFO 2576 --- [samplesAccount] [ main] i.ApolloClientExtensionInitializeFactory : apollo client extension is not configured, default to disabled 2024-01-01T11:37:39.404+08:00 INFO 2576 --- [samplesAccount] [ main] o.apache.dubbo.rpc.model.FrameworkModel : [DUBBO] Dubbo Framework[1] is created, dubbo version: 3.2.10, current host: 192.168.1.103 2024-01-01T11:37:39.438+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.r.GlobalResourcesRepository : [DUBBO] Creating global shared handler ..., dubbo version: 3.2.10, current host: 192.168.1.103 2024-01-01T11:37:39.628+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.dubbo.rpc.model.ApplicationModel : [DUBBO] Dubbo Application1.0 is created, dubbo version: 3.2.10, current host: 192.168.1.103 2024-01-01T11:37:39.630+08:00 INFO 2576 --- [samplesAccount] [ main] org.apache.dubbo.rpc.model.ScopeModel : [DUBBO] Dubbo Module[1.0.0] is created, dubbo version: 3.2.10, current host: 192.168.1.103 2024-01-01T11:37:39.678+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.context.AbstractConfigManager : [DUBBO] Config settings: {dubbo.config.mode=STRICT, dubbo.config.ignore-duplicated-interface=false}, dubbo version: 3.2.10, current host: 192.168.1.103 2024-01-01T11:37:39.680+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.context.AbstractConfigManager : [DUBBO] Config settings: {dubbo.config.mode=STRICT, dubbo.config.ignore-duplicated-interface=false}, dubbo version: 3.2.10, current host: 192.168.1.103 2024-01-01T11:37:39.703+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.utils.SerializeSecurityManager : [DUBBO] Serialize check serializable: true, dubbo version: 3.2.10, current host: 192.168.1.103 2024-01-01T11:37:39.704+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.u.SerializeSecurityConfigurator : [DUBBO] Read serialize allow list from jar:file:/E:/maven-3.9.6/repository/org/apache/dubbo/dubbo/3.2.10/dubbo-3.2.10.jar!/security/serialize.allowlist, dubbo version: 3.2.10, current host: 192.168.1.103 2024-01-01T11:37:39.756+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.u.SerializeSecurityConfigurator : [DUBBO] Read serialize blocked list from jar:file:/E:/maven-3.9.6/repository/org/apache/dubbo/dubbo/3.2.10/dubbo-3.2.10.jar!/security/serialize.blockedlist, dubbo version: 3.2.10, current host: 192.168.1.103 2024-01-01T11:37:40.155+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.dubbo.rpc.model.ApplicationModel : [DUBBO] Dubbo Application1.1 is created, dubbo version: 3.2.10, current host: 192.168.1.103 2024-01-01T11:37:40.157+08:00 INFO 2576 --- [samplesAccount] [ main] org.apache.dubbo.rpc.model.ScopeModel : [DUBBO] Dubbo Module[1.1.0] is created, dubbo version: 3.2.10, current host: 192.168.1.103 2024-01-01T11:37:40.189+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.context.AbstractConfigManager : [DUBBO] Config settings: {dubbo.config.mode=STRICT, dubbo.config.ignore-duplicated-interface=false}, dubbo version: 3.2.10, current host: 192.168.1.103 2024-01-01T11:37:40.189+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.context.AbstractConfigManager : [DUBBO] Config settings: {dubbo.config.mode=STRICT, dubbo.config.ignore-duplicated-interface=false}, dubbo version: 3.2.10, current host: 192.168.1.103 2024-01-01T11:37:40.230+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.u.SerializeSecurityConfigurator : [DUBBO] Read serialize allow list from jar:file:/E:/maven-3.9.6/repository/org/apache/dubbo/dubbo/3.2.10/dubbo-3.2.10.jar!/security/serialize.allowlist, dubbo version: 3.2.10, current host: 192.168.1.103 2024-01-01T11:37:40.231+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.u.SerializeSecurityConfigurator : [DUBBO] Read serialize blocked list from jar:file:/E:/maven-3.9.6/repository/org/apache/dubbo/dubbo/3.2.10/dubbo-3.2.10.jar!/security/serialize.blockedlist, dubbo version: 3.2.10, current host: 192.168.1.103 2024-01-01T11:37:40.280+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.s.c.DubboSpringInitializer : [DUBBO] Use default application: Dubbo Application1.1, dubbo version: 3.2.10, current host: 192.168.1.103 2024-01-01T11:37:40.280+08:00 INFO 2576 --- [samplesAccount] [ main] org.apache.dubbo.rpc.model.ScopeModel : [DUBBO] Dubbo Module[1.1.1] is created, dubbo version: 3.2.10, current host: 192.168.1.103 2024-01-01T11:37:40.292+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.context.AbstractConfigManager : [DUBBO] Config settings: {dubbo.config.mode=STRICT, dubbo.config.ignore-duplicated-interface=false}, dubbo version: 3.2.10, current host: 192.168.1.103 2024-01-01T11:37:40.299+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.u.SerializeSecurityConfigurator : [DUBBO] Read serialize allow list from jar:file:/E:/maven-3.9.6/repository/org/apache/dubbo/dubbo/3.2.10/dubbo-3.2.10.jar!/security/serialize.allowlist, dubbo version: 3.2.10, current host: 192.168.1.103 2024-01-01T11:37:40.299+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.u.SerializeSecurityConfigurator : [DUBBO] Read serialize blocked list from jar:file:/E:/maven-3.9.6/repository/org/apache/dubbo/dubbo/3.2.10/dubbo-3.2.10.jar!/security/serialize.blockedlist, dubbo version: 3.2.10, current host: 192.168.1.103 2024-01-01T11:37:40.304+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.s.c.DubboSpringInitializer : [DUBBO] Use default module model of target application: Dubbo Module[1.1.1], dubbo version: 3.2.10, current host: 192.168.1.103 2024-01-01T11:37:40.304+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.s.c.DubboSpringInitializer : [DUBBO] Bind Dubbo Module[1.1.1] to spring container: org.springframework.beans.factory.support.DefaultListableBeanFactory@65d57e4e, dubbo version: 3.2.10, current host: 192.168.1.103 2024-01-01T11:37:41.086+08:00 INFO 2576 --- [samplesAccount] [ main] c.s.b.f.a.ServiceAnnotationPostProcessor : [DUBBO] BeanNameGenerator bean can't be found in BeanFactory with name [org.springframework.context.annotation.internalConfigurationBeanNameGenerator], dubbo version: 3.2.10, current host: 192.168.1.103 2024-01-01T11:37:41.087+08:00 INFO 2576 --- [samplesAccount] [ main] c.s.b.f.a.ServiceAnnotationPostProcessor : [DUBBO] BeanNameGenerator will be a instance of org.springframework.context.annotation.AnnotationBeanNameGenerator , it maybe a potential problem on bean name generation., dubbo version: 3.2.10, current host: 192.168.1.103 2024-01-01T11:37:41.094+08:00 INFO 2576 --- [samplesAccount] [ main] c.s.b.f.a.ServiceAnnotationPostProcessor : [DUBBO] Found 1 classes annotated by Dubbo @Service under package [com.demo.account]: [com.demo.account.service.impl.TAccountServiceImpl], dubbo version: 3.2.10, current host: 192.168.1.103 2024-01-01T11:37:41.132+08:00 INFO 2576 --- [samplesAccount] [ main] c.s.b.f.a.ServiceAnnotationPostProcessor : [DUBBO] Register ServiceBean[ServiceBean:com.demo.service.account.ITAccountService::]: Root bean: class [org.apache.dubbo.config.spring.ServiceBean]; scope=; abstract=false; lazyInit=null; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodNames=null; destroyMethodNames=null, dubbo version: 3.2.10, current host: 192.168.1.103 2024-01-01T11:37:41.134+08:00 INFO 2576 --- [samplesAccount] [ main] c.s.b.f.a.ServiceAnnotationPostProcessor : [DUBBO] BeanNameGenerator bean can't be found in BeanFactory with name [org.springframework.context.annotation.internalConfigurationBeanNameGenerator], dubbo version: 3.2.10, current host: 192.168.1.103 2024-01-01T11:37:41.135+08:00 INFO 2576 --- [samplesAccount] [ main] c.s.b.f.a.ServiceAnnotationPostProcessor : [DUBBO] BeanNameGenerator will be a instance of org.springframework.context.annotation.AnnotationBeanNameGenerator , it maybe a potential problem on bean name generation., dubbo version: 3.2.10, current host: 192.168.1.103 2024-01-01T11:37:41.135+08:00 INFO 2576 --- [samplesAccount] [ main] c.s.b.f.a.ServiceAnnotationPostProcessor : [DUBBO] Ignore package who has already bean scanned: com.demo.account.service.impl, dubbo version: 3.2.10, current host: 192.168.1.103 2024-01-01T11:37:41.173+08:00 WARN 2576 --- [samplesAccount] [ main] o.s.c.a.ConfigurationClassPostProcessor : Cannot enhance @Configuration bean definition 'org.apache.dubbo.spring.boot.autoconfigure.DubboRelaxedBinding2AutoConfiguration' since its singleton instance has been created too early. The typical cause is a non-static @Bean method with a BeanDefinitionRegistryPostProcessor return type: Consider declaring such methods as 'static' and/or marking the containing configuration class as 'proxyBeanMethods=false'. 2024-01-01T11:37:41.177+08:00 WARN 2576 --- [samplesAccount] [ main] o.s.c.a.ConfigurationClassPostProcessor : Cannot enhance @Configuration bean definition 'org.apache.dubbo.spring.boot.autoconfigure.DubboAutoConfiguration' since its singleton instance has been created too early. The typical cause is a non-static @Bean method with a BeanDefinitionRegistryPostProcessor return type: Consider declaring such methods as 'static' and/or marking the containing configuration class as 'proxyBeanMethods=false'. 2024-01-01T11:37:42.158+08:00 INFO 2576 --- [samplesAccount] [ main] f.a.ReferenceAnnotationBeanPostProcessor : [DUBBO] class org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor was destroying!, dubbo version: 3.2.10, current host: 192.168.1.103 2024-01-01T11:37:43.880+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.s.c.DubboConfigBeanInitializer : [DUBBO] loading dubbo config beans ..., dubbo version: 3.2.10, current host: 192.168.1.103 2024-01-01T11:37:43.883+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.s.c.DubboConfigBeanInitializer : [DUBBO] dubbo config beans are loaded., dubbo version: 3.2.10, current host: 192.168.1.103 2024-01-01T11:37:44.064+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.d.DefaultApplicationDeployer : [DUBBO] No value is configured in the registry, the DynamicConfigurationFactory extension[name : zookeeper] supports as the config center, dubbo version: 3.2.10, current host: 192.168.1.103 2024-01-01T11:37:44.067+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.d.DefaultApplicationDeployer : [DUBBO] The registry[ ] will be used as the config center, dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:44.120+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.d.DefaultApplicationDeployer : [DUBBO] use registry as config-center: , dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:44.413+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.c.f.imps.CuratorFrameworkImpl : Starting
2024-01-01T11:37:44.425+08:00 INFO 2576 --- [samplesAccount] [ main] org.apache.zookeeper.ZooKeeper : Client environment:zookeeper.version=3.8.3-6ad6d364c7c0bcf0de452d54ebefa3058098ab56, built on 2023-10-05 10:34 UTC
2024-01-01T11:37:44.425+08:00 INFO 2576 --- [samplesAccount] [ main] org.apache.zookeeper.ZooKeeper : Client environment:host.name=LAPTOP-UN4KU84F
2024-01-01T11:37:44.426+08:00 INFO 2576 --- [samplesAccount] [ main] org.apache.zookeeper.ZooKeeper : Client environment:java.version=17.0.9
2024-01-01T11:37:44.426+08:00 INFO 2576 --- [samplesAccount] [ main] org.apache.zookeeper.ZooKeeper : Client environment:java.vendor=Oracle Corporation
2024-01-01T11:37:44.426+08:00 INFO 2576 --- [samplesAccount] [ main] org.apache.zookeeper.ZooKeeper : Client environment:java.home=E:\app\Java\jdk-17
2024-01-01T11:37:44.426+08:00 INFO 2576 --- [samplesAccount] [ main] org.apache.zookeeper.ZooKeeper : Client environment:java.class.path=C:\Users\jack\AppData\Local\Temp\classpath1268024960.jar
2024-01-01T11:37:44.426+08:00 INFO 2576 --- [samplesAccount] [ main] org.apache.zookeeper.ZooKeeper : Client environment:java.library.path=E:\app\Java\jdk-17\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\Common Files\Oracle\Java\javapath;E:\app\Python\Python312\Scripts\;E:\app\Python\Python312\;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;E:\app\Java\jdk-17\bin;E:\app\Java\jdk-17\jre\bin;E:\maven-3.6.3\bin;E:\app\Git\cmd;E:\app\Xftp7\;C:\WINDOWS\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\Program Files\nodejs\;E:\app\NetSarang\Xftp 7\;E:\app\NetSarang\Xshell 7\;C:\Program Files\Google\Chrome\Application\chromedriver.exe;E:\gradle-8.5\bin;C:\Users\jack\AppData\Local\Microsoft\WindowsApps;C:\Users\jack\AppData\Roaming\npm;E:\app\WebStorm 2020.3.3\bin;;E:\app\PyCharm 2020.3.5\bin;;%GoLand%;E:\npm_repository\npm_global\node_modules;;E:\app\IntelliJ IDEA 2022.2.4\bin;;E:\app\IntelliJ IDEA Community Edition 2022.3.3\bin;;.
2024-01-01T11:37:44.426+08:00 INFO 2576 --- [samplesAccount] [ main] org.apache.zookeeper.ZooKeeper : Client environment:java.io.tmpdir=C:\Users\jack\AppData\Local\Temp\
2024-01-01T11:37:44.427+08:00 INFO 2576 --- [samplesAccount] [ main] org.apache.zookeeper.ZooKeeper : Client environment:java.compiler=
2024-01-01T11:37:44.427+08:00 INFO 2576 --- [samplesAccount] [ main] org.apache.zookeeper.ZooKeeper : Client environment:os.name=Windows 10
2024-01-01T11:37:44.427+08:00 INFO 2576 --- [samplesAccount] [ main] org.apache.zookeeper.ZooKeeper : Client environment:os.arch=amd64
2024-01-01T11:37:44.427+08:00 INFO 2576 --- [samplesAccount] [ main] org.apache.zookeeper.ZooKeeper : Client environment:os.version=10.0
2024-01-01T11:37:44.427+08:00 INFO 2576 --- [samplesAccount] [ main] org.apache.zookeeper.ZooKeeper : Client environment:user.name=jack
2024-01-01T11:37:44.427+08:00 INFO 2576 --- [samplesAccount] [ main] org.apache.zookeeper.ZooKeeper : Client environment:user.home=C:\Users\jack
2024-01-01T11:37:44.427+08:00 INFO 2576 --- [samplesAccount] [ main] org.apache.zookeeper.ZooKeeper : Client environment:user.dir=E:\SpringProject\demo-dubbo
2024-01-01T11:37:44.428+08:00 INFO 2576 --- [samplesAccount] [ main] org.apache.zookeeper.ZooKeeper : Client environment:os.memory.free=46MB
2024-01-01T11:37:44.428+08:00 INFO 2576 --- [samplesAccount] [ main] org.apache.zookeeper.ZooKeeper : Client environment:os.memory.max=2028MB
2024-01-01T11:37:44.428+08:00 INFO 2576 --- [samplesAccount] [ main] org.apache.zookeeper.ZooKeeper : Client environment:os.memory.total=84MB
2024-01-01T11:37:44.435+08:00 INFO 2576 --- [samplesAccount] [ main] org.apache.zookeeper.ZooKeeper : Initiating client connection, connectString=192.168.1.101:2181 sessionTimeout=60000 watcher=org.apache.curator.ConnectionState@237aa0c7
2024-01-01T11:37:44.611+08:00 INFO 2576 --- [samplesAccount] [ main] org.apache.zookeeper.ClientCnxnSocket : jute.maxbuffer value is 1048575 Bytes
2024-01-01T11:37:44.627+08:00 INFO 2576 --- [samplesAccount] [ main] org.apache.zookeeper.ClientCnxn : zookeeper.request.timeout value is 0. feature enabled=false
2024-01-01T11:37:44.631+08:00 INFO 2576 --- [samplesAccount] [168.1.101:2181)] org.apache.zookeeper.ClientCnxn : Opening socket connection to server /192.168.1.101:2181.
2024-01-01T11:37:44.639+08:00 INFO 2576 --- [samplesAccount] [168.1.101:2181)] org.apache.zookeeper.ClientCnxn : Socket connection established, initiating session, client: /192.168.1.103:57728, server: /192.168.1.101:2181
2024-01-01T11:37:44.657+08:00 INFO 2576 --- [samplesAccount] [168.1.101:2181)] org.apache.zookeeper.ClientCnxn : Session establishment complete on server /192.168.1.101:2181, session id = 0x1000001825d0026, negotiated timeout = 40000
2024-01-01T11:37:44.657+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.c.f.imps.CuratorFrameworkImpl : Default schema
2024-01-01T11:37:44.673+08:00 INFO 2576 --- [samplesAccount] [ain-EventThread] o.a.c.f.state.ConnectionStateManager : State change: CONNECTED
2024-01-01T11:37:44.678+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.r.zookeeper.ZookeeperTransporter : [DUBBO] No valid zookeeper client found from cache, therefore create a new client for url. zookeeper://192.168.1.101:2181/org.apache.dubbo.config.ConfigCenterConfig?check=true&config-file=dubbo.properties&group=demo-group&highest-priority=false&namespace=demo-group&timeout=30000, dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:44.687+08:00 INFO 2576 --- [samplesAccount] [nStateManager-0] o.a.d.r.z.c.Curator5ZookeeperClient : [DUBBO] Curator zookeeper client instance initiated successfully, session id is 1000001825d0026, dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:44.701+08:00 INFO 2576 --- [samplesAccount] [ain-EventThread] o.a.c.framework.imps.EnsembleTracker : New config event received: {}
2024-01-01T11:37:44.702+08:00 INFO 2576 --- [samplesAccount] [ain-EventThread] o.a.c.framework.imps.EnsembleTracker : New config event received: {}
2024-01-01T11:37:44.736+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.common.config.ConfigurationUtils : [DUBBO] Config center was specified, but no config item found., dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:44.736+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.common.config.ConfigurationUtils : [DUBBO] Config center was specified, but no config item found., dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:44.770+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.dubbo.config.context.ConfigManager : [DUBBO] The current configurations or effective configurations are as follows:, dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:44.771+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.dubbo.config.context.ConfigManager : [DUBBO] , dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:44.772+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.dubbo.config.context.ConfigManager : [DUBBO] , dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:44.772+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.dubbo.config.context.ConfigManager : [DUBBO] , dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:44.772+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.dubbo.config.context.ConfigManager : [DUBBO] , dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:44.811+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.deploy.DefaultModuleDeployer : [DUBBO] Dubbo Module[1.1.0] has been initialized!, dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:44.820+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.deploy.DefaultModuleDeployer : [DUBBO] Dubbo Module[1.1.1] has been initialized!, dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:44.849+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.d.DefaultApplicationDeployer : [DUBBO] No value is configured in the registry, the MetadataReportFactory extension[name : zookeeper] supports as the metadata center, dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:44.849+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.d.DefaultApplicationDeployer : [DUBBO] The registry[ ] will be used as the metadata center, dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:44.864+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.d.DefaultApplicationDeployer : [DUBBO] use registry as metadata-center: , dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:45.271+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.r.zookeeper.ZookeeperTransporter : [DUBBO] find valid zookeeper client from the cache for address: zookeeper://192.168.1.101:2181/org.apache.dubbo.metadata.report.MetadataReport?application=samplesAccount&client=&file-cache=true&group=demo-group&port=2181&protocol=zookeeper&timeout=30000, dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:45.271+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.d.c.d.DefaultApplicationDeployer : [DUBBO] Dubbo Application1.1 has been initialized!, dubbo version: 3.2.10, current host: 192.168.1.103
2024-01-01T11:37:45.414+08:00 INFO 2576 --- [samplesAccount] [ main] o.a.s.c.c.s.ShenyuClientShutdownHook : Add hook ShenyuClientShutdownHook-1
2024-01-01T11:37:47.683+08:00 INFO 2576 --- [samplesAccount] [ main] o.s.b.web.embedded.netty.NettyWebServer : Netty started on port 8080
2024-01-01T11:38:11.669+08:00 ERROR 2576 --- [samplesAccount] [torconsumer-9] .c.d.s.ShenyuClientURIExecutorSubscriber : host:192.168.1.103, port:20880 connection failed, will retry
2024-01-01T11:38:29.116+08:00 WARN 2576 --- [samplesAccount] [ main] onfigReactiveWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: java.lang.NullPointerException: Cannot invoke "org.apache.dubbo.config.ProtocolConfig.getName()" because the return value of "org.apache.dubbo.config.spring.ServiceBean.getProtocol()" is null
2024-01-01T11:38:31.163+08:00 ERROR 2576 --- [samplesAccount] [torconsumer-9] .c.d.s.ShenyuClientURIExecutorSubscriber : host:192.168.1.103, port:20880 connection failed, will retry
2024-01-01T11:38:31.218+08:00 INFO 2576 --- [samplesAccount] [ main] .s.b.a.l.ConditionEvaluationReportLogger :
Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled. 2024-01-01T11:38:31.265+08:00 ERROR 2576 --- [samplesAccount] [ main] o.s.boot.SpringApplication : Application run failed
java.lang.NullPointerException: Cannot invoke "org.apache.dubbo.config.ProtocolConfig.getName()" because the return value of "org.apache.dubbo.config.spring.ServiceBean.getProtocol()" is null at org.apache.shenyu.client.apache.dubbo.ApacheDubboServiceBeanListener.buildRpcExt(ApacheDubboServiceBeanListener.java:211) ~[shenyu-client-apache-dubbo-2.6.0.jar:2.6.0] at org.apache.shenyu.client.apache.dubbo.ApacheDubboServiceBeanListener.buildMetaDataDTO(ApacheDubboServiceBeanListener.java:192) ~[shenyu-client-apache-dubbo-2.6.0.jar:2.6.0] at org.apache.shenyu.client.apache.dubbo.ApacheDubboServiceBeanListener.buildMetaDataDTO(ApacheDubboServiceBeanListener.java:58) ~[shenyu-client-apache-dubbo-2.6.0.jar:2.6.0] at org.apache.shenyu.client.core.client.AbstractContextRefreshedEventListener.handleMethod(AbstractContextRefreshedEventListener.java:293) ~[shenyu-client-core-2.6.0.jar:2.6.0] at org.apache.shenyu.client.core.client.AbstractContextRefreshedEventListener.handle(AbstractContextRefreshedEventListener.java:264) ~[shenyu-client-core-2.6.0.jar:2.6.0] at java.base/java.util.LinkedHashMap.forEach(LinkedHashMap.java:721) ~[na:na] at org.apache.shenyu.client.core.client.AbstractContextRefreshedEventListener.onApplicationEvent(AbstractContextRefreshedEventListener.java:135) ~[shenyu-client-core-2.6.0.jar:2.6.0] at org.apache.shenyu.client.core.client.AbstractContextRefreshedEventListener.onApplicationEvent(AbstractContextRefreshedEventListener.java:75) ~[shenyu-client-core-2.6.0.jar:2.6.0] at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:178) ~[spring-context-6.1.2.jar:6.1.2] at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:171) ~[spring-context-6.1.2.jar:6.1.2] at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:149) ~[spring-context-6.1.2.jar:6.1.2] at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:451) ~[spring-context-6.1.2.jar:6.1.2] at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:384) ~[spring-context-6.1.2.jar:6.1.2] at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:982) ~[spring-context-6.1.2.jar:6.1.2] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:628) ~[spring-context-6.1.2.jar:6.1.2] at org.springframework.boot.web.reactive.context.ReactiveWebServerApplicationContext.refresh(ReactiveWebServerApplicationContext.java:66) ~[spring-boot-3.2.1.jar:3.2.1] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:762) ~[spring-boot-3.2.1.jar:3.2.1] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:464) ~[spring-boot-3.2.1.jar:3.2.1] at org.springframework.boot.SpringApplication.run(SpringApplication.java:334) ~[spring-boot-3.2.1.jar:3.2.1] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1358) ~[spring-boot-3.2.1.jar:3.2.1] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1347) ~[spring-boot-3.2.1.jar:3.2.1] at com.demo.account.AccountApplication.main(AccountApplication.java:15) ~[classes/:na]
2024-01-01T11:38:34.220+08:00 ERROR 2576 --- [samplesAccount] [torconsumer-9] .c.d.s.ShenyuClientURIExecutorSubscriber : host:192.168.1.103, port:20880 connection failed, will retry 2024-01-01T11:38:37.277+08:00 ERROR 2576 --- [samplesAccount] [torconsumer-9] .c.d.s.ShenyuClientURIExecutorSubscriber : host:192.168.1.103, port:20880 connection failed, will retry 2024-01-01T11:38:40.331+08:00 ERROR 2576 --- [samplesAccount] [torconsumer-9] .c.d.s.ShenyuClientURIExecutorSubscriber : host:192.168.1.103, port:20880 connection failed, will retry 2024-01-01T11:38:43.388+08:00 ERROR 2576 --- [samplesAccount] [torconsumer-9] .c.d.s.ShenyuClientURIExecutorSubscriber : host:192.168.1.103, port:20880 connection failed, will retry 2024-01-01T11:38:46.417+08:00 ERROR 2576 --- [samplesAccount] [torconsumer-9] .c.d.s.ShenyuClientURIExecutorSubscriber : host:192.168.1.103, port:20880 connection failed, will retry 2024-01-01T11:38:49.477+08:00 ERROR 2576 --- [samplesAccount] [torconsumer-9] .c.d.s.ShenyuClientURIExecutorSubscriber : host:192.168.1.103, port:20880 connection failed, will retry 2024-01-01T11:38:52.498+08:00 ERROR 2576 --- [samplesAccount] [torconsumer-9] .c.d.s.ShenyuClientURIExecutorSubscriber : host:192.168.1.103, port:20880 connection failed, will retry 2024-01-01T11:38:55.527+08:00 ERROR 2576 --- [samplesAccount] [torconsumer-9] .c.d.s.ShenyuClientURIExecutorSubscriber : host:192.168.1.103, port:20880 connection failed, will retry 2024-01-01T11:38:58.586+08:00 ERROR 2576 --- [samplesAccount] [torconsumer-9] .c.d.s.ShenyuClientURIExecutorSubscriber : host:192.168.1.103, port:20880 connection failed, will retry 2024-01-01T11:39:01.632+08:00 ERROR 2576 --- [samplesAccount] [torconsumer-9] .c.d.s.ShenyuClientURIExecutorSubscriber : host:192.168.1.103, port:20880 connection failed, will retry Disconnected from the target VM, address: '127.0.0.1:57720', transport: 'socket' 2024-01-01T11:39:01.871+08:00 INFO 2576 --- [samplesAccount] [bboShutdownHook] o.apache.dubbo.config.DubboShutdownHook : [DUBBO] Run shutdown hook now., dubbo version: 3.2.10, current host: 192.168.1.103
Process finished with exit code -1
Anything else?
No response