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

### Environment

* Dubbo version: 2.6.7
* Operating System version:windows 7
* Java version: 1.8

### Steps to reproduce this issue

1. 
  <dubbo:reference id="demoService" interface="com.demo.service.DemoService"
 protocol="hessian">
            <dubbo:method name="orderData" async="true"/>
        </dubbo:reference>
2.   demoService.orderData(paramsMap);
      Future<List<OrderDataBO>> future = RpcContext.getContext().getFuture();
      List<OrderDataBO> list = future.get();
3. future is null

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

### Expected Result

Can get the result.

### Actual Result

What actually happens?

 future.get() throw null pointer exception,Because the future object is null.


[ Full content available at: https://github.com/apache/dubbo/issues/5220 ]
This message was relayed via gitbox.apache.org for 
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to