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

        Dave Syer created issue -
        Jesse Kuhnert made changes -
        Field Original Value New Value
        Fix Version/s 4.1.1 [ 12312021 ]
        Jesse Kuhnert made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Mark Thomas made changes -
        Workflow jira [ 12345602 ] Default workflow, editable Closed status [ 12567620 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12567620 ] jira [ 12590755 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development