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

NullPointerException in CheckboxInterceptor when parameters are null

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.1.6
    • 2.2.1
    • Core Interceptors
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: