Uploaded image for project: 'Struts 1'
  1. Struts 1
  2. STR-3015

release set parameters to null in LinkTag

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.3.8
    • Fix Version/s: 1.3.9
    • Component/s: Tag Libraries
    • Labels:
      None

      Description

      In LinkTag the release() function is incorrectly setting null to parameters attribute.
      This lead to NullPointerException when the tag is reused.
      Line 391 :
      parameters = null;
      should become
      parameters.clear();

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pbenedict Paul Benedict
                Reporter:
                xpoinsard@openpricer.com Xavier Poinsard
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: