The breakpoint should be
at: 
org.apache.wicket.request.http.handler.RedirectRequestHandler.respond(IRequestCycle)
 (wicket-request project)

On Fri, Aug 13, 2010 at 9:54 AM, Igor Vaynberg <igor.vaynb...@gmail.com>wrote:

> 2010/8/12 Major Péter <majorpe...@sch.bme.hu>:
> > Hi,
> >
> > I have a page with the ~following markup:
> > <form>
> >  <table> (DataView)
> >  <tr><a href="link" /></tr>
> >  </table>
> > </form>
> >
> > The link is constructed like:
> > Link valuationLink = new Link("valuationLink") {
> >    @Override
> >    public void onClick() {
> >        setResponsePage(new ValuationDetails(val, getPage()));
> >    }
> > };
> >
> > When I click on this link, I get HTTP 500 and the following stacktrace:
> > java.lang.IllegalStateException
> >        at
> >
> org.apache.catalina.connector.ResponseFacade.sendRedirect(ResponseFacade.java:522)
> >        at
> >
> org.apache.wicket.protocol.http.servlet.ServletWebResponse.sendRedirect(ServletWebResponse.java:232)
> >        at
> >
> org.apache.wicket.protocol.http.BufferedWebResponse$SendRedirectAction.invoke(BufferedWebResponse.java:275)
> >        at
> >
> org.apache.wicket.protocol.http.BufferedWebResponse.writeTo(BufferedWebResponse.java:439)
> >        at
> >
> org.apache.wicket.protocol.http.HeaderBufferingWebResponse.flush(HeaderBufferingWebResponse.java:87)
> >        at
> >
> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:145)
> >        at
> >
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:188)
> >        at
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
> >        at
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
> >        at
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:277)
> >        at
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
> >        at
> >
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641)
> >
>
> looks like the servlet container does not like the redirect url. can
> you set a breakpoint and tell us what the original url is and what url
> wicket is trying to redirect to?
>
> > should I create JIRA issues instead of mailing them? :)
>
> yeah, that will make things easier.
>
> -igor
> >
> > Regards,
> > Peter
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to