You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "chickenlj (via GitHub)" <gi...@apache.org> on 2023/03/02 07:58:52 UTC

[GitHub] [dubbo-samples] chickenlj commented on pull request #751: refactor dubbo-samples-direct

chickenlj commented on PR #751:
URL: https://github.com/apache/dubbo-samples/pull/751#issuecomment-1451445476

   ```
   023-03-02 07:22:16.483 ERROR 35 --- [           main] o.a.d.r.integration.RegistryDirectory    :  [DUBBO] Failed to refer invoker for interface:interface org.apache.dubbo.samples.rest.withtoken.api.DemoService,url:(rest://192.168.176.3:8080/org.apache.dubbo.samples.rest.withtoken.api.DemoService?anyhost=true&application=dubbo-springboot-rest-provider&background=false&category=providers,configurators,routers&check=false&deprecated=false&dubbo=2.0.2&dynamic=true&executor-management-mode=default&file-cache=true&generic=false&interface=org.apache.dubbo.samples.rest.withtoken.api.DemoService&methods=hello&pid=35&prefer.serialization=fastjson2,hessian2&protocol=rest&qos.enable=true&release=3.2.0-beta.6-SNAPSHOT&revision=1.0-SNAPSHOT&service-name-mapping=true&side=provider&sticky=false&token=5052129e-3337-4b82-9c0f-d815b48a90d9&unloadClusterRelated=false)kotlin.collections.ArraysKt.copyInto([B[BIII)[B, dubbo version: 3.2.0-beta.6-SNAPSHOT, current host: 192.168.176.4, error code: 4-3. Th
 is may be caused by , go to https://dubbo.apache.org/faq/4/3 to find instructions. 
   
   java.lang.NoSuchMethodError: kotlin.collections.ArraysKt.copyInto([B[BIII)[B
   	at okio.Segment.writeTo(Segment.kt:169) ~[okio-jvm-3.0.0.jar:na]
   	at okio.Segment.compact(Segment.kt:152) ~[okio-jvm-3.0.0.jar:na]
   	at okio.Buffer.write(Buffer.kt:1491) ~[okio-jvm-3.0.0.jar:na]
   	at okio.Buffer.read(Buffer.kt:1503) ~[okio-jvm-3.0.0.jar:na]
   	at okio.Buffer.writeAll(Buffer.kt:1290) ~[okio-jvm-3.0.0.jar:na]
   	at okio.Options$Companion.buildTrieRecursive(Options.kt:189) ~[okio-jvm-3.0.0.jar:na]
   	at okio.Options$Companion.buildTrieRecursive(Options.kt:175) ~[okio-jvm-3.0.0.jar:na]
   	at okio.Options$Companion.buildTrieRecursive$default(Options.kt:107) ~[okio-jvm-3.0.0.jar:na]
   	at okio.Options$Companion.of(Options.kt:72) ~[okio-jvm-3.0.0.jar:na]
   	at okhttp3.internal.Util.<clinit>(Util.kt:70) ~[okhttp-4.10.0.jar:na]
   	at okhttp3.internal.concurrent.TaskRunner.<clinit>(TaskRunner.kt:309) ~[okhttp-4.10.0.jar:na]
   	at okhttp3.ConnectionPool.<init>(ConnectionPool.kt:41) ~[okhttp-4.10.0.jar:na]
   	at okhttp3.ConnectionPool.<init>(ConnectionPool.kt:47) ~[okhttp-4.10.0.jar:na]
   	at okhttp3.OkHttpClient$Builder.<init>(OkHttpClient.kt:471) ~[okhttp-4.10.0.jar:na]
   	at org.apache.dubbo.remoting.http.restclient.OKHttpRestClient.createHttpClient(OKHttpRestClient.java:137) ~[dubbo-remoting-http-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.remoting.http.restclient.OKHttpRestClient.<init>(OKHttpRestClient.java:46) ~[dubbo-remoting-http-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.remoting.http.factory.impl.OkHttpClientFactory.doCreateRestClient(OkHttpClientFactory.java:34) ~[dubbo-remoting-http-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.remoting.http.factory.AbstractHttpClientFactory.createRestClient(AbstractHttpClientFactory.java:60) ~[dubbo-remoting-http-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.remoting.http.factory.RestClientFactory$Adaptive.createRestClient(RestClientFactory$Adaptive.java) ~[dubbo-common-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.rpc.protocol.rest.RestProtocol.createReferenceCountedClient(RestProtocol.java:237) ~[dubbo-rpc-rest-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.rpc.protocol.rest.RestProtocol.lambda$protocolBindingRefer$2(RestProtocol.java:147) ~[dubbo-rpc-rest-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660) ~[na:1.8.0_342]
   	at org.apache.dubbo.common.utils.ConcurrentHashMapUtils.computeIfAbsent(ConcurrentHashMapUtils.java:38) ~[dubbo-common-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.rpc.protocol.rest.RestProtocol.protocolBindingRefer(RestProtocol.java:147) ~[dubbo-rpc-rest-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.rpc.protocol.AbstractProtocol.refer(AbstractProtocol.java:135) ~[dubbo-rpc-api-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.rpc.protocol.ProtocolListenerWrapper.refer(ProtocolListenerWrapper.java:77) [dubbo-rpc-api-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.rpc.protocol.ProtocolSecurityWrapper.refer(ProtocolSecurityWrapper.java:107) [dubbo-rpc-api-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.qos.protocol.QosProtocolWrapper.refer(QosProtocolWrapper.java:85) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.rpc.cluster.filter.ProtocolFilterWrapper.refer(ProtocolFilterWrapper.java:74) [dubbo-cluster-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.rpc.protocol.ProtocolSerializationWrapper.refer(ProtocolSerializationWrapper.java:52) [dubbo-rpc-api-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.rpc.Protocol$Adaptive.refer(Protocol$Adaptive.java) [dubbo-common-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.registry.integration.RegistryDirectory.toInvokers(RegistryDirectory.java:412) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.registry.integration.RegistryDirectory.refreshInvoker(RegistryDirectory.java:274) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.registry.integration.RegistryDirectory.refreshOverrideAndInvoker(RegistryDirectory.java:215) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.registry.integration.RegistryDirectory.notify(RegistryDirectory.java:191) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.registry.support.AbstractRegistry.notify(AbstractRegistry.java:533) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.registry.support.FailbackRegistry.doNotify(FailbackRegistry.java:373) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.registry.support.FailbackRegistry.notify(FailbackRegistry.java:365) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.registry.zookeeper.ZookeeperRegistry.doSubscribe(ZookeeperRegistry.java:241) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.registry.support.FailbackRegistry.subscribe(FailbackRegistry.java:300) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.registry.ListenerRegistryWrapper.subscribe(ListenerRegistryWrapper.java:88) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.registry.integration.DynamicDirectory.subscribe(DynamicDirectory.java:184) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.registry.integration.RegistryDirectory.subscribe(RegistryDirectory.java:127) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.registry.integration.RegistryProtocol.doCreateInvoker(RegistryProtocol.java:581) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.registry.integration.InterfaceCompatibleRegistryProtocol.getInvoker(InterfaceCompatibleRegistryProtocol.java:58) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.registry.client.migration.MigrationInvoker.refreshInterfaceInvoker(MigrationInvoker.java:464) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.registry.client.migration.MigrationInvoker.migrateToApplicationFirstInvoker(MigrationInvoker.java:245) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.registry.client.migration.MigrationRuleHandler.refreshInvoker(MigrationRuleHandler.java:76) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.registry.client.migration.MigrationRuleHandler.doMigrate(MigrationRuleHandler.java:60) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.registry.client.migration.MigrationRuleListener.onRefer(MigrationRuleListener.java:249) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.registry.integration.RegistryProtocol.interceptInvoker(RegistryProtocol.java:546) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.registry.integration.RegistryProtocol.doRefer(RegistryProtocol.java:516) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.registry.integration.RegistryProtocol.refer(RegistryProtocol.java:498) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.rpc.protocol.ProtocolListenerWrapper.refer(ProtocolListenerWrapper.java:74) [dubbo-rpc-api-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.rpc.protocol.ProtocolSecurityWrapper.refer(ProtocolSecurityWrapper.java:107) [dubbo-rpc-api-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.qos.protocol.QosProtocolWrapper.refer(QosProtocolWrapper.java:85) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.rpc.cluster.filter.ProtocolFilterWrapper.refer(ProtocolFilterWrapper.java:71) [dubbo-cluster-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.rpc.protocol.ProtocolSerializationWrapper.refer(ProtocolSerializationWrapper.java:52) [dubbo-rpc-api-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.rpc.Protocol$Adaptive.refer(Protocol$Adaptive.java) [dubbo-common-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.config.ReferenceConfig.createInvokerForRemote(ReferenceConfig.java:607) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.config.ReferenceConfig.createProxy(ReferenceConfig.java:441) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.config.ReferenceConfig.init(ReferenceConfig.java:299) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.config.ReferenceConfig.get(ReferenceConfig.java:233) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.config.utils.SimpleReferenceCache.get(SimpleReferenceCache.java:132) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.config.deploy.DefaultModuleDeployer.lambda$referServices$6(DefaultModuleDeployer.java:396) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at java.util.concurrent.ConcurrentHashMap$ValuesView.forEach(ConcurrentHashMap.java:4707) ~[na:1.8.0_342]
   	at org.apache.dubbo.config.deploy.DefaultModuleDeployer.referServices(DefaultModuleDeployer.java:376) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.config.deploy.DefaultModuleDeployer.startSync(DefaultModuleDeployer.java:167) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.config.deploy.DefaultModuleDeployer.start(DefaultModuleDeployer.java:139) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.config.spring.context.DubboDeployApplicationListener.onContextRefreshedEvent(DubboDeployApplicationListener.java:113) ~[dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.config.spring.context.DubboDeployApplicationListener.onApplicationEvent(DubboDeployApplicationListener.java:102) ~[dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.config.spring.context.DubboDeployApplicationListener.onApplicationEvent(DubboDeployApplicationListener.java:47) ~[dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:176) ~[spring-context-5.3.24.jar:5.3.24]
   	at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:169) ~[spring-context-5.3.24.jar:5.3.24]
   	at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:143) ~[spring-context-5.3.24.jar:5.3.24]
   	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:421) ~[spring-context-5.3.24.jar:5.3.24]
   	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:378) ~[spring-context-5.3.24.jar:5.3.24]
   	at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:938) ~[spring-context-5.3.24.jar:5.3.24]
   	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:586) ~[spring-context-5.3.24.jar:5.3.24]
   	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:[775](https://github.com/apache/dubbo-samples/actions/runs/4305141183/jobs/7520899721#step:9:776)) ~[spring-boot-2.1.1.RELEASE.jar:2.1.1.RELEASE]
   	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397) ~[spring-boot-2.1.1.RELEASE.jar:2.1.1.RELEASE]
   	at org.springframework.boot.SpringApplication.run(SpringApplication.java:316) ~[spring-boot-2.1.1.RELEASE.jar:2.1.1.RELEASE]
   	at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:127) ~[spring-boot-test-2.1.1.RELEASE.jar:2.1.1.RELEASE]
   	at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:141) ~[spring-test-5.3.24.jar:5.3.24]
   	at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:90) ~[spring-test-5.3.24.jar:5.3.24]
   	at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) ~[spring-test-5.3.24.jar:5.3.24]
   	at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:118) ~[spring-test-5.3.24.jar:5.3.24]
   	at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83) ~[spring-test-5.3.24.jar:5.3.24]
   	at org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener.prepareTestInstance(SpringBootDependencyInjectionTestExecutionListener.java:44) ~[spring-boot-test-autoconfigure-2.1.1.RELEASE.jar:2.1.1.RELEASE]
   	at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:248) ~[spring-test-5.3.24.jar:5.3.24]
   	at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:227) ~[spring-test-5.3.24.jar:5.3.24]
   	at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289) ~[spring-test-5.3.24.jar:5.3.24]
   	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) ~[dubbo-test-runner.jar:na]
   	at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291) ~[spring-test-5.3.24.jar:5.3.24]
   	at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:246) ~[spring-test-5.3.24.jar:5.3.24]
   	at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97) ~[spring-test-5.3.24.jar:5.3.24]
   	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) ~[dubbo-test-runner.jar:na]
   	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) ~[dubbo-test-runner.jar:na]
   	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) ~[dubbo-test-runner.jar:na]
   	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) ~[dubbo-test-runner.jar:na]
   	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) ~[dubbo-test-runner.jar:na]
   	at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) ~[spring-test-5.3.24.jar:5.3.24]
   	at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) ~[spring-test-5.3.24.jar:5.3.24]
   	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) ~[dubbo-test-runner.jar:na]
   	at org.junit.runners.ParentRunner.run(ParentRunner.java:413) ~[dubbo-test-runner.jar:na]
   	at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190) ~[spring-test-5.3.24.jar:5.3.24]
   	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) ~[dubbo-test-runner.jar:na]
   	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) ~[dubbo-test-runner.jar:na]
   	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) ~[dubbo-test-runner.jar:na]
   	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) ~[dubbo-test-runner.jar:na]
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_342]
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_342]
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_342]
   	at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_342]
   	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:206) ~[dubbo-test-runner.jar:na]
   	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:161) ~[dubbo-test-runner.jar:na]
   	at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:84) ~[dubbo-test-runner.jar:na]
   	at org.apache.dubbo.test.runner.ClassloaderSurefireStarter.runSuitesInProcess(ClassloaderSurefireStarter.java:78) ~[dubbo-test-runner.jar:na]
   	at org.apache.dubbo.test.runner.TestRunnerMain.runInJunit4(TestRunnerMain.java:233) ~[dubbo-test-runner.jar:na]
   	at org.apache.dubbo.test.runner.TestRunnerMain.main(TestRunnerMain.java:156) ~[dubbo-test-runner.jar:na]
   
   2023-03-02 07:22:16.492 ERROR 35 --- [           main] o.a.d.r.integration.RegistryDirectory    :  [DUBBO] urls to invokers error, dubbo version: 3.2.0-beta.6-SNAPSHOT, current host: 192.168.176.4, error code: 3-1. This may be caused by inconsistency between the client protocol and the protocol of the server, go to https://dubbo.apache.org/faq/3/1 to find instructions. 
   
   java.lang.IllegalStateException: urls to invokers error. invokerUrls.size :1, invoker.size :0. urls :[rest://192.168.176.3:8080/org.apache.dubbo.samples.rest.withtoken.api.DemoService?anyhost=true&application=dubbo-springboot-rest-provider&background=false&category=providers,configurators,routers&check=false&deprecated=false&dubbo=2.0.2&dynamic=true&executor-management-mode=default&file-cache=true&generic=false&interface=org.apache.dubbo.samples.rest.withtoken.api.DemoService&methods=hello&pid=35&prefer.serialization=fastjson2,hessian2&protocol=rest&qos.enable=true&release=3.2.0-beta.6-SNAPSHOT&revision=1.0-SNAPSHOT&service-name-mapping=true&side=provider&sticky=false&token=5052129e-3337-4b82-9c0f-d815b48a90d9&unloadClusterRelated=false]
   	at org.apache.dubbo.registry.integration.RegistryDirectory.refreshInvoker(RegistryDirectory.java:293) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.registry.integration.RegistryDirectory.refreshOverrideAndInvoker(RegistryDirectory.java:215) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.registry.integration.RegistryDirectory.notify(RegistryDirectory.java:191) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.registry.support.AbstractRegistry.notify(AbstractRegistry.java:533) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.registry.support.FailbackRegistry.doNotify(FailbackRegistry.java:373) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.registry.support.FailbackRegistry.notify(FailbackRegistry.java:365) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.registry.zookeeper.ZookeeperRegistry.doSubscribe(ZookeeperRegistry.java:241) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.registry.support.FailbackRegistry.subscribe(FailbackRegistry.java:300) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.registry.ListenerRegistryWrapper.subscribe(ListenerRegistryWrapper.java:88) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.registry.integration.DynamicDirectory.subscribe(DynamicDirectory.java:184) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.registry.integration.RegistryDirectory.subscribe(RegistryDirectory.java:127) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.registry.integration.RegistryProtocol.doCreateInvoker(RegistryProtocol.java:581) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.registry.integration.InterfaceCompatibleRegistryProtocol.getInvoker(InterfaceCompatibleRegistryProtocol.java:58) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.registry.client.migration.MigrationInvoker.refreshInterfaceInvoker(MigrationInvoker.java:464) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.registry.client.migration.MigrationInvoker.migrateToApplicationFirstInvoker(MigrationInvoker.java:245) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.registry.client.migration.MigrationRuleHandler.refreshInvoker(MigrationRuleHandler.java:76) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.registry.client.migration.MigrationRuleHandler.doMigrate(MigrationRuleHandler.java:60) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.registry.client.migration.MigrationRuleListener.onRefer(MigrationRuleListener.java:249) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.registry.integration.RegistryProtocol.interceptInvoker(RegistryProtocol.java:546) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.registry.integration.RegistryProtocol.doRefer(RegistryProtocol.java:516) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.registry.integration.RegistryProtocol.refer(RegistryProtocol.java:498) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.rpc.protocol.ProtocolListenerWrapper.refer(ProtocolListenerWrapper.java:74) [dubbo-rpc-api-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.rpc.protocol.ProtocolSecurityWrapper.refer(ProtocolSecurityWrapper.java:107) [dubbo-rpc-api-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.qos.protocol.QosProtocolWrapper.refer(QosProtocolWrapper.java:85) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.rpc.cluster.filter.ProtocolFilterWrapper.refer(ProtocolFilterWrapper.java:71) [dubbo-cluster-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.rpc.protocol.ProtocolSerializationWrapper.refer(ProtocolSerializationWrapper.java:52) [dubbo-rpc-api-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.rpc.Protocol$Adaptive.refer(Protocol$Adaptive.java) [dubbo-common-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.config.ReferenceConfig.createInvokerForRemote(ReferenceConfig.java:607) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.config.ReferenceConfig.createProxy(ReferenceConfig.java:441) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   	at org.apache.dubbo.config.ReferenceConfig.init(ReferenceConfig.java:299) [dubbo-3.2.0-beta.6-SNAPSHOT.jar:3.2.0-beta.6-SNAPSHOT]
   ```
   
   


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org