You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by "Elliot Metsger (JIRA)" <ji...@apache.org> on 2006/08/21 01:55:15 UTC

[jira] Commented: (PLUTO-184) Null Pointer Exception in PreferenceImp.getValues()

    [ http://issues.apache.org/jira/browse/PLUTO-184?page=comments#action_12429308 ] 
            
Elliot Metsger commented on PLUTO-184:
--------------------------------------

sonal, do you have a stacktrace?  I'm having some difficulty reproducing the bug.

> Null Pointer Exception in PreferenceImp.getValues()
> ---------------------------------------------------
>
>                 Key: PLUTO-184
>                 URL: http://issues.apache.org/jira/browse/PLUTO-184
>             Project: Pluto
>          Issue Type: Bug
>          Components: portal driver
>    Affects Versions: 1.0.1-rc4
>         Environment: Irrelevant
>            Reporter: sonal
>         Assigned To: Elliot Metsger
>             Fix For: 1.0.2
>
>
> Below is the example portlet.xml snippet.
> <preference>
>                 <name>categories</name>
> </preference>
> getValues() method of PeferencesImpl throws a NullPointerException (Line# 53).
> setCastorValues() is never called, in the absence of value elements in portlet.xml. Hence "values" are never initialised to an empty ArrayList.  

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira