NullPointerException NPE in DiskPageStore after Session Timeout
---------------------------------------------------------------

                 Key: WICKET-2268
                 URL: https://issues.apache.org/jira/browse/WICKET-2268
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.4-RC2
         Environment: JDK 1.6, Netbeans 6.5 with GlassFish
            Reporter: bernard
            Priority: Critical


A NullPointerException is thrown on an attempt to sumit a login form after 
session timeout.
Wicket version 1.4 RC2

java.lang.NullPointerException
        at 
java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:768)
        at 
org.apache.wicket.protocol.http.pagestore.DiskPageStore.getSessionEntry(DiskPageStore.java:661)
        at 
org.apache.wicket.protocol.http.pagestore.DiskPageStore.containsPage(DiskPageStore.java:1255)
        at 
org.apache.wicket.protocol.http.SecondLevelCacheSessionStore$SecondLevelCachePageMap.containsPage(SecondLevelCacheSessionStore.java:268)
        at org.apache.wicket.Session.getPage(Session.java:660)
        at 
org.apache.wicket.request.target.coding.HybridUrlCodingStrategy.decode(HybridUrlCodingStrategy.java:211)
        at 
org.apache.wicket.protocol.http.request.WebRequestCodingStrategy.targetForRequest(WebRequestCodingStrategy.java:490)
        at 
org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:184)
        at g1.base.MemberApplication$2.resolve(MemberApplication.java:327)
        at org.apache.wicket.RequestCycle.step(RequestCycle.java:1246)
        at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1366)
        at org.apache.wicket.RequestCycle.request(RequestCycle.java:498)
        at 
org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:444)
        at 
org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:159)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:738)

Please refer to the attached testcase.



-- 
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