-
Notifications
You must be signed in to change notification settings - Fork 306
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
wrong number of arguments using interceptor #3440
Comments
Hi Eduard, I cannot reproduce this with a simple reproducer. Can you update the reproducer to match your situation? Regards |
Cannot open the zip on my linux, looks like the zip is made on mac? Can you provide tgz? |
tgz files are not supported as attachments. You can download the tgz with the following link https://drive.google.com/open?id=15Dvbl_8CpGyCMzpKjlCyk6YGuxFQ8Lcb |
this makes it fail: tried to narrow down more, but did not succeed in that yet |
We found the cause of this issue. In some situations, the selection of the actual method which gets invoked during the interceptor execution is the wrong one (not the one annotated which is annotated). An internal Jira ticket is created to fix this issue. We keep you informed when changes are available in a release. |
Fixed by #3454 |
thanks! |
Description
An interceptor having two methods with the same name may cause a hard to find IllegalArgumentException, the interceptor method is not being called.
Expected Outcome
The interceptor method with the InvocationContext is called, the other method ignored.
Current Outcome
Steps to reproduce (Only for bug reports)
Create an interceptor with these methods:
Use the interceptor on a local stateless EJB method:
Environment
The text was updated successfully, but these errors were encountered: