[
https://issues.apache.org/jira/browse/MYFACES-1628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12582825#action_12582825
]
Leonardo Uribe commented on MYFACES-1628:
-
I have tested the patch on the helloworld demo
I throws the following exception:
javax.faces.FacesException: Exception while restoring state of component :
{Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: null][Class:
javax.faces.component.html.HtmlOutputText,Id: j_id0]}
at
javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:786)
at
javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:774)
at
org.apache.myfaces.application.pss.PssJspStateManagerImpl.restoreComponentState(PssJspStateManagerImpl.java:425)
at
org.apache.myfaces.application.pss.PssJspStateManagerImpl.restoreView(PssJspStateManagerImpl.java:242)
at
org.apache.myfaces.application.jsp.JspViewHandlerImpl.restoreView(JspViewHandlerImpl.java:506)
at
org.apache.myfaces.application.pss.PssJspViewHandlerImpl.restoreView(PssJspViewHandlerImpl.java:335)
at
org.apache.myfaces.application.pss.PssJspViewHandlerImpl.createView(PssJspViewHandlerImpl.java:131)
at
org.apache.myfaces.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:102)
at
org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:79)
at javax.faces.component.UICommand.broadcast(UICommand.java:121)
at
javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:292)
at javax.faces.component.UIViewRoot.process(UIViewRoot.java:209)
at
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:117)
at
org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:32)
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
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:324)
at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:842)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
Caused by: java.lang.NullPointerException
at
javax.faces.component.html.HtmlOutputText.restoreState(HtmlOutputText.java:260)
at
javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:784)
... 33 more
Please look this line
java.lang.NullPointerException - Exception while restoring state of component :
{Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: null][Class:
javax.faces.component.html.HtmlOutputText,Id: j_id0]}
Why UIViewRoot ViewId : null ?
Migrate Partial State Saving to 1.2
---
Key: MYFACES-1628
URL: https://issues.apache.org/jira/browse/MYFACES-1628
Project: MyFaces Core
Issue Type: New Feature
Components: JSR-252
Affects Versions: 1.2.0-SNAPSHOT, 1.2.1-SNAPSHOT
Reporter: Martin Haimberger
Assignee: Martin Haimberger
Fix For: 1.2.0-SNAPSHOT, 1.2.3-SNAPSHOT
Attachments: psspatch_MYFACES_1628.tar.gz
Migrate Partial State Saving to MyFaces 1.2
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.