Uploaded image for project: 'Pluto'
  1. Pluto
  2. PLUTO-391

DefaultPortletPreferenceService#clonePreferences can return a null instead of an empty array and cause a NullPointerException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 1.1.3
    • None
    • portlet container
    • None
    • All

    Description

      The DefaultPortletPreferenceService class has a private method clonePreferences() that can return 'null' whereas it should instead return an empty array. The value returned is used in a for-loop in another methd without any check for the array object being null.

      Attachments

        1. patch-PLUTO-391.txt
          0.8 kB
          Marc Veary

        Activity

          People

            Unassigned Unassigned
            nwlcoc Marc Veary
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: