Affects Version/s: 3.0
Fix Version/s: 3.1
I'm getting sporadic undefined property error when accessing hashmap by a key. The stack trace tells the cause is NPE in MapGetExecutor.tryInvoke() at the following line:
I have managed to overcome this issue by adding the following null check:
I have only vague understanding of how things work inside jexl with tryInvoke() and unfortunately can not provide any test case for this, but it has worked in my case, so if nobody have any objections please include the fix in source tree.