You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Henri Biestro (JIRA)" <ji...@apache.org> on 2018/09/12 12:40:00 UTC

[jira] [Created] (JEXL-272) Dereferencing null property not reported on method call

Henri Biestro created JEXL-272:
----------------------------------

             Summary: 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
             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)