[ 
https://issues.apache.org/jira/browse/JEXL-272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Henri Biestro updated JEXL-272:
-------------------------------
    Description: With expression 'x.[y].z()', if x.y is null, the evaluation 
succeeds returning null instead of raising a JexlException.Property exception. 
This behaviour should only explicitly occur with 'x.[y]?.z()'.  (was: With 
expression
{{ x.[y].z() }}
, if x.y is null, the evaluation succeeds returning null instead of raising a 
JexlException.Property exception.
This behaviour should only explicitly occur with
 {{x.[y]?.z() }}
.)

> Dereferencing null property not reported on method call
> -------------------------------------------------------
>
>                 Key: JEXL-272
>                 URL: https://issues.apache.org/jira/browse/JEXL-272
>             Project: Commons JEXL
>          Issue Type: Bug
>    Affects Versions: 3.1
>            Reporter: Henri Biestro
>            Assignee: Henri Biestro
>            Priority: Major
>             Fix For: 3.2
>
>
> With expression 'x.[y].z()', if x.y is null, the evaluation succeeds 
> returning null instead of raising a JexlException.Property exception. This 
> behaviour should only explicitly occur with 'x.[y]?.z()'.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to