[
https://issues.apache.org/jira/browse/PLUTO-391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12510670
]
Marc Veary commented on PLUTO-391:
----------------------------------
Actually, it won't be an issue for an implementation (no default) of the
PortletPreferencesService - end-of-the-week ;-)
> 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
>
> Attachments: patch-PLUTO-391.txt
>
>
> 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.