Garret Wilson created JEXL-341: ---------------------------------- Summary: Errors needs to provide more information on caught exceptions. Key: JEXL-341 URL: https://issues.apache.org/jira/browse/JEXL-341 Project: Commons JEXL Issue Type: Improvement Affects Versions: 3.1 Reporter: Garret Wilson
I have a method {{bar()}} that happens to throw a {{NullPointerException}}. A bug, of course. But when I use the following expression in JEXL: {noformat}foo.bar(){noformat} The {{JexlException.getMessage()}} result is: {noformat}io.guise.mesh.JexlMexlEvaluator.evaluate@1:… bar{noformat} 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. -- This message was sent by Atlassian Jira (v8.3.4#803005)