[richfaces-issues] [JBoss JIRA] Commented: (RF-5772) OL/LS: NullPointerException when value is Map-bound

nimo stephan (JIRA) jira-events at lists.jboss.org
Sun Jan 25 14:17:44 EST 2009


    [ https://jira.jboss.org/jira/browse/RF-5772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12449623#action_12449623 ] 

nimo stephan commented on RF-5772:
----------------------------------

Sorry, I have forgotten to paste the @Factory-Annotation (the rest is the same): 


@Name("myView")
@Scope(CONVERSATION)
public class MyView {

@Out(required=false) private Map<String,List <String>> myMap;

@Begin(join = true) @Factory  
public void init()
{

List<String> locals = new ArrayList<String>();
for(SelectItem i: LocaleSelector.instance().getSupportedLocales()) {locals .add(i.getValue());}

myMap= new HashMap<String, List<String>>();
myMap.put("all", locals);

} 

> OL/LS: NullPointerException when value is Map-bound
> ---------------------------------------------------
>
>                 Key: RF-5772
>                 URL: https://jira.jboss.org/jira/browse/RF-5772
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.3.0
>            Reporter: Nick Belaevski
>            Assignee: Tsikhon Kuprevich
>             Fix For: 3.3.1
>
>
> Details on forum

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list