Pluto
  1. Pluto
  2. PLUTO-391

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

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.1.3
    • Fix Version/s: None
    • Component/s: portlet container
    • Labels:
      None
    • Environment:
      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.

        Activity

        Marc Veary created issue -
        Marc Veary made changes -
        Field Original Value New Value
        Attachment patch-PLUTO-391.txt [ 12361292 ]
        Ate Douma made changes -
        Fix Version/s 1.2.0 [ 12312213 ]
        Mark Thomas made changes -
        Workflow jira [ 12407807 ] Default workflow, editable Closed status [ 12565092 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12565092 ] jira [ 12585828 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Marc Veary
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development