[ http://issues.apache.org/jira/browse/WICKET-108?page=all ]
Eelco Hillenius reassigned WICKET-108:
--------------------------------------
Assignee: (was: Eelco Hillenius)
Hey, don't shoot the messenger; I merely applied a patch. And as the unit tests
ran ok after that patch, I wasn't aware of any problems.
I haven't looked in much detail at at, but I'm not that intimate with the code,
so I'm putting it back to unassigned (also because I have a deadline to make
for Wicket In Action this weekend).
> onDetach in HtmlHeaderContainer isn't being called ->
> java.io.NotSerializableException: wicket.response.StringResponse
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: WICKET-108
> URL: http://issues.apache.org/jira/browse/WICKET-108
> Project: Wicket
> Issue Type: Bug
> Affects Versions: 1.3
> Reporter: Alastair Maw
>
> Am rudely assigning this one to Eelco without consultation, as I think he
> broke it. ;)
> HtmlHeaderContainer is keeping its reference to headerResponse, which isn't
> serializable, causing a java.io.NotSerializableException:
> wicket.response.StringResponse.
> It should be throwing away the reference on #onDetach(). For some reason
> #onDetach() isn't being called when presumably it should be. I'm still
> getting up to speed with how all this stuff works, so hopefully you'll be
> able to chase this one more efficiently than I can.
> In case it's useful, the stack trace for creating the HtmlHeaderContainer is
> something like this:
> HtmlHeaderResolver.resolve(MarkupContainer, MarkupStream, ComponentTag)
> line: 79
> MyRandomPage(MarkupContainer).renderNext(MarkupStream) line: 1359
> MyRandomPage(MarkupContainer).renderAll(MarkupStream) line: 942
> MyRandomPage(Page).onRender(MarkupStream) line: 978
> MyRandomPage(Component).render(MarkupStream) line: 1521
> MyRandomPage(Page).renderPage() line: 413
> BookmarkablePageRequestTarget.respond(RequestCycle) line: 226
> DefaultResponseStrategy.respond(RequestCycle) line: 47
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira