java.lang.RuntimeException: java.lang.InterruptedException at com.alibaba.dubbo.remoting.exchange.support.DefaultFuture.get(DefaultFuture.java:102) ~[dubbo-2.5.4.jar:2.5.4-SNAPSHOT] at com.alibaba.dubbo.remoting.exchange.support.DefaultFuture.get(DefaultFuture.java:84) ~[dubbo-2.5.4.jar:2.5.4-SNAPSHOT] at com.alibaba.dubbo.rpc.protocol.dubbo.DubboInvoker.doInvoke(DubboInvoker.java:96) ~[dubbo-2.5.4.jar:2.5.4-SNAPSHOT] at com.alibaba.dubbo.rpc.protocol.AbstractInvoker.invoke(AbstractInvoker.java:144) ~[dubbo-2.5.4.jar:2.5.4-SNAPSHOT] at com.alibaba.dubbo.rpc.protocol.dubbo.filter.FutureFilter.invoke(FutureFilter.java:53) ~[dubbo-2.5.4.jar:2.5.4-SNAPSHOT] at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:91) ~[dubbo-2.5.4.jar:2.5.4-SNAPSHOT] at com.alibaba.dubbo.monitor.support.MonitorFilter.invoke(MonitorFilter.java:75) ~[dubbo-2.5.4.jar:2.5.4-SNAPSHOT] at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:91) ~[dubbo-2.5.4.jar:2.5.4-SNAPSHOT] at com.alibaba.dubbo.rpc.filter.ConsumerContextFilter.invoke(ConsumerContextFilter.java:48) ~[dubbo-2.5.4.jar:2.5.4-SNAPSHOT] at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:91) ~[dubbo-2.5.4.jar:2.5.4-SNAPSHOT] at com.alibaba.dubbo.rpc.listener.ListenerInvokerWrapper.invoke(ListenerInvokerWrapper.java:74) ~[dubbo-2.5.4.jar:2.5.4-SNAPSHOT] at com.alibaba.dubbo.rpc.protocol.InvokerWrapper.invoke(InvokerWrapper.java:53) ~[dubbo-2.5.4.jar:2.5.4-SNAPSHOT] at com.alibaba.dubbo.rpc.cluster.support.FailoverClusterInvoker.doInvoke(FailoverClusterInvoker.java:77) ~[dubbo-2.5.4.jar:2.5.4-SNAPSHOT] at com.alibaba.dubbo.rpc.cluster.support.AbstractClusterInvoker.invoke(AbstractClusterInvoker.java:227) ~[dubbo-2.5.4.jar:2.5.4-SNAPSHOT] at com.alibaba.dubbo.rpc.cluster.support.wrapper.MockClusterInvoker.invoke(MockClusterInvoker.java:72) ~[dubbo-2.5.4.jar:2.5.4-SNAPSHOT] at com.alibaba.dubbo.rpc.proxy.InvokerInvocationHandler.invoke(InvokerInvocationHandler.java:52) ~[dubbo-2.5.4.jar:2.5.4-SNAPSHOT] at com.alibaba.dubbo.common.bytecode.proxy0.albumVideos(proxy0.java) ~[dubbo-2.5.4.jar:2.5.4-SNAPSHOT]
补充下: Caused by: java.lang.InterruptedException: null at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:2017) ~[na:1.7.0_45] at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2188) ~[na:1.7.0_45] at com.alibaba.dubbo.remoting.exchange.support.DefaultFuture.get(DefaultFuture.java:96) ~[dubbo-2.5.4.jar:2.5.4-SNAPSHOT]
原提问者GitHub用户ybqiang
消费端线程等待结果返回时被interrupt了,请先检查一下是否有对业务线程的主动interrupt操作 另外,建议升级dubbo到2.5.7版本,2.5.4版本有很多问题已经修复
原回答者GitHub用户chickenlj
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。
阿里云拥有国内全面的云原生产品技术以及大规模的云原生应用实践,通过全面容器化、核心技术互联网化、应用 Serverless 化三大范式,助力制造业企业高效上云,实现系统稳定、应用敏捷智能。拥抱云原生,让创新无处不在。