permaculture playing cards*
The moose likes JSF and the fly likes custom component: ArrayIndexOutOfBoundsException when changing from one tab to other  Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "custom component: ArrayIndexOutOfBoundsException when changing from one tab to other  " Watch "custom component: ArrayIndexOutOfBoundsException when changing from one tab to other  " New topic
Author

custom component: ArrayIndexOutOfBoundsException when changing from one tab to other

Rani Subramani
Greenhorn

Joined: Jan 16, 2009
Posts: 7
Hi all,

I am creating a custom component by extending rich:tabPanel

when i try to click from one tab to the other i get this exception

javax.servlet.ServletException: 3
javax.faces.webapp.FacesServlet.service(FacesServlet.java:256)
org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:154)
org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:260)
org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:366)
org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:493)


root cause

java.lang.ArrayIndexOutOfBoundsException: 3
javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1159)
javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1163)
javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1163)
org.ajax4jsf.application.AjaxStateManager.restoreView(AjaxStateManager.java:236)
com.sun.faces.application.ViewHandlerImpl.restoreView(ViewHandlerImpl.java:316)
org.ajax4jsf.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:116)
com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:176)
com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:104)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:154)
org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:260)
org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:366)
org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:493)

can anybody tell ahat needs to be done...

Thanks
Rani

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: custom component: ArrayIndexOutOfBoundsException when changing from one tab to other
 
Similar Threads
Richfaces skins
JSF - "Can't set property..."
Jsf DropDown menu "java.util.NoSuchElementException"
NoClassDefFoundError: Could not initialize class
Getting "view could not be restored" error, has anyone seen this before?