Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-1672

PropertyDisplay component will swallow NPEs when evaluating the property, leaving no clue about the actual NPE

    Details

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              hlship Howard M. Lewis Ship
              Reporter:
              wwechsung@web.de Wulf Wechsung
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: