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

FieldLabel throws NullPointerException when field is null but displayName is set

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: 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

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development