Propertydisplay swallows NPEs
-----------------------------
Key: TAP5-1672
URL: https://issues.apache.org/jira/browse/TAP5-1672
Project: Tapestry 5
Issue Type: Bug
Components: tapestry-core
Affects Versions: 5.2.6
Reporter: Wulf Wechsung
Priority: Minor
Situation:
A property (prop) on an object is realized by a getter (ie getProp()). The
getter throws a NullPointerException on invokation.
Observed Behavior:
Trying to display the property, the propertydisplay component reports an error
"Property 'currentlyOverdue' contains a null value in the path." without any
trace of the underlying NPE.
Expected Behavior:
The error report should include the stack-trace off the NPE and the error
message could also be a bit clearer.
It's possible that propertydisplay also fails to report other exceptions that
occur in a getter.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira