Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 73543 invoked from network); 30 May 2006 12:15:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 May 2006 12:15:43 -0000 Received: (qmail 76367 invoked by uid 500); 30 May 2006 12:15:38 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 76322 invoked by uid 500); 30 May 2006 12:15:38 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 76311 invoked by uid 99); 30 May 2006 12:15:38 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 May 2006 05:15:38 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of rogerio.araujo@gmail.com designates 64.233.184.239 as permitted sender) Received: from [64.233.184.239] (HELO wr-out-0506.google.com) (64.233.184.239) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 May 2006 05:15:37 -0700 Received: by wr-out-0506.google.com with SMTP id i11so886833wra for ; Tue, 30 May 2006 05:15:15 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references; b=e/EtlFt90QYCENb0Kgrfh4iekHwpfD3yJuUdlAXsWs47NUIZ7DQ6k1LMoj3YGhA/3n3D1NAmvmfPievvdXx82EPB3uaGydVofVx+ojKOACseNnF1pEBC2tKbHR9Y3L5JB+WkfgKuzzrLmT7fxkZZEMlA88Tf1RK7BxRU9AGuJMY= Received: by 10.64.148.17 with SMTP id v17mr1672254qbd; Tue, 30 May 2006 05:15:14 -0700 (PDT) Received: by 10.64.210.4 with HTTP; Tue, 30 May 2006 05:15:14 -0700 (PDT) Message-ID: <41e8ec0c0605300515o7399d934y98969c10d36a764@mail.gmail.com> Date: Tue, 30 May 2006 09:15:14 -0300 From: "Rogerio Pereira" Reply-To: rogerio.araujo@gmail.com To: "MyFaces Discussion" Subject: Re: IndexOutOfBoundsException with custom component In-Reply-To: <20060530121253.34699.qmail@web36503.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2721_11501945.1148991314602" References: <20060530121253.34699.qmail@web36503.mail.mud.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_2721_11501945.1148991314602 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Right now i'm getting many problems related to arraylist and i'm getting similar error when using dependency injection with ArrayLists in session scope. 2006/5/30, Ionut S : > > Hi there, > I have created a custom components that agregates 2 other components. The > component works just fine until a submit is performed. Then I get the > following error: > .............. > 14:57:10,531 WARN [HtmlGridRendererBase] PanelGrid _id0:holder has not > enough children. Child count should be a multiple of the columns attribut= e. > 14:57:11,240 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces > Servlet threw exception > java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 > at java.util.ArrayList.RangeCheck(ArrayList.java:546) > at java.util.ArrayList.get(ArrayList.java:321) > at javax.faces.component.UIComponentBase.processRestoreState( > UIComponentBase.java:499) > at javax.faces.component.UIComponentBase.processRestoreState( > UIComponentBase.java:502) > at javax.faces.component.UIComponentBase.processRestoreState( > UIComponentBase.java:502) > ............... > > I set ids for all the children in the custom component and also for the > component itself. Is somebody who had this problem before ? > > Thank you, > Ionut > > ------------------------------ > Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countriesfor just 2=A2/min with Yahoo! Messenger with Voi= ce. > > --=20 Yours truly (Atenciosamente), Rog=E9rio ------=_Part_2721_11501945.1148991314602 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Right now i'm getting many problems related to arraylist and i'm getting si= milar error when using dependency injection with ArrayLists in session scop= e.

2006/5/30, Ionut S < sionut2@yahoo.com>:
Hi there,
I have created a custom components that a= gregates 2 other components. The component works just fine until a submit i= s performed. Then I get the following error:
..............
14:57:10,531 WARN  [HtmlGridRendererBase] PanelG= rid _id0:holder has not enough children. Child count should be a multiple o= f the columns attribute.
14:57:11,240 ERROR [[Faces Servlet]] Servlet.se= rvice () for servlet Faces Servlet threw exception
java.lang.IndexOutOfBoundsE= xception: Index: 1, Size: 1
        a= t java.util.ArrayList.RangeCheck(ArrayList.java:546)
   &= nbsp;    at java.util.ArrayList.get(ArrayList.java:321)
        at javax.faces.component.UIC= omponentBase.processRestoreState(UIComponentBase.java:499)
  &= nbsp;     at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.= java:502)
        at javax.faces.comp= onent.UIComponentBase.processRestoreState(UIComponentBase.java:502)
....= ...........

I set ids for all the children in the custom component a= nd also for the component itself. Is somebody who had this problem before ?

Thank you,
Ionut
<= div>

=09=09


Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries for just 2=A2/min with Yahoo! Messenger with Vo= ice.




--
You= rs truly (Atenciosamente),

Rog=E9rio ------=_Part_2721_11501945.1148991314602--