GeeCON Prague 2014*
The moose likes JSF and the fly likes IndexOutOfBoundsException at javax.faces.component.UICompo   Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSF
Bookmark "IndexOutOfBoundsException at javax.faces.component.UICompo   " Watch "IndexOutOfBoundsException at javax.faces.component.UICompo   " New topic
Author

IndexOutOfBoundsException at javax.faces.component.UICompo

Sushma Sharma
Ranch Hand

Joined: Jun 02, 2005
Posts: 139
Hi,

I am using JSF RI 1.1 and tomahawk 1.1.3 and application server is Weblogic 8.1
I am getting this exception in one of my pages. It does not happen everytime, but appears once in a blue moon... My project goes live in couple of days and I have no clue why is this happening... could not find any thing on the net. Please help.
Looks like there is some problem with the PanelGroup that I have bound to a property of the managed bean. I use this panel group to generate the menu. Since menu changes depending upon various factors, so every time menu changes, I clear the children of the PanelGroup and add new components to it. Perhaps that's the reason I am getting this error...
but isn't that the purpose of binding a component to backed bean property, so that we can make changes to it from the backing bean.

Is it a bug or I am doing some thing wrong?
Here is the stack trace of the exception:



Appriciate any help...
[ February 23, 2007: Message edited by: Bear Bibeault ]
joe black
Ranch Hand

Joined: Dec 03, 2003
Posts: 103
I was seeing the same issue. I found this:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6313874
Sushma Sharma
Ranch Hand

Joined: Jun 02, 2005
Posts: 139
I ckecked the bug you mentioned, but where is the solution?
recently, I have been seeing another IndexOutOfBoudsException. here is the stack trace.. again, It does not happen everytime..


joe black
Ranch Hand

Joined: Dec 03, 2003
Posts: 103
I get the same stack trace as you posted above, sometimes. Looks like there is no solution.
joe black
Ranch Hand

Joined: Dec 03, 2003
Posts: 103
Which version are you using. The bug claims it is fixed in JSF 1.2
Sushma Sharma
Ranch Hand

Joined: Jun 02, 2005
Posts: 139
I am using Sun RI 1.1 and problem is I can't use JSF1.2 as our application server weblogic 8.1 doesn't support it...
amit nahata
Greenhorn

Joined: Sep 10, 2011
Posts: 1
Hi,

I am also facing the same problem, it's the old legacy application ans we are using jsf 1.1.
Is tere any solution for this error, if yes please suggest.

-Amit
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: IndexOutOfBoundsException at javax.faces.component.UICompo