[ 
https://issues.apache.org/jira/browse/WICKET-5371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13876584#comment-13876584
 ] 

Vojtěch Krása commented on WICKET-5371:
---------------------------------------

After upgrading to Wicket 6.13.0 and Wicket-Atmosphere 0.15, the behaviour 
changed a little bit:
It throws now:
{code}
java.lang.RuntimeException: org.eclipse.jetty.io.EofException
        at 
org.atmosphere.cpr.AtmosphereResponse.write(AtmosphereResponse.java:959) 
~[atmosphere-runtime-2.0.0.jar:2.0.0]
        at 
org.atmosphere.cpr.AtmosphereResponse.write(AtmosphereResponse.java:924) 
~[atmosphere-runtime-2.0.0.jar:2.0.0]
        at 
org.atmosphere.cpr.AtmosphereInterceptorWriter.writeReady(AtmosphereInterceptorWriter.java:89)
 ~[atmosphere-runtime-2.0.0.jar:2.0.0]
        at 
org.atmosphere.cpr.AtmosphereInterceptorWriter.invokeInterceptor(AtmosphereInterceptorWriter.java:78)
 ~[atmosphere-runtime-2.0.0.jar:2.0.0]
        at 
org.atmosphere.cpr.AtmosphereInterceptorWriter.write(AtmosphereInterceptorWriter.java:64)
 ~[atmosphere-runtime-2.0.0.jar:2.0.0]
        at 
org.atmosphere.cpr.AtmosphereInterceptorWriter.write(AtmosphereInterceptorWriter.java:59)
 ~[atmosphere-runtime-2.0.0.jar:2.0.0]
        at 
org.atmosphere.cpr.AtmosphereResponse$2.write(AtmosphereResponse.java:498) 
~[atmosphere-runtime-2.0.0.jar:2.0.0]
        at 
org.atmosphere.handler.AbstractReflectorAtmosphereHandler.onStateChange(AbstractReflectorAtmosphereHandler.java:176)
 ~[atmosphere-runtime-2.0.0.jar:2.0.0]
        at 
org.atmosphere.cpr.DefaultBroadcaster.invokeOnStateChange(DefaultBroadcaster.java:1028)
 [atmosphere-runtime-2.0.0.jar:2.0.0]
        at 
org.atmosphere.cpr.DefaultBroadcaster.prepareInvokeOnStateChange(DefaultBroadcaster.java:1048)
 [atmosphere-runtime-2.0.0.jar:2.0.0]
        at 
org.atmosphere.cpr.DefaultBroadcaster.executeAsyncWrite(DefaultBroadcaster.java:890)
 [atmosphere-runtime-2.0.0.jar:2.0.0]
        at 
org.atmosphere.cpr.DefaultBroadcaster$3.run(DefaultBroadcaster.java:546) 
[atmosphere-runtime-2.0.0.jar:2.0.0]
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) 
[na:1.7.0_03]
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) 
[na:1.7.0_03]
        at java.util.concurrent.FutureTask.run(FutureTask.java:166) 
[na:1.7.0_03]
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) 
[na:1.7.0_03]
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) 
[na:1.7.0_03]
        at java.lang.Thread.run(Thread.java:722) [na:1.7.0_03]
Caused by: org.eclipse.jetty.io.EofException: null
        at 
org.eclipse.jetty.http.HttpGenerator.flushBuffer(HttpGenerator.java:914) 
~[jetty-http-8.1.9.v20130131.jar:8.1.9.v20130131]
        at 
org.eclipse.jetty.http.AbstractGenerator.blockForOutput(AbstractGenerator.java:523)
 ~[jetty-http-8.1.9.v20130131.jar:8.1.9.v20130131]
        at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:170) 
~[jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
        at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:117) 
~[jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
        at 
org.atmosphere.cpr.AtmosphereResponse.write(AtmosphereResponse.java:950) 
~[atmosphere-runtime-2.0.0.jar:2.0.0]
        ... 17 common frames omitted
Caused by: java.io.IOException: Broken pipe
        at sun.nio.ch.FileDispatcherImpl.write0(Native Method) ~[na:1.7.0_03]
        at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47) 
~[na:1.7.0_03]
        at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:89) 
~[na:1.7.0_03]
        at sun.nio.ch.IOUtil.write(IOUtil.java:60) ~[na:1.7.0_03]
        at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:450) 
~[na:1.7.0_03]
        at 
