[ 
https://issues.apache.org/jira/browse/WICKET-1738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Fussenegger updated WICKET-1738:
---------------------------------------

    Attachment: TerracottaPageStore.java.patch

just got an exception from TerracottaPageStore:
13:54:52,122 ERROR - RequestCycle               - 
java.util.NoSuchElementException
        at java.util.TreeMap.key(TreeMap.java:1206)
        at java.util.TreeMap$NavigableSubMap.lastKey(TreeMap.java:1435)
        at 
org.apache.wicket.protocol.http.pagestore.TerracottaPageStore$PageStore.getPage(TerracottaPageStore.java:274)
        at 
org.apache.wicket.protocol.http.pagestore.TerracottaPageStore.getPage(TerracottaPageStore.java:52)
        at 
org.apache.wicket.AbstractMolindoSessionStore$MolindoSecondLevelCachePageMap.get(AbstractMolindoSessionStore.java:139)
        at org.apache.wicket.Session.getPage(Session.java:751)
        at 
org.apache.wicket.request.AbstractRequestCycleProcessor.resolveRenderedPage(AbstractRequestCycleProcessor.java:448)
        at 
org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:139)
        at org.apache.wicket.RequestCycle.step(RequestCycle.java:1229)
        at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1349)
        at org.apache.wicket.RequestCycle.request(RequestCycle.java:493)
        at 
org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:387)
        at 
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:199)
        at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
        at 
org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
        at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
        at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)

this patch should fix that problem by adding a check for length() > 0

> New page map suitable for use in terracotta
> -------------------------------------------
>
>                 Key: WICKET-1738
>                 URL: https://issues.apache.org/jira/browse/WICKET-1738
>             Project: Wicket
>          Issue Type: New Feature
>          Components: wicket
>         Environment: Java 5+ required
>            Reporter: Richard Wilkinson
>            Priority: Minor
>         Attachments: TerracottaPageStore.java, TerracottaPageStore.java.patch
>
>
> Following on from discussion in this thread: 
> http://www.nabble.com/Terracotta-integration-td18168616.html
> A new implementation of PageStore has been created which stores the page map 
> in the users http session so that it is easy for terracotta to distribute the 
> page map.  Pages are serialized stored as byte arrays.
> Also required is updating of the wicket terracotta integration module.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to