Details
-
Improvement
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
3.1
-
None
Description
I have a method bar() that happens to throw a NullPointerException. A bug, of course. But when I use the following expression in JEXL:
foo.bar()
The JexlException.getMessage() result is:
io.guise.mesh.JexlMexlEvaluator.evaluate@1:… bar
This is too little information to be helpful (and too much irrelevant information— see JEXL-340). If a NullPointerException occurred during invocation of the method, it would be nice to know that. Otherwise the developer has no idea if JEXL couldn't find bar() or what exactly the problem was.
Obviously this is is a low priority bug that is in no way blocking anything. But it sure would be helpful if it could be improved one day.