Uploaded image for project: 'Commons JEXL'
  1. Commons JEXL
  2. JEXL-272

Dereferencing null property not reported on method call

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1
    • 3.2
    • None

    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()'.

      Attachments

        Activity

          People

            henrib Henri Biestro
            henrib Henri Biestro
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: