L-Angel edited a comment on issue #2054: anonymous inner class doesn't work in 
callback.
URL: 
https://github.com/apache/incubator-dubbo/issues/2054#issuecomment-404423204
 
 
   @beiwei30 i push a demo project.the reps address is 
[https://github.com/L-Angel/dubbodemo](https://github.com/L-Angel/dubbodemo).
   And that the reponse body is as bellow
   ```
   {
       "timestamp": 1531381852287,
       "status": 500,
       "error": "Internal Server Error",
       "exception": "com.alibaba.dubbo.rpc.RpcException",
       "message": "Failed to invoke remote method: hello, provider: 
dubbo://127.0.0.1:20882/com.langel.dubbo.api.DubboDemoService?application=DubboDemoClient&dubbo=2.5.1&hello.async=true&interface=com.langel.dubbo.api.DubboDemoService&methods=hello&pid=109608&protocol=dubbo&side=consumer&timeout=100000&timestamp=1531381847703,
 cause: Failed to send message Request [id=0, version=2.0.0, twoway=true, 
event=false, broken=false, data=RpcInvocation [methodName=hello, 
parameterTypes=[class com.langel.dubbo.api.HelloWorldRequest, interface 
com.langel.dubbo.api.AsyncCallBack], 
arguments=[com.langel.dubbo.api.HelloWorldRequest@53f016e7, 
com.langel.dubbo.client.DemoController$1@52c34b27], attachments={async=true, 
path=com.langel.dubbo.api.DubboDemoService, id=0, 
interface=com.langel.dubbo.api.DubboDemoService, version=0.0.0, 
timeout=100000}]] to /10.0.75.1:20882, cause: Serialized class 
com.langel.dubbo.client.DemoController$1 must implement java.io.Serializable",
       "path": "/hello"
   }
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org
For additional commands, e-mail: notifications-h...@dubbo.apache.org

Reply via email to