so can't we somehow fix it that the detach is called?
catch specific exceptions on one place?

johan


On 2/9/07, Al Maw <[EMAIL PROTECTED]> wrote:


I sort-of debugged this the other day.

The errors are caused by the Wicket exception page (which is why there
are a million components - they're all the Labels for the various
components/traces/whatever).

This is what I think goes wrong:

HtmlHeaderContainer throws an exception while rendering, or something,
such that its onDetach() is never called on it. This causes the
reference it has to headerResponse to never be set to null. It therefore
has a ref to a HeaderResponse, which has a ref to the Response object
itself.

This problem fixes itself if you make HeaderResponse's response field
transient, but I'm not sure that's the right solution.

Or something like that.

Al

Johan Compagner wrote:
> that also my question
> Now and then that pops up.. (the stringbuffer)
> but a response should never be hold on to.
>
> We need the new debugging outputstream for this!
>
> johan
>
>
> On 2/9/07, *Martijn Dashorst* <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>     But why is wicket.response.StringResponse this one still attached to
>     the page?
>
>     That shouldn't happen!
>
>     Martijn
>
>     On 2/9/07, Eelco Hillenius <[EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>> wrote:
>      > On 2/9/07, ChuckDeal <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
wrote:
>      > >
>      > > Wicket 1.3 (revision 505283)
>      > >
>      > > The following is a stack trace that I have experienced quite a
>     few times
>      > > recently.  This new behavior started in the past couple of
>     weeks.  My real
>      > > concern (besides all of the crap that is spewed into my log,
>     obscuring the
>      > > real exception) is the time it takes to do this: from the
>     timestamps you can
>      > > see that this takes roughly 21 seconds!  I guess my argument
>     would be that
>      > > if I received the first exception then of course something is
>     screwed up, so
>      > > why bother continueing whatever processing that is going on
>     that causes
>      > >         at wicket.util.lang.Objects.sizeof(Objects.java:1281)
>      > >         at wicket.Component.getSizeInBytes(Component.java:1107)
>      > >         at wicket.markup.html.debug.PageView$3.component
>     (PageView.java:140)
>      > > to be called.  It looks like some attempt to serialize but, if
>     I got the
>      > > first exception, what cause would there be to serialize
>     anything?  Is this a
>      > > work in progress type of thing or unexpected behavior?
>      >
>      > The NotSerializableExceptions gets swallowed silently in that
>     function
>      > since yesterday (which is in line with how it was implemented for
>      > 2.0). Why it takes so long? I have no idea unless you are working
>     with
>      > huge components. Even then 21 seconds sounds like something
>      > definitively being wrong.
>      >
>      > Eelco
>      >
>      >
>
-------------------------------------------------------------------------
>      > Using Tomcat but need to do more? Need to support web services,
>     security?
>      > Get stuff done quickly with pre-integrated technology to make
>     your job easier.
>      > Download IBM WebSphere Application Server v.1.0.1 based on Apache
>     Geronimo
>      >
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>     <
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>
>      > _______________________________________________
>      > Wicket-user mailing list
>      > Wicket-user@lists.sourceforge.net
>     <mailto:Wicket-user@lists.sourceforge.net>
>      > https://lists.sourceforge.net/lists/listinfo/wicket-user
>      >
>
>
>     --
>     Vote for Wicket at the
>     http://www.thebeststuffintheworld.com/vote_for/wicket
>     Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now!
>     http://wicketframework.org <http://wicketframework.org>
>
>
-------------------------------------------------------------------------
>     Using Tomcat but need to do more? Need to support web services,
>     security?
>     Get stuff done quickly with pre-integrated technology to make your
>     job easier.
>     Download IBM WebSphere Application Server v.1.0.1 based on Apache
>     Geronimo
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>     <
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>
>     _______________________________________________
>     Wicket-user mailing list
>     Wicket-user@lists.sourceforge.net
>     <mailto:Wicket-user@lists.sourceforge.net>
>     https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
> !DSPAM:45ccb74e321021313520622!
>
>
> ------------------------------------------------------------------------
>
>
-------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services,
security?
> Get stuff done quickly with pre-integrated technology to make your job
easier.
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
> !DSPAM:45ccb74e321021313520622!
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
> !DSPAM:45ccb74e321021313520622!


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to