geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob78 <alwin....@citicorp.com>
Subject JSF 1.2, Geronimo WoodStock Control, Exception while restoring state of component
Date Wed, 25 Mar 2009 10:58:59 GMT

Hi All,
Server  : Geronimo Build 2.1.1.1-20081204 
Java     : Version 1.5.0_06 
JSF       : 1.2
Controls : WoodStock components

I am using JSF with woodstock components, 

When i am running the app, the first page with the controls loads
successfully, but the state of the components are not saved in the session, 
I have the below entry in my web.xml

  <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>server</param-value>
  </context-param>

Please can you point me in the right direction ?
Regards
Joe

Below is the stack trace of 

javax.faces.FacesException: Exception while restoring state of component :
{Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId:
null][Class: com.sun.rave.web.ui.component.Page,Id: page1][Class:
com.sun.rave.web.ui.component.Html,Id: html1][Class:
com.sun.rave.web.ui.component.Body,Id: body1][Class:
com.sun.rave.web.ui.component.Form,Id: form1][Class:
com.sun.rave.web.ui.component.TabSet,Id: tabSet1][Class:
com.sun.rave.web.ui.component.Tab,Id: hierarchy_tab][Class:
com.sun.rave.web.ui.component.PanelLayout,Id: layoutPanel_id][Class:
javax.faces.component.UINamingContainer,Id: LegalHierarchy][Class:
com.sun.rave.web.ui.component.Table,Id: DirectParentTable_id][Class:
com.sun.rave.web.ui.component.TableRowGroup,Id: directParent_RowGrup]}
	at
javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:834)
	at
javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:822)
	at
javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:822)
	at
javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:822)
	at
javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:822)
	at
javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:822)
	at
javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:822)
	at
javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:822)
	at
javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:822)
	at
javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:822)
	at
javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:822)
	at
org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreView(JspStateManagerImpl.java:316)
	at
org.apache.myfaces.application.jsp.JspViewHandlerImpl.restoreView(JspViewHandlerImpl.java:506)
	at
com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.restoreView(ViewHandlerImpl.java:345)
	at
org.apache.myfaces.lifecycle.RestoreViewExecutor.execute(RestoreViewExecutor.java:85)
	at
org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:103)
	at
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:76)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:148)
	at
com.citigroup.cdms.gfcid.controller.CustomFacesServlet.service(CustomFacesServlet.java:100)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:225)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at
org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(DefaultSubjectValve.java:56)
	at
org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:406)
	at
org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:47)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
	at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
	at
javax.faces.component.UIComponentBase.getRenderer(UIComponentBase.java:848)
	at
javax.faces.component.UIComponentBase.getClientId(UIComponentBase.java:243)
	at
javax.faces.component.UIComponent.getContainerClientId(UIComponent.java:300)
	at javax.faces.component.UIForm.getContainerClientId(UIForm.java:135)
	at
javax.faces.component.UIComponentBase.getClientId(UIComponentBase.java:227)
	at
javax.faces.component.UIComponent.getContainerClientId(UIComponent.java:300)
	at
javax.faces.component.UIComponentBase.getClientId(UIComponentBase.java:227)
	at
javax.faces.component.UIComponent.getContainerClientId(UIComponent.java:300)
	at
javax.faces.component.UIComponentBase.getClientId(UIComponentBase.java:227)
	at
javax.faces.component.UIComponent.getContainerClientId(UIComponent.java:300)
	at
javax.faces.component.UIComponentBase.getClientId(UIComponentBase.java:227)
	at
com.sun.rave.web.ui.component.TableRowGroup.getProperties(TableRowGroup.java:1889)
	at
com.sun.rave.web.ui.component.TableRowGroup.restoreState(TableRowGroup.java:1575)
	at
javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:832)

-- 
View this message in context: http://www.nabble.com/JSF-1.2%2C-Geronimo-WoodStock-Control%2C-Exception-while-restoring-state-of-component-tp22699248s134p22699248.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message