Tapestry
  1. Tapestry
  2. TAPESTRY-835

FieldLabel throws NullPointerException when field is null but displayName is set

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.1.1
    • Component/s: Framework
    • Labels:
      None

      Description

      The code checks for a null before calling field.getClientId(), but then fails to check before calling delegate.writeLabelPrefix(field, writer, cycle). Null pointer results inside the call to delegate. And the same for the Suffix.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Dave Syer
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development