chickenlj opened a new issue, #2653: URL: https://github.com/apache/dubbo-go/issues/2653
How to produce: 1. [demo repo](https://github.com/apache/dubbo-go-samples/tree/main/java_interop/service_discovery/service) 2. start `java-server` 3. start `go-client` Then the following error occurs: ```go 2024-04-05 18:32:42 INFO servicediscovery/service_instances_changed_listener_impl.go:102 Received instance notification event of service greet-java-server, instance list size %!s(int=1) panic: reflect: call of reflect.Value.MethodByName on zero Value goroutine 1 [running]: reflect.Value.MethodByName({0x0?, 0x0?, 0x140003d1f80?}, {0x101988e8e?, 0x0?}) /Users/ken/go/pkg/mod/golang.org/[email protected]/src/reflect/value.go:2112 +0x114 github.com/dubbogo/triple/pkg/triple.getInvoker({0x0?, 0x0?}, 0x12?) /Users/ken/go/pkg/mod/github.com/dubbogo/[email protected]/pkg/triple/dubbo3_conn.go:79 +0x104 github.com/dubbogo/triple/pkg/triple.NewTripleClient({0x0, 0x0}, 0x101e33f40?) /Users/ken/go/pkg/mod/github.com/dubbogo/[email protected]/pkg/triple/dubbo3_client.go:117 +0x708 dubbo.apache.org/dubbo-go/v3/protocol/triple.NewDubbo3Invoker(0x140008b2700) /Users/ken/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/triple/dubbo3_invoker.go:128 +0x888 dubbo.apache.org/dubbo-go/v3/protocol/triple.(*TripleProtocol).Refer(0x140008c24b0, 0x140008b2700) /Users/ken/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/protocol/triple/triple.go:117 +0x58 dubbo.apache.org/dubbo-go/v3/metadata/service/local.createProxy({0x102204780, 0x140004012c0}) /Users/ken/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/metadata/service/local/metadata_service_proxy_factory.go:69 +0x124 dubbo.apache.org/dubbo-go/v3/metadata/service.(*BaseMetadataServiceProxyFactory).GetProxy(0x10198174a?, {0x102204780?, 0x140004012c0?}) /Users/ken/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/metadata/service/local_service.go:119 +0x34 ``` I think the problem happened when go-client tries to call MetadataService. But it's strange that it wants to call `GetDubboStub` method , that's only available when using Protobuf, but obviously in current version, MetadataService is not from Protobuf.  -- 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]