org.eclipse.jetty.io.nio.ChannelEndPoint.flush(ChannelEndPoint.java:293) 
~[jetty-io-8.1.9.v20130131.jar:8.1.9.v20130131]
        at 
org.eclipse.jetty.io.nio.SelectChannelEndPoint.flush(SelectChannelEndPoint.java:362)
 ~[jetty-io-8.1.9.v20130131.jar:8.1.9.v20130131]
        at 
org.eclipse.jetty.io.nio.ChannelEndPoint.flush(ChannelEndPoint.java:341) 
~[jetty-io-8.1.9.v20130131.jar:8.1.9.v20130131]
        at 
org.eclipse.jetty.io.nio.SelectChannelEndPoint.flush(SelectChannelEndPoint.java:336)
 ~[jetty-io-8.1.9.v20130131.jar:8.1.9.v20130131]
        at 
org.eclipse.jetty.http.HttpGenerator.flushBuffer(HttpGenerator.java:841) 
~[jetty-http-8.1.9.v20130131.jar:8.1.9.v20130131]
        ... 21 common frames omitted
{code}

and several similar to this:

{code}
17:21:02  WARN RequestCycleExtra [qtp1533857509-214]: - 
********************************
17:21:02  WARN RequestCycleExtra [qtp1533857509-214]: - Handling the following 
exception
java.lang.IllegalStateException: STREAM
        at org.eclipse.jetty.server.Response.getWriter(Response.java:707) 
~[jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
        at 
org.atmosphere.cpr.AtmosphereResponse.getWriter(AtmosphereResponse.java:711) 
~[atmosphere-runtime-2.0.0.jar:2.0.0]
        at 
org.apache.wicket.protocol.http.servlet.ServletWebResponse.write(ServletWebResponse.java:109)
 ~[wicket-core-6.13.0.jar:6.13.0]
        at 
org.apache.wicket.protocol.http.HeaderBufferingWebResponse.write(HeaderBufferingWebResponse.java:174)
 ~[wicket-core-6.13.0.jar:6.13.0]
        at 
org.apache.wicket.ajax.AjaxRequestHandler.respond(AjaxRequestHandler.java:361) 
~[wicket-core-6.13.0.jar:6.13.0]
        at 
org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:861)
 ~[wicket-core-6.13.0.jar:6.13.0]
        at 
org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
 ~[wicket-request-6.13.0.jar:6.13.0]
        at 
org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:97)
 ~[wicket-request-6.13.0.jar:6.13.0]
        at 
org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:261) 
[wicket-core-6.13.0.jar:6.13.0]
        at 
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:218)
 [wicket-core-6.13.0.jar:6.13.0]
        at 
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:289)
 [wicket-core-6.13.0.jar:6.13.0]
        at 
org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:259)
 [wicket-core-6.13.0.jar:6.13.0]
        at 
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:201)
 [wicket-core-6.13.0.jar:6.13.0]
        at 
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:282) 
[wicket-core-6.13.0.jar:6.13.0]
        at 
org.atmosphere.util.AtmosphereFilterChain.doFilter(AtmosphereFilterChain.java:155)
 [atmosphere-runtime-2.0.0.jar:2.0.0]
        at 
org.atmosphere.util.AtmosphereFilterChain.invokeFilterChain(AtmosphereFilterChain.java:132)
 [atmosphere-runtime-2.0.0.jar:2.0.0]
        at 
org.atmosphere.handler.ReflectorServletProcessor$FilterChainServletWrapper.service(ReflectorServletProcessor.java:359)
 [atmosphere-runtime-2.0.0.jar:2.0.0]
        at 
org.atmosphere.handler.ReflectorServletProcessor.onRequest(ReflectorServletProcessor.java:204)
 [atmosphere-runtime-2.0.0.jar:2.0.0]
        at 
org.atmosphere.cpr.AsynchronousProcessor.action(AsynchronousProcessor.java:237) 
[atmosphere-runtime-2.0.0.jar:2.0.0]
        at 
org.atmosphere.cpr.AsynchronousProcessor.suspended(AsynchronousProcessor.java:163)
 [atmosphere-runtime-2.0.0.jar:2.0.0]
        at 
org.atmosphere.container.Jetty7CometSupport.service(Jetty7CometSupport.java:94) 
[atmosphere-runtime-2.0.0.jar:2.0.0]
        at 
org.atmosphere.container.JettyAsyncSupportWithWebSocket.service(JettyAsyncSupportWithWebSocket.java:67)
 [atmosphere-runtime-2.0.0.jar:2.0.0]
        at 
org.atmosphere.cpr.AtmosphereFramework.doCometSupport(AtmosphereFramework.java:1675)
 [atmosphere-runtime-2.0.0.jar:2.0.0]
        at 
org.atmosphere.cpr.AtmosphereServlet.doPost(AtmosphereServlet.java:177) 
[atmosphere-runtime-2.0.0.jar:2.0.0]
        at 
org.atmosphere.cpr.AtmosphereServlet.doGet(AtmosphereServlet.java:163) 
[atmosphere-runtime-2.0.0.jar:2.0.0]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:735) 
[javax.servlet-3.0.0.v201112011016.jar:na]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) 
[javax.servlet-3.0.0.v201112011016.jar:na]
        at 
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:669) 
[jetty-servlet-8.1.9.v20130131.jar:8.1.9.v20130131]
        at 
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:457) 
[jetty-servlet-8.1.9.v20130131.jar:8.1.9.v20130131]
        at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) 
[jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
        at 
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557) 
[jetty-security-8.1.9.v20130131.jar:8.1.9.v20130131]
        at 
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
 [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
        at 
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075)
 [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
        at 
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384) 
[jetty-servlet-8.1.9.v20130131.jar:8.1.9.v20130131]
        at 
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
 [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
        at 
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009)
 [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
        at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) 
[jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
        at 
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)
 [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
        at 
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)
 [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
        at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) 
[jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
        at org.eclipse.jetty.server.Server.handle(Server.java:368) 
[jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
        at 
org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:488)
 [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
        at 
org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:932)
 [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
        at 
org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:994)
 [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
        at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:640) 
[jetty-http-8.1.9.v20130131.jar:8.1.9.v20130131]
        at 
org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) 
[jetty-http-8.1.9.v20130131.jar:8.1.9.v20130131]
        at 
org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
 [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
        at 
org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628)
 [jetty-io-8.1.9.v20130131.jar:8.1.9.v20130131]
        at 
org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
 [jetty-io-8.1.9.v20130131.jar:8.1.9.v20130131]
        at 
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
 [jetty-util-8.1.9.v20130131.jar:8.1.9.v20130131]
        at 
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) 
[jetty-util-8.1.9.v20130131.jar:8.1.9.v20130131]
        at java.lang.Thread.run(Thread.java:722) [na:1.7.0_03]
:

{code}
,ending with:
{code}
17:21:02 ERROR o.a.w.r.c.RequestCycle [qtp1533857509-214]: - Error during 
processing error message
java.lang.IllegalStateException: STREAM
        at org.eclipse.jetty.server.Response.getWriter(Response.java:707) 
~[jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
        at 
org.atmosphere.cpr.AtmosphereResponse.getWriter(AtmosphereResponse.java:711) 
~[atmosphere-runtime-2.0.0.jar:2.0.0]
        at 
org.apache.wicket.protocol.http.servlet.ServletWebResponse.sendRedirect(ServletWebResponse.java:251)
 ~[wicket-core-6.13.0.jar:6.13.0]
        at 
org.apache.wicket.protocol.http.HeaderBufferingWebResponse.sendRedirect(HeaderBufferingWebResponse.java:117)
 ~[wicket-core-6.13.0.jar:6.13.0]
        at 
org.apache.wicket.request.handler.render.WebPageRenderer.redirectTo(WebPageRenderer.java:158)
 ~[wicket-core-6.13.0.jar:6.13.0]
        at 
org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:317)
 ~[wicket-core-6.13.0.jar:6.13.0]
        at 
org.apache.wicket.core.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:165)
 ~[wicket-core-6.13.0.jar:6.13.0]
        at 
org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:861)
 ~[wicket-core-6.13.0.jar:6.13.0]
        at 
org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
 ~[wicket-request-6.13.0.jar:6.13.0]
        at 
org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:310)
 [wicket-core-6.13.0.jar:6.13.0]
        at 
org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:319)
 [wicket-core-6.13.0.jar:6.13.0]
        at 
org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:319)
 [wicket-core-6.13.0.jar:6.13.0]
        at 
org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:319)
 [wicket-core-6.13.0.jar:6.13.0]
        at 
org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:319)
 [wicket-core-6.13.0.jar:6.13.0]
        at 
org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:319)
 [wicket-core-6.13.0.jar:6.13.0]
        at 
org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:319)
 [wicket-core-6.13.0.jar:6.13.0]
        at 
org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:319)
 [wicket-core-6.13.0.jar:6.13.0]
        at 
org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:319)
 [wicket-core-6.13.0.jar:6.13.0]
        at 
org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:319)
 [wicket-core-6.13.0.jar:6.13.0]
        at 
org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:319)
 [wicket-core-6.13.0.jar:6.13.0]
        at 
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:233)
 [wicket-core-6.13.0.jar:6.13.0]
        at 
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:289)
 [wicket-core-6.13.0.jar:6.13.0]
        at 
org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:259)
 [wicket-core-6.13.0.jar:6.13.0]
        at 
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:201)
 [wicket-core-6.13.0.jar:6.13.0]
        at 
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:282) 
[wicket-core-6.13.0.jar:6.13.0]
        at 
org.atmosphere.util.AtmosphereFilterChain.doFilter(AtmosphereFilterChain.java:155)
 [atmosphere-runtime-2.0.0.jar:2.0.0]
        at 
org.atmosphere.util.AtmosphereFilterChain.invokeFilterChain(AtmosphereFilterChain.java:132)
 [atmosphere-runtime-2.0.0.jar:2.0.0]
        at 
org.atmosphere.handler.ReflectorServletProcessor$FilterChainServletWrapper.service(ReflectorServletProcessor.java:359)
 [atmosphere-runtime-2.0.0.jar:2.0.0]
        at 
org.atmosphere.handler.ReflectorServletProcessor.onRequest(ReflectorServletProcessor.java:204)
 [atmosphere-runtime-2.0.0.jar:2.0.0]
        at 
org.atmosphere.cpr.AsynchronousProcessor.action(AsynchronousProcessor.java:237) 
[atmosphere-runtime-2.0.0.jar:2.0.0]
        at 
org.atmosphere.cpr.AsynchronousProcessor.suspended(AsynchronousProcessor.java:163)
 [atmosphere-runtime-2.0.0.jar:2.0.0]
        at 
org.atmosphere.container.Jetty7CometSupport.service(Jetty7CometSupport.java:94) 
[atmosphere-runtime-2.0.0.jar:2.0.0]
        at 
org.atmosphere.container.JettyAsyncSupportWithWebSocket.service(JettyAsyncSupportWithWebSocket.java:67)
 [atmosphere-runtime-2.0.0.jar:2.0.0]
        at 
org.atmosphere.cpr.AtmosphereFramework.doCometSupport(AtmosphereFramework.java:1675)
 [atmosphere-runtime-2.0.0.jar:2.0.0]
        at 
org.atmosphere.cpr.AtmosphereServlet.doPost(AtmosphereServlet.java:177) 
[atmosphere-runtime-2.0.0.jar:2.0.0]
        at 
org.atmosphere.cpr.AtmosphereServlet.doGet(AtmosphereServlet.java:163) 
[atmosphere-runtime-2.0.0.jar:2.0.0]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:735) 
[javax.servlet-3.0.0.v201112011016.jar:na]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) 
[javax.servlet-3.0.0.v201112011016.jar:na]
        at 
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:669) 
[jetty-servlet-8.1.9.v20130131.jar:8.1.9.v20130131]
        at 
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:457) 
[jetty-servlet-8.1.9.v20130131.jar:8.1.9.v20130131]
        at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) 
[jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
        at 
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557) 
[jetty-security-8.1.9.v20130131.jar:8.1.9.v20130131]
        at 
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
 [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
        at 
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075)
 [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
        at 
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384) 
[jetty-servlet-8.1.9.v20130131.jar:8.1.9.v20130131]
        at 
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
 [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
        at 
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009)
 [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
        at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) 
[jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
        at 
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)
 [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
        at 
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)
 [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
        at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) 
[jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
        at org.eclipse.jetty.server.Server.handle(Server.java:368) 
[jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
        at 
org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:488)
 [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
        at 
org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:932)
 [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
:
{code}





> IllegalArgumentException: Argument 'page' may not be null. - when sending 
> event from asynchronous process
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-5371
>                 URL: https://issues.apache.org/jira/browse/WICKET-5371
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-atmosphere
>    Affects Versions: 6.10.0
>            Reporter: Vojtěch Krása
>            Assignee: Emond Papegaaij
>
> I never reproduced it on local, it happens a lot on linux server behind 
> apache proxy(could be just coincidence). I could try to debug it, if you have 
> no idea why it could happen. It also seems that it happens only after server 
> is running for some time. 
> I am sending multiple events to update different panels from asynchronous 
> process like this: 
>  
> EventBus.get(Application.get(WicketApplication.class.getName())).post(new 
> ComponentBuildEvent());
> 15:16:36 ERROR o.a.w.DefaultExceptionMapper [refreshExecutor-4]: - Unexpected 
> error occurred
> java.lang.IllegalArgumentException: Argument 'page' may not be null.
>         at org.apache.wicket.util.lang.Args.notNull(Args.java:41) 
> ~[wicket-util-6.10.0.jar:6.10.0]
>         at 
> org.apache.wicket.ajax.AjaxRequestHandler.<init>(AjaxRequestHandler.java:112) 
> ~[wicket-core-6.10.0.jar:6.10.0]
>         at 
> org.apache.wicket.protocol.http.WebApplication$DefaultAjaxRequestTargetProvider.get(WebApplication.java:961)
>  ~[wicket-core-6.10.0.jar:6.10.0]
>         at 
> org.apache.wicket.protocol.http.WebApplication$DefaultAjaxRequestTargetProvider.get(WebApplication.java:954)
>  ~[wicket-core-6.10.0.jar:6.10.0]
>         at 
> org.apache.wicket.protocol.http.WebApplication.newAjaxRequestTarget(WebApplication.java:805)
>  ~[wicket-core-6.10.0.jar:6.10.0]
>         at 
> org.apache.wicket.atmosphere.AtmosphereRequestHandler.respond(AtmosphereRequestHandler.java:69)
>  ~[wicket-atmosphere-0.13.jar:0.13]
>         at 
> org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:861)
>  ~[wicket-core-6.10.0.jar:6.10.0]
>         at 
> org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
>  ~[wicket-request-6.10.0.jar:6.10.0]
>         at 
> org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:261) 
> [wicket-core-6.10.0.jar:6.10.0]
>         at 
> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:218)
>  [wicket-core-6.10.0.jar:6.10.0]
>         at 
> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:289)
>  [wicket-core-6.10.0.jar:6.10.0]
>         at org.apache.wicket.atmosphere.EventBus.post(EventBus.java:368) 
> [wicket-atmosphere-0.13.jar:0.13]
>         at 
> org.apache.wicket.atmosphere.EventBus.postToSingleResource(EventBus.java:344) 
> [wicket-atmosphere-0.13.jar:0.13]
>         at org.apache.wicket.atmosphere.EventBus.post(EventBus.java:319) 
> [wicket-atmosphere-0.13.jar:0.13]
>         at 
> krasa.build.backend.facade.AsyncService.sendRefresh(AsyncService.java:28) 
> [classes/:na]
>         at 
> krasa.build.backend.facade.AsyncService$$FastClassByCGLIB$$8fb726ed.invoke(<generated>)
>  [spring-core-3.2.3.RELEASE.jar:na]
>         at 
> org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) 
> [spring-core-3.2.3.RELEASE.jar:3.2.3.RELEASE]
>         at 
> org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:698)
>  [spring-aop-3.2.3.RELEASE.jar:3.2.3.RELEASE]
>         at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
>  [spring-aop-3.2.3.RELEASE.jar:3.2.3.RELEASE]
>         at 
> org.springframework.aop.interceptor.AsyncExecutionInterceptor$1.call(AsyncExecutionInterceptor.java:89)
>  [spring-aop-3.2.3.RELEASE.jar:3.2.3.RELEASE]
>         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) 
> [na:1.7.0_03]
>         at java.util.concurrent.FutureTask.run(FutureTask.java:166) 
> [na:1.7.0_03]
>         at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>  [na:1.7.0_03]
>         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>  [na:1.7.0_03]
>         at java.lang.Thread.run(Thread.java:722) [na:1.7.0_03]
> sometimes it even shows me this page, unfortunatelly I only found out later 
> in not used tabs:
> http://svn.tmdev:8765/wicket/page?23
> Unexpected RuntimeException
> Last cause: Argument 'page' may not be null.
> Stacktrace
> Root cause:
> java.lang.IllegalArgumentException: Argument 'page' may not be null.
> ....



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to