DefaultPortletPreferenceService#clonePreferences can return a null instead of
an empty array and cause a NullPointerException
-----------------------------------------------------------------------------------------------------------------------------
Key: PLUTO-391
URL: https://issues.apache.org/jira/browse/PLUTO-391
Project: Pluto
Issue Type: Bug
Components: portlet container
Affects Versions: 1.1.3
Environment: All
Reporter: Marc Veary
Fix For: 1.2.0
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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.