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

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        330d 6h 54m 1 Jesse Kuhnert 08/Dec/06 03:29
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12567620 ] jira [ 12590755 ]
        Mark Thomas made changes -
        Workflow jira [ 12345602 ] Default workflow, editable Closed status [ 12567620 ]
        Jesse Kuhnert made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Jesse Kuhnert made changes -
        Field Original Value New Value
        Fix Version/s 4.1.1 [ 12312021 ]
        Dave Syer created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development