You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "lgw8186 (GitHub)" <gi...@apache.org> on 2018/11/13 06:23:58 UTC

[GitHub] [incubator-dubbo] lgw8186 opened issue #2779: 泛化执行cs架构发布的dubbo接口异常,调用其他dubbo接口没有问题

- [ ] I have searched the [issues](https://github.com/apache/incubator-dubbo/issues) of this repository and believe that this is not a duplicate.
- [ ] I have checked the [FAQ](https://github.com/apache/incubator-dubbo/blob/master/FAQ.md) of this repository and believe that this is not a duplicate.

### Environment

* Dubbo version: 2.8.4
* Operating System version: xxx
* Java version: xxx

### Steps to reproduce this issue

1. xxx
2. xxx
3. xxx

Pls. provide [GitHub address] to reproduce this issue.

### Expected Result

**### 13:46:22.408 [main] DEBUG org.springframework.remoting.rmi.RmiProxyFactoryBean - Located RMI stub with URL [rmi://1xxx.xx.xx.xx:9901/com.uc56.core.server.opt.service.IBillService]
13:46:22.408 [main] DEBUG org.springframework.remoting.rmi.RmiProxyFactoryBean - RMI stub [rmi://1xxx.xx.xx.xx:9901/com.uc56.core.server.opt.service.IBillService] is an RMI invoker
13:46:22.450 [main] DEBUG org.springframework.aop.framework.JdkDynamicAopProxy - Creating JDK dynamic proxy: target source is EmptyTargetSource: no target class, static
13:46:29.501 [main] ERROR cn.uce.atp.executor.utils.DubboServiceFactoryUtil - dubbo接口调用异常:
com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method $invoke in the service com.alibaba.dubbo.rpc.service.GenericService. Tried 3 times of the providers [1xxx.xx.xx.xx:9901] (1/1) from the registry 10.xx.xx.117:2181 on the consumer 10.xx.xx.66 using the dubbo version 2.8.4. Last error is: Failed to invoke remote service: interface com.alibaba.dubbo.rpc.service.GenericService, method: $invoke, cause: Invocation of method [public abstract java.lang.Object com.alibaba.dubbo.rpc.service.GenericService.$invoke(java.lang.String,java.lang.String[],java.lang.Object[]) throws com.alibaba.dubbo.rpc.service.GenericException] failed in RMI service [rmi://1xxx.xx.xx.xx:9901/com.uc56.core.server.opt.service.IBillService]; nested exception is java.lang.NoSuchMethodException: com.sun.proxy.$Proxy425.$invoke(java.lang.String, [Ljava.lang.String;, [Ljava.lang.Object;)
  at com.alibaba.dubbo.rpc.cluster.support.FailoverClusterInvoker.doInvoke(FailoverClusterInvoker.java:101)
  at com.alibaba.dubbo.rpc.cluster.support.AbstractClusterInvoker.invoke(AbstractClusterInvoker.java:227)
  at com.alibaba.dubbo.rpc.cluster.support.wrapper.MockClusterInvoker.invoke(MockClusterInvoker.java:72)
  at com.alibaba.dubbo.rpc.proxy.InvokerInvocationHandler.invoke(InvokerInvocationHandler.java:52)
  at com.alibaba.dubbo.common.bytecode.proxy0.$invoke(proxy0.java)
  at cn.uce.atp.executor.utils.DubboServiceFactoryUtil.invoke(DubboServiceFactoryUtil.java:97)
  at cn.uce.atp.executor.utils.InterfaceParamsUtils.main(InterfaceParamsUtils.java:225)**

What do you expected from the above steps?

### Actual Result

What actually happens?

If there is an exception, please attach the exception trace:

```
Just put your stack trace here!
```


[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2779 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo] chickenlj closed issue #2779: RMI protocol doesn't support generic invocation.

Posted by "chickenlj (GitHub)" <gi...@apache.org>.
[ issue closed by chickenlj ]

[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2779 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org