[jboss-jira] [JBoss JIRA] (WFLY-3456) Can not call method with generic type parameter with null value

Marcel Neuwohner (JIRA) issues at jboss.org
Thu Jun 5 09:34:15 EDT 2014


Marcel Neuwohner created WFLY-3456:
--------------------------------------

             Summary: Can not call method with generic type parameter with null value
                 Key: WFLY-3456
                 URL: https://issues.jboss.org/browse/WFLY-3456
             Project: WildFly
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: JSF
    Affects Versions: 8.1.0.Final
            Reporter: Marcel Neuwohner
            Assignee: Farah Juma


If you call a method with a generic type parameter from EL with null as parameter value you get 

javax.el.MethodNotFoundException

Unable to find unambiguous method: SimpleOrderHandler$Proxy$_$$_WeldClientProxy.getLastUpdate(null)

at

javax.el.Util.findWrapper(Util.java:322)

javax.el.Util.findMethod(Util.java:203)

javax.el.ELUtil.findMethod(ELUtil.java:288)

javax.el.BeanELResolver.invoke(BeanELResolver.java:527)

javax.el.CompositeELResolver.invoke(CompositeELResolver.java:256)

com.sun.el.parser.AstValue.getValue(AstValue.java:136)

com.sun.el.parser.AstValue.getValue(AstValue.java:204)

com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:226)

org.jboss.weld.el.WeldValueExpression.getValue(WeldValueExpression.java:50)

com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:109)



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the jboss-jira mailing list