Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-3311

NullPointerException in CheckboxInterceptor when parameters are null

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.1.6
    • Fix Version/s: 2.2.1
    • Component/s: Core Interceptors
    • Labels:
      None
    • Environment:

      Struts 2.1.6, but no changes in 2.1.8

      Description

      There is a NullPointerException in the CheckboxInterceptor when parameters are null at the following line :
      Set<Map.Entry> entries = parameters.entrySet();

      I don't know if "theorically" it should check or not for null parameters, but the XWork interceptors check it, so I think Struts2 interceptors should also check for null parameters.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              cimballi Cimballi
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: