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 < [EMAIL PROTECTED]>:
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 attribute.
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+ countries for just 2¢/min with Yahoo! Messenger with Voice.




--
Yours truly (Atenciosamente),

Rogério

Reply via email to