Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-2182

NullPointerExceptions, due to reading nested properties that do not suppress null values, do not indicate problematic expression for AbstractPropertyOutput derivatives

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 5.0.10
    • 5.0.11
    • Core Components
    • None

    Description

      When supplying a data source to a grid, if any instance in that data source has a null value for any of the rendered properties, an NPE will be thrown. Unfortunately, the error message does not indicate what the problematic property is, so the developer has to use a hold-one-out strategy to debug the problem. Indicating the column with the problem would help considerably. If there were a way to meaningfully identify the row as well, that would be extra nice.

      Attachments

        Activity

          People

            nirvdrum Kevin Menard
            nirvdrum Kevin Menard
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: