You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Eyal Golan <eg...@gmail.com> on 2009/10/06 19:41:23 UTC
WARN [org.apache.wicket.protocol.http.WebResponse] - redirect to
?wicket:interface=:5:::: failed: null
Hi,
I did some refactoring in an old Wicket code amd I get the warning message
in the subject:
2009-10-06 19:37:34,484 WARN [org.apache.wicket.protocol.http.WebResponse] -
redirect to ?wicket:interface=:5:::: failed: null
I tried to debug, did some breakpointing etc. but could not understand why
do I get this.
Can someone give me a hint on where to start looking and to understand
what's going on?
Thanks,
Eyal
Eyal Golan
egolan74@gmail.com
Visit: http://jvdrums.sourceforge.net/
LinkedIn: http://www.linkedin.com/in/egolan74
P Save a tree. Please don't print this e-mail unless it's really necessary
Re: WARN [org.apache.wicket.protocol.http.WebResponse] - redirect to
?wicket:interface=:5:::: failed: null
Posted by Eyal Golan <eg...@gmail.com>.
Jeremy,
That's the problem. I didn't have an exception. It's a warning in a catch
clause in WebResponse.
I copied the stack trace when I stopped in a break point in that location.
I will do what you suggest and look the 'close' method.
Thanks
Eyal Golan
egolan74@gmail.com
Visit: http://jvdrums.sourceforge.net/
LinkedIn: http://www.linkedin.com/in/egolan74
P Save a tree. Please don't print this e-mail unless it's really necessary
On Wed, Oct 7, 2009 at 4:43 PM, Jeremy Thomerson
<je...@wickettraining.com>wrote:
> Well, it's hard to say. When you include a stack trace for an error, it's
> helpful if you can get the full stack trace (with the exception and caused
> by) because I can't tell which line actually put you into the catch.
>
> But it seems like something is closing your response before you get to this
> redirect method. I'd put a breakpoint on the close method of the http
> response to see if it's being closed before you get to this one.
>
> --
> Jeremy Thomerson
> http://www.wickettraining.com
>
>
>
> On Wed, Oct 7, 2009 at 2:05 AM, Eyal Golan <eg...@gmail.com> wrote:
>
> > BTW,
> > the 'null' is the message of the exception.
> > Looking at the exception in the break-point: the exception is:
> > org.mortbay.jetty.EofException
> >
> > thanks.
> >
> >
> > Eyal Golan
> > egolan74@gmail.com
> >
> > Visit: http://jvdrums.sourceforge.net/
> > LinkedIn: http://www.linkedin.com/in/egolan74
> >
> > P Save a tree. Please don't print this e-mail unless it's really
> necessary
> >
> >
> > On Wed, Oct 7, 2009 at 1:18 AM, Jeremy Thomerson
> > <je...@wickettraining.com>wrote:
> >
> > > null - should mean NullPointerException.... do you get the stacktrace
> to
> > > see
> > > where it's coming from? Paste into reply....
> > >
> > > --
> > > Jeremy Thomerson
> > > http://www.wickettraining.com
> > >
> > >
> > >
> > > On Tue, Oct 6, 2009 at 12:41 PM, Eyal Golan <eg...@gmail.com>
> wrote:
> > >
> > > > Hi,
> > > > I did some refactoring in an old Wicket code amd I get the warning
> > > message
> > > > in the subject:
> > > > 2009-10-06 19:37:34,484 WARN
> > > [org.apache.wicket.protocol.http.WebResponse]
> > > > -
> > > > redirect to ?wicket:interface=:5:::: failed: null
> > > >
> > > > I tried to debug, did some breakpointing etc. but could not
> understand
> > > why
> > > > do I get this.
> > > > Can someone give me a hint on where to start looking and to
> understand
> > > > what's going on?
> > > >
> > > > Thanks,
> > > >
> > > > Eyal
> > > >
> > > > Eyal Golan
> > > > egolan74@gmail.com
> > > >
> > > > Visit: http://jvdrums.sourceforge.net/
> > > > LinkedIn: http://www.linkedin.com/in/egolan74
> > > >
> > > > P Save a tree. Please don't print this e-mail unless it's really
> > > necessary
> > > >
> > >
> >
>
Re: WARN [org.apache.wicket.protocol.http.WebResponse] - redirect to
?wicket:interface=:5:::: failed: null
Posted by Jeremy Thomerson <je...@wickettraining.com>.
Well, it's hard to say. When you include a stack trace for an error, it's
helpful if you can get the full stack trace (with the exception and caused
by) because I can't tell which line actually put you into the catch.
But it seems like something is closing your response before you get to this
redirect method. I'd put a breakpoint on the close method of the http
response to see if it's being closed before you get to this one.
--
Jeremy Thomerson
http://www.wickettraining.com
On Wed, Oct 7, 2009 at 2:05 AM, Eyal Golan <eg...@gmail.com> wrote:
> BTW,
> the 'null' is the message of the exception.
> Looking at the exception in the break-point: the exception is:
> org.mortbay.jetty.EofException
>
> thanks.
>
>
> Eyal Golan
> egolan74@gmail.com
>
> Visit: http://jvdrums.sourceforge.net/
> LinkedIn: http://www.linkedin.com/in/egolan74
>
> P Save a tree. Please don't print this e-mail unless it's really necessary
>
>
> On Wed, Oct 7, 2009 at 1:18 AM, Jeremy Thomerson
> <je...@wickettraining.com>wrote:
>
> > null - should mean NullPointerException.... do you get the stacktrace to
> > see
> > where it's coming from? Paste into reply....
> >
> > --
> > Jeremy Thomerson
> > http://www.wickettraining.com
> >
> >
> >
> > On Tue, Oct 6, 2009 at 12:41 PM, Eyal Golan <eg...@gmail.com> wrote:
> >
> > > Hi,
> > > I did some refactoring in an old Wicket code amd I get the warning
> > message
> > > in the subject:
> > > 2009-10-06 19:37:34,484 WARN
> > [org.apache.wicket.protocol.http.WebResponse]
> > > -
> > > redirect to ?wicket:interface=:5:::: failed: null
> > >
> > > I tried to debug, did some breakpointing etc. but could not understand
> > why
> > > do I get this.
> > > Can someone give me a hint on where to start looking and to understand
> > > what's going on?
> > >
> > > Thanks,
> > >
> > > Eyal
> > >
> > > Eyal Golan
> > > egolan74@gmail.com
> > >
> > > Visit: http://jvdrums.sourceforge.net/
> > > LinkedIn: http://www.linkedin.com/in/egolan74
> > >
> > > P Save a tree. Please don't print this e-mail unless it's really
> > necessary
> > >
> >
>
Re: WARN [org.apache.wicket.protocol.http.WebResponse] - redirect to
?wicket:interface=:5:::: failed: null
Posted by Eyal Golan <eg...@gmail.com>.
BTW,
the 'null' is the message of the exception.
Looking at the exception in the break-point: the exception is:
org.mortbay.jetty.EofException
thanks.
Eyal Golan
egolan74@gmail.com
Visit: http://jvdrums.sourceforge.net/
LinkedIn: http://www.linkedin.com/in/egolan74
P Save a tree. Please don't print this e-mail unless it's really necessary
On Wed, Oct 7, 2009 at 1:18 AM, Jeremy Thomerson
<je...@wickettraining.com>wrote:
> null - should mean NullPointerException.... do you get the stacktrace to
> see
> where it's coming from? Paste into reply....
>
> --
> Jeremy Thomerson
> http://www.wickettraining.com
>
>
>
> On Tue, Oct 6, 2009 at 12:41 PM, Eyal Golan <eg...@gmail.com> wrote:
>
> > Hi,
> > I did some refactoring in an old Wicket code amd I get the warning
> message
> > in the subject:
> > 2009-10-06 19:37:34,484 WARN
> [org.apache.wicket.protocol.http.WebResponse]
> > -
> > redirect to ?wicket:interface=:5:::: failed: null
> >
> > I tried to debug, did some breakpointing etc. but could not understand
> why
> > do I get this.
> > Can someone give me a hint on where to start looking and to understand
> > what's going on?
> >
> > Thanks,
> >
> > Eyal
> >
> > Eyal Golan
> > egolan74@gmail.com
> >
> > Visit: http://jvdrums.sourceforge.net/
> > LinkedIn: http://www.linkedin.com/in/egolan74
> >
> > P Save a tree. Please don't print this e-mail unless it's really
> necessary
> >
>
Re: WARN [org.apache.wicket.protocol.http.WebResponse] - redirect to
?wicket:interface=:5:::: failed: null
Posted by Eyal Golan <eg...@gmail.com>.
Hi Jeremy,
Below is the stack trace:
Thread [btpool0-0] (Suspended (breakpoint at line 238 in WebResponse))
BufferedWebResponse(WebResponse).redirect(String) line: 238
BufferedWebResponse.close() line: 66
WicketFilter.doGet(HttpServletRequest, HttpServletResponse) line: 372
WicketFilter.doFilter(ServletRequest, ServletResponse, FilterChain)
line: 201
ServletHandler$CachedChain.doFilter(ServletRequest, ServletResponse)
line: 1065
SecurityFilter.doFilterInternal(HttpServletRequest, HttpServletResponse,
FilterChain) line: 35
SecurityFilter(OncePerRequestFilter).doFilter(ServletRequest,
ServletResponse, FilterChain) line: 75
ServletHandler$CachedChain.doFilter(ServletRequest, ServletResponse)
line: 1065
ClearUserDetailsFilter.doFilterInternal(HttpServletRequest,
HttpServletResponse, FilterChain) line: 23
ClearUserDetailsFilter(OncePerRequestFilter).doFilter(ServletRequest,
ServletResponse, FilterChain) line: 75
ServletHandler$CachedChain.doFilter(ServletRequest, ServletResponse)
line: 1065
ServletHandler.handle(String, HttpServletRequest, HttpServletResponse,
int) line: 365
SecurityHandler.handle(String, HttpServletRequest, HttpServletResponse,
int) line: 185
SessionHandler.handle(String, HttpServletRequest, HttpServletResponse,
int) line: 181
WebAppContext(ContextHandler).handle(String, HttpServletRequest,
HttpServletResponse, int) line: 689
WebAppContext.handle(String, HttpServletRequest, HttpServletResponse,
int) line: 391
HandlerCollection.handle(String, HttpServletRequest,
HttpServletResponse, int) line: 114
Server(HandlerWrapper).handle(String, HttpServletRequest,
HttpServletResponse, int) line: 139
Server.handle(HttpConnection) line: 285
HttpConnection.handleRequest() line: 457
HttpConnection$RequestHandler.headerComplete() line: 751
HttpParser.parseNext() line: 500
HttpParser.parseAvailable() line: 209
HttpConnection.handle() line: 357
SelectChannelConnector$ConnectorEndPoint(SelectChannelEndPoint).run()
line: 329
BoundedThreadPool$PoolThread.run() line: 475
We use Wicket 1.3.6
Thanks for your help.
Eyal Golan
egolan74@gmail.com
Visit: http://jvdrums.sourceforge.net/
LinkedIn: http://www.linkedin.com/in/egolan74
P Save a tree. Please don't print this e-mail unless it's really necessary
On Wed, Oct 7, 2009 at 1:18 AM, Jeremy Thomerson
<je...@wickettraining.com>wrote:
> null - should mean NullPointerException.... do you get the stacktrace to
> see
> where it's coming from? Paste into reply....
>
> --
> Jeremy Thomerson
> http://www.wickettraining.com
>
>
>
> On Tue, Oct 6, 2009 at 12:41 PM, Eyal Golan <eg...@gmail.com> wrote:
>
> > Hi,
> > I did some refactoring in an old Wicket code amd I get the warning
> message
> > in the subject:
> > 2009-10-06 19:37:34,484 WARN
> [org.apache.wicket.protocol.http.WebResponse]
> > -
> > redirect to ?wicket:interface=:5:::: failed: null
> >
> > I tried to debug, did some breakpointing etc. but could not understand
> why
> > do I get this.
> > Can someone give me a hint on where to start looking and to understand
> > what's going on?
> >
> > Thanks,
> >
> > Eyal
> >
> > Eyal Golan
> > egolan74@gmail.com
> >
> > Visit: http://jvdrums.sourceforge.net/
> > LinkedIn: http://www.linkedin.com/in/egolan74
> >
> > P Save a tree. Please don't print this e-mail unless it's really
> necessary
> >
>
Re: WARN [org.apache.wicket.protocol.http.WebResponse] - redirect to
?wicket:interface=:5:::: failed: null
Posted by Jeremy Thomerson <je...@wickettraining.com>.
null - should mean NullPointerException.... do you get the stacktrace to see
where it's coming from? Paste into reply....
--
Jeremy Thomerson
http://www.wickettraining.com
On Tue, Oct 6, 2009 at 12:41 PM, Eyal Golan <eg...@gmail.com> wrote:
> Hi,
> I did some refactoring in an old Wicket code amd I get the warning message
> in the subject:
> 2009-10-06 19:37:34,484 WARN [org.apache.wicket.protocol.http.WebResponse]
> -
> redirect to ?wicket:interface=:5:::: failed: null
>
> I tried to debug, did some breakpointing etc. but could not understand why
> do I get this.
> Can someone give me a hint on where to start looking and to understand
> what's going on?
>
> Thanks,
>
> Eyal
>
> Eyal Golan
> egolan74@gmail.com
>
> Visit: http://jvdrums.sourceforge.net/
> LinkedIn: http://www.linkedin.com/in/egolan74
>
> P Save a tree. Please don't print this e-mail unless it's really necessary
>