mvel/mvel — pull request #25 by mariofusco (2011-10-11 19:38:05+00:00)
Title: throws a NPE when the property of a null object is tried to be accessed in unsafe way

In one of my former pull request ( https://github.com/mvel/mvel/pull/20 ) I omitted to properly manage a corner case: when the property of a null object is accessed in unsafe way (without the elvis operator) it should fail with a NPE instead of ignoring it silently as it does now. I discovered this bug by trying to run the drools test suite using the latest mvel snapshot