dubbo icon indicating copy to clipboard operation
dubbo copied to clipboard

Method config should be checked when using generic invoke

Open tswstarplanet opened this issue 7 years ago • 1 comments

  • [ ] I have searched the issues of this repository and believe that this is not a duplicate.
  • [ ] I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

  • Dubbo version: 2.7.1-SNAPSHOT
  • Operating System version: all
  • Java version: all

Steps to reproduce this issue

1.config a reference using generic invoke 2.config method of the reference with a name that is not contained by the interface(not the GenericService, but the real service that is invoked)

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

What do you expected from the above steps?

report error of no such method

What actually happens?

no error reported

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

Just put your stack trace here!

tswstarplanet avatar Feb 04 '19 16:02 tswstarplanet

image I did not reproduce, I think it has been fixed. call method which is not exist will throw exception: notSuchMethodException. I think it is ok. @CrazyHZM

changfubai avatar Sep 26 '21 13:09 changfubai