paxxie2 opened a new issue, #15358: URL: https://github.com/apache/dubbo/issues/15358
### Pre-check - [x] I am sure that all the content I provide is in English. ### Search before asking - [x] I had searched in the [issues](https://github.com/apache/dubbo/issues?q=is%3Aissue) and found no similar issues. ### Apache Dubbo Component Java SDK (apache/dubbo) ### Dubbo Version dubbo 3.3.1, jdk 17, mac os 15.3.2 ### Steps to reproduce this issue 1. Define the grpc client proto file and declare the Greet method ``` syntax = "proto3"; option java_multiple_files = true; package org.apache.dubbo.samples.tri.grpc; message GreeterRequest { string name = 1; } message GreeterReply { string message = 1; } service Greeter{ rpc Greet(GreeterRequest) returns (GreeterReply); rpc biStream(stream GreeterRequest) returns (stream GreeterReply); rpc serverStream(GreeterRequest) returns (stream GreeterReply); } ``` 2. Define the triple server proto file and declare the greet method ``` syntax = "proto3"; option java_multiple_files = true; package org.apache.dubbo.samples.tri.grpc; message GreeterRequest { string name = 1; } message GreeterReply { string message = 1; } service Greeter{ rpc greet(GreeterRequest) returns (GreeterReply); rpc biStream(stream GreeterRequest) returns (stream GreeterReply); rpc serverStream(GreeterRequest) returns (stream GreeterReply); } ``` 3. Run triple server and grpc client, there are no exception and the results are returned normally 4. Update the grpc client proto file and declare the GReet method ``` syntax = "proto3"; option java_multiple_files = true; package org.apache.dubbo.samples.tri.grpc; message GreeterRequest { string name = 1; } message GreeterReply { string message = 1; } service Greeter{ rpc GReet(GreeterRequest) returns (GreeterReply); // rpc GREET(GreeterRequest) returns (GreeterReply); rpc Dreet(GreeterRequest) returns (GreeterReply); rpc biStream(stream GreeterRequest) returns (stream GreeterReply); rpc serverStream(GreeterRequest) returns (stream GreeterReply); } ``` 5. Run triple server and grpc client, there are excpetion ``` 警告: RPC failed: Status{code=UNKNOWN, description=Cannot invoke "java.util.List.iterator()" because "methodDescriptors" is null, cause=null} ``` ### What you expected to happen Because the official documentation does not specify whether it is case sensitive, it is recommended to be consistent with grpc rpc method case sensitive. Not just the case insensitive first character ### Anything else _No response_ ### Are you willing to submit a pull request to fix on your own? - [x] Yes I am willing to submit a pull request on my own! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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]
