Problem solved. I'm working with GAE and using a memcache-based page store instead of the default. I didn't closely read some of the code I copied and the cache size was limited to 3 :(
I removed the size and the problem is gone! Chris For anyone who is interested, I used the implementation discussed here: http://thoughts.inphina.com/2010/10/20/managing-wicket-serialization-problem-on-google-app-engine/ On 9/16/2011 5:03 PM, Igor Vaynberg wrote: > seems rather strange. quickstart would help. > > -igor > > > On Fri, Sep 16, 2011 at 1:34 PM, Chris Merrill <[email protected]> > wrote: >> I'm trying to understand why PageReference.getPage() would return null. >> I assume that when some criteria is met, a page can be expired from the >> cache. Are there any docs on this behavior? >> >> I have a case where the onSubmit() method is setting the response page >> using a PageReference to the previous page. Most of the time it works >> fine. But when I perform a very specific function on that page, then >> the PageReference returns null. I have checked the obvious - the >> PageReference is not fiddled with after it is passed into the page. >> The behavior is 100% repeatable and does not seem to be affected by >> how many other pages I have visited before performing the offending >> operation. >> >> The operation in question seems to be adding a specific component >> to the AjaxRequestTarget in AjaxFormComponentUpdatingBehavior.onUpdate(). >> I add two components to it. One of those adds appears to cause the failure. >> If I comment that out, that section of the page does not get updated and >> the failure does not happen. >> >> But I'm having a hard time seeing how the symptom (PageReference.getPage() >> returning null) is at all related to the apparent cause (AjaxRequestTarget. >> addComponent(specific_component)). I must be missing something. >> >> Can anyone point me in the right direction? >> >> TIA! >> Chris >> >> >> >> -- >> ------------------------------------------------------------------------ - >> Chris Merrill | Web Performance, Inc. >> [email protected] | http://webperformance.com >> 919-433-1762 | 919-845-7601 >> >> Web Performance: Website Load Testing Software & Services >> ------------------------------------------------------------------------ - >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- ------------------------------------------------------------------------ - Chris Merrill | Web Performance, Inc. [email protected] | http://webperformance.com 919-433-1762 | 919-845-7601 Web Performance: Website Load Testing Software & Services ------------------------------------------------------------------------ - --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
