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 07:25:09 UTC

[jira] Updated: (WSRP4J-23) WSRPPortletEntityImpl.clone() doesn't account for null preference values

The following issue has been updated:

    Updater: Scott Goldstein (mailto:sgoldstein@ezrs.com)
       Date: Mon, 14 Jun 2004 10:24 PM
    Comment:
Patch to fix the issue
    Changes:
             Attachment changed to clone.patch
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/browse/WSRP4J-23?page=history

---------------------------------------------------------------------
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: Mon, 14 Jun 2004 10:24 PM
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