commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cody Lerum (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (EL-19) NPE Thrown if paramater in el method is literal null
Date Wed, 28 Dec 2011 21:33:30 GMT
NPE Thrown if paramater in el method is literal null
----------------------------------------------------

                 Key: EL-19
                 URL: https://issues.apache.org/jira/browse/EL-19
             Project: Commons EL
          Issue Type: Bug
    Affects Versions: 1.0
         Environment: JBoss AS 7.1.0 CR1b
            Reporter: Cody Lerum


Example el method #{tempEmailBuilder.setTo(null)}

Caused by: java.lang.NullPointerException
	at java.lang.Class.isAssignableFrom(Native Method) [:1.6.0_24]
	at org.apache.el.util.ReflectionUtil.isAssignableFrom(ReflectionUtil.java:299) [jbossweb-7.0.7.Final.jar:]
	at org.apache.el.util.ReflectionUtil.getMethod(ReflectionUtil.java:172) [jbossweb-7.0.7.Final.jar:]
	at org.apache.el.parser.AstValue.invoke(AstValue.java:251) [jbossweb-7.0.7.Final.jar:]
	at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:278) [jbossweb-7.0.7.Final.jar:]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message