[ https://issues.apache.org/jira/browse/WICKET-3736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Grigorov resolved WICKET-3736. ------------------------------------- Resolution: Fixed Fix Version/s: 1.5-RC5 Assignee: Martin Grigorov Fixed with r1126429. The test that reproduced it is @Ignore'd because it takes ~30 secs. More info about the problem can be find at http://www.javaspecialists.eu/archive/Issue062.html > npe in StoredResponsesMap > ------------------------- > > Key: WICKET-3736 > URL: https://issues.apache.org/jira/browse/WICKET-3736 > Project: Wicket > Issue Type: Bug > Components: wicket-core > Affects Versions: 1.5-RC4 > Environment: linux 2.6.32 > tomcat 7.12 > jdk 1.6.0.22 > Reporter: francois > Assignee: Martin Grigorov > Fix For: 1.5-RC5 > > > While doing some load testing with with a small prog using Apache httpclient > (45 threads, only the get requests were done) > I got this error > 17:59:22.086 ERROR ["http-bio-8080"-exec-1] DefaultExceptionMapper - 108 - > Unexpected error occurred > java.lang.NullPointerException: null > at > org.apache.wicket.protocol.http.StoredResponsesMap$Value.access$000(StoredResponsesMap.java:37) > ~[wicket-core-1.5-RC4.2.jar:1.5-RC4.2] > at > org.apache.wicket.protocol.http.StoredResponsesMap.removeEldestEntry(StoredResponsesMap.java:73) > ~[wicket-core-1.5-RC4.2.jar:1.5-RC4.2] > at java.util.LinkedHashMap.addEntry(LinkedHashMap.java:410) > ~[na:1.6.0_22] > at java.util.HashMap.put(HashMap.java:385) ~[na:1.6.0_22] > at > org.apache.wicket.protocol.http.StoredResponsesMap.put(StoredResponsesMap.java:95) > ~[wicket-core-1.5-RC4.2.jar:1.5-RC4.2] > at > org.apache.wicket.protocol.http.WebApplication.storeBufferedResponse(WebApplication.java:723) > ~[wicket-core-1.5-RC4.2.jar:1.5-RC4.2] > at > org.apache.wicket.request.handler.render.WebPageRenderer.storeBufferedResponse(WebPageRenderer.java:73) > ~[wicket-core-1.5-RC4.2.jar:1.5-RC4.2] > at > org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:258) > ~[wicket-core-1.5-RC4.2.jar:1.5-RC4.2] > at > org.apache.wicket.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:139) > ~[wicket-core-1.5-RC4.2.jar:1.5-RC4.2] > at > org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:718) > ~[wicket-core-1.5-RC4.2.jar:1.5-RC4.2] > at > org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:63) > ~[wicket-request-1.5-RC4.2.jar:1.5-RC4.2] > at > org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96) > ~[wicket-request-1.5-RC4.2.jar:1.5-RC4.2] > at > org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:212) > [wicket-core-1.5-RC4.2.jar:1.5-RC4.2] > at > org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:253) > [wicket-core-1.5-RC4.2.jar:1.5-RC4.2] > at > org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:138) > [wicket-core-1.5-RC4.2.jar:1.5-RC4.2] > at > org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:194) > [wicket-core-1.5-RC4.2.jar:1.5-RC4.2] > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) > [catalina.jar:7.0.12] > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) > [catalina.jar:7.0.12] > via jmx I could see that only 45 sessions were there > and that the PeakNumberOfActiveRequests was also 45. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira