[ 
http://issues.apache.org/jira/browse/MYFACES-130?page=comments#action_12317115 
] 

Ken Weiner commented on MYFACES-130:
------------------------------------

Is this the same problem that was reported in MYFACES-149 
(http://issues.apache.org/jira/browse/MYFACES-149)?
If so, it appears to have been fixed in 1.0.9 beta. 

>  x:selectManyCheckbox  , if is not items selected, i have NullPointerException
> ------------------------------------------------------------------------------
>
>          Key: MYFACES-130
>          URL: http://issues.apache.org/jira/browse/MYFACES-130
>      Project: MyFaces
>         Type: Bug
>     Versions: Nightly Build
>  Environment: myfaces 1.0.9 from CVS, tomcat 5.0.28, jre 1.5
>     Reporter: Grigoras Cristinel

>
> java.lang.NullPointerException
>         at 
> org.apache.myfaces.renderkit._SharedRendererUtils.getConvertedUISelectManyValue(_SharedRendererUtils.java:118)
>         at 
> org.apache.myfaces.renderkit.RendererUtils.getConvertedUISelectManyValue(RendererUtils.java:792)
>         at 
> org.apache.myfaces.renderkit.html.HtmlCheckboxRendererBase.getConvertedValue(HtmlCheckboxRendererBase.java:260)
>         at 
> javax.faces.component.UISelectMany.getConvertedValue(UISelectMany.java:296)
>         at javax.faces.component.UIInput.validate(UIInput.java:291)
>         at javax.faces.component.UISelectMany.validate(UISelectMany.java:285)
>         at javax.faces.component.UIInput.processValidators(UIInput.java:166)
>         at 
> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:418)
>         at 
> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:418)
>         at 
> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:418)
>         at javax.faces.component.UIForm.processValidators(UIForm.java:66)
>         at 
> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:418)
>         at 
> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:418)
>         at 
> javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:162)
> I have checked and error was on file _SharedRendererUtils.java:118 
>   int len = submittedValue.length;
> Is ok to be null ? 
> Cristi

-- 
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

Reply via email to