Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

custom component: ArrayIndexOutOfBoundsException when changing from one tab to other

 
Rani Subramani
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic