Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dubbo throws IoException with error message while decoding fail #4395

Closed
2 tasks done
qixiaobo opened this issue Jun 25, 2019 · 0 comments
Closed
2 tasks done

Dubbo throws IoException with error message while decoding fail #4395

qixiaobo opened this issue Jun 25, 2019 · 0 comments

Comments

@qixiaobo
Copy link
Contributor

qixiaobo commented Jun 25, 2019

  • 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.6.6
  • Operating System version: *nix
  • Java version: 1.7+

Expected Result

throw new IOException("Unknown result flag, expect '0' '1' '2' '3' '4' '5', get " + flag);

Actual Result

throw new IOException("Unknown result flag, expect '0' '1' '2', get " + flag);

since dubbo add new type for class dubbocodec for issue #1843
we should also change the exception message .

For example, if dubbo provides new protocol version(higher than 2.0.2) .then the high version dubbo invoke the lower version dubbo[2.0.2] with no support codec ,then the lower version dubbo throws ioexception with incorrect message.
So we need fixit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants