You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Mark Stang <ms...@pingidentity.com> on 2007/08/29 23:15:30 UTC

StaleLink issue

Hi
I am getting this when I click a radio button which changes my UI via conditionals. If I go back and forth multiple times, eventually it breaks.  I am using AnySubmits to cause the form to be submitted.  I understand that during the submit I made a change that the rewind doesn't like.  My question is how, in a Tapestry component, do I push off the changes so the rewind has a chance to happen.  I usually use a submit listener or I use a form listener.  What is available in BaseComponent?

13:52:24,048 ERROR [Exception] Unable to update expression '<parsed expression>' of com.pingidentity.page.Exception@970d5b[StaleLink] to Rewind of form Home/form expected allocated id #47 to be '$FormConditional$21', but was 'mumTitlesConditional' (requested by component Holder/accountManagement.userList.mumTitlesConditional)..
org.apache.tapestry.ApplicationRuntimeException: Unable to update expression '<parsed expression>' of com.pingidentity.page.Exception@970d5b[StaleLink] to Rewind of form Home/form expected allocated id #47 to be '$FormConditional$21', but was 'mumTitlesConditional' (requested by component Holder/accountManagement.userList.mumTitlesConditional)..
        at org.apache.tapestry.util.prop.OgnlUtils.set(OgnlUtils.java:105)
        at org.apache.tapestry.util.prop.OgnlUtils.set(OgnlUtils.java:84)
        at org.apache.tapestry.AbstractComponent.setProperty(AbstractComponent.java:1134)
        at org.apache.tapestry.engine.AbstractEngine.handleStaleLinkException(AbstractEngine.java:1099)
        at org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:907)
        at org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:198)
        at org.apache.tapestry.ApplicationServlet.doPost(ApplicationServlet.java:327)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
        at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473)
        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
        at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
        at org.mortbay.http.HttpServer.service(HttpServer.java:909)
        at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
        at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
        at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
        at com.pingidentity.appserver.jetty.DynamicSslListener.handleConnection(DynamicSslListener.java:187)
        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Caused by: ognl.NoSuchPropertyException: com.pingidentity.page.Exception.message
        at ognl.ObjectPropertyAccessor.setProperty(ObjectPropertyAccessor.java:133)
        at ognl.OgnlRuntime.setProperty(OgnlRuntime.java:1629)
        at ognl.ASTProperty.setValueBody(ASTProperty.java:105)
        at ognl.SimpleNode.evaluateSetValueBody(SimpleNode.java:177)
        at ognl.SimpleNode.setValue(SimpleNode.java:246)
        at ognl.Ognl.setValue(Ognl.java:476)
        at org.apache.tapestry.util.prop.OgnlUtils.set(OgnlUtils.java:101)
        ... 22 more

Thanks!

Mark

Mark J. Stang
Software Engineer
office: +1 303.468.2900
Ping Identity