Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 82472 invoked from network); 28 Jul 2005 18:34:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Jul 2005 18:34:49 -0000 Received: (qmail 45012 invoked by uid 500); 28 Jul 2005 18:34:44 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 44767 invoked by uid 500); 28 Jul 2005 18:34:42 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 44738 invoked by uid 99); 28 Jul 2005 18:34:42 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jul 2005 11:34:26 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 27894EA for ; Thu, 28 Jul 2005 20:34:23 +0200 (CEST) Message-ID: <1587985956.1122575663160.JavaMail.jira@ajax.apache.org> Date: Thu, 28 Jul 2005 20:34:23 +0200 (CEST) From: "Ken Weiner (JIRA)" To: dev@myfaces.apache.org Subject: [jira] Commented: (MYFACES-130) x:selectManyCheckbox , if is not items selected, i have NullPointerException Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ 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