You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Pedro Santos (JIRA)" <ji...@apache.org> on 2011/04/05 23:07:06 UTC

[jira] [Commented] (WICKET-3570) Wicket Ajax Tree example loggin IllegalStateException on console

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

Pedro Santos commented on WICKET-3570:
--------------------------------------

BaseWicketTester is a mess in my workspace, so to this patch work please follow:
- change BaseWicketTester.WicketTesterServletWebResponse and BaseWicketTester#newServletWebResponse access modifier to public
- change BaseWicketTester#newServletWebResponse return type to Response

> Wicket Ajax Tree example loggin IllegalStateException on console
> ----------------------------------------------------------------
>
>                 Key: WICKET-3570
>                 URL: https://issues.apache.org/jira/browse/WICKET-3570
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket-examples
>    Affects Versions: 1.5-RC3
>         Environment: IE 8, can't reproduce on Chrome
>            Reporter: Pedro Santos
>            Assignee: Pedro Santos
>            Priority: Minor
>         Attachments: WICKET-3570.patch
>
>
> Simply visiting http://localhost:8080/nested/wicket/bookmarkable/org.apache.wicket.examples.ajax.builtin.tree.SimpleTreePage on wicket-examples site using IE and selecting a node, triggers IllegalStateException.
> ERROR - RequestCycle               - Error during processing error message
> java.lang.IllegalStateException: Header was already written to response!
>         at org.apache.wicket.protocol.http.HeaderBufferingWebResponse.checkHeader(HeaderBufferingWebResponse.java:62)
>         at org.apache.wicket.protocol.http.HeaderBufferingWebResponse.setDateHeader(HeaderBufferingWebResponse.java:131)
>         at org.apache.wicket.protocol.http.BufferedWebResponse$SetDateHeaderAction.invoke(BufferedWebResponse.java:241)
>         at org.apache.wicket.protocol.http.BufferedWebResponse.writeTo(BufferedWebResponse.java:487)
>         at org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:225)
>         at org.apache.wicket.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:139)
>         at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:715)
>         at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:63)
>         at org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:274)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira