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

Bug in ExpressionFactory.createMethodExpression() ? #23

Closed
beckchr opened this issue Jul 8, 2012 · 3 comments
Closed

Bug in ExpressionFactory.createMethodExpression() ? #23

beckchr opened this issue Jul 8, 2012 · 3 comments
Assignees
Labels

Comments

@beckchr
Copy link
Owner

beckchr commented Jul 8, 2012

[Issue migrated from SourceForge | ID: 2912763 | Submitted by 'None']
[http://sourceforge.net/support/tracker.php?aid=2912763]

According to http://java.sun.com/javaee/6/docs/api/javax/el/ExpressionFactory.html createMethodExpression should accept null values for expectedReturnType and expectedParamTypes, if the parameters are present in the expression.

Using version 2.2.0 I am getting an ELException, when parsing the expression

{controller.createAddress(addr.street, addr.postalCode, addr.city)}

with null values for the above mentioned parameters.

@beckchr
Copy link
Owner Author

beckchr commented Jul 8, 2012

[Comment migrated from SourceForge | Submitted by 'beckchr']

Thanks, I'll have to investigate this.

  • In what context are you using JUEL? JSF + Glassfish?
  • Could you please attach an exception stack trace?

@beckchr
Copy link
Owner Author

beckchr commented Jul 8, 2012

[Comment migrated from SourceForge | Submitted by 'beckchr']

Please try JUEL 2.2.1 and let me know...

@ghost ghost assigned beckchr Jul 8, 2012
@beckchr beckchr closed this as completed Jul 8, 2012
@beckchr
Copy link
Owner Author

beckchr commented Jul 8, 2012

[Comment migrated from SourceForge | Submitted by 'beckchr']

Added test, fixed in 2.2.1

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

No branches or pull requests

1 participant