focuse8 commented on issue #13368:
URL: https://github.com/apache/dubbo/issues/13368#issuecomment-1818131501
> Do you mean that you have defined a service which have the params like
`java.lang.String, [Ljava.lang.String;, [Ljava.lang.Object;` or you have
invoked a service by Dubbo generic service with `GenericService` interface?
I have invoked a service with ’GenericService‘ interface. my service has
just only one param, that is java.lang.Object. But when I invoked it using
GenericService.$invoke("queryForGatewayRoute", null, args), the provider threw
an NoSuchMethodExceptio. Because the provider received a request with three
params `java.lang.String, [Ljava.lang.String;, [Ljava.lang.Object;`. As I
debuged above, the org.apache.dubbo.rpc.support.RpcUtils#getParameterTypes
method fills up params with `java.lang.String, [Ljava.lang.String;,
[Ljava.lang.Object;` in dubbo 3.2.7.
--
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]