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
Assigned To: Eelco Hillenius
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