You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrp4j-dev@portals.apache.org by ji...@apache.org on 2004/06/15 15:36:09 UTC
[jira] Commented: (WSRP4J-23) WSRPPortletEntityImpl.clone() doesn't account for null preference values
The following comment has been added to this issue:
Author: Julie MacNaught
Created: Tue, 15 Jun 2004 6:35 AM
Body:
Thanks Scott. Committed.
---------------------------------------------------------------------
View this comment:
http://issues.apache.org/jira/browse/WSRP4J-23?page=comments#action_36176
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/WSRP4J-23
Here is an overview of the issue:
---------------------------------------------------------------------
Key: WSRP4J-23
Summary: WSRPPortletEntityImpl.clone() doesn't account for null preference values
Type: Bug
Status: Unassigned
Priority: Minor
Project: WSRP4J
Components:
Producer
Versions:
current (nightly)
Assignee:
Reporter: Scott Goldstein
Created: Mon, 14 Jun 2004 10:22 PM
Updated: Tue, 15 Jun 2004 6:35 AM
Environment: N/A
Description:
This was found while running the test portlets packaged with Pluto. During use, it sets a preference value to null. If this portlet is then cloned, a NullPointerException occurs in org.apache.wsrp4j.producer.provider.pluto.driver.WSRPPortletEntityImpl.clone() on line 69:
Preference pref = (Preference)oldPrefs.next();
ArrayList values = new ArrayList();
Iterator iter = pref.getValues();
--> while (iter.hasNext())
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira