Re: Comments in markup sometimes throw weird exceptions

2007-01-18 Thread Erik van Oosten
The solution is attached in 
https://issues.apache.org/jira/browse/WICKET-218.


I would like this to be included in 1.2.5, but I am not sure I can start 
a vote.


Regards,
   Erik.


Erik van Oosten wrote:

Hi,

I found the problem already. I'll create a Jira issue with the solution.

Regards,
Erik.


Erik van Oosten wrote:

Hi,

Whenever I try to comment out parts of the markup I get weird 
exceptions (attached below). I have tried to make a quick-start 
application to reproduce this. But after trying very hard for at 
least half an hour I could not create a case. Apparently, the 
exception only occurs in complex situations.


Are there developers aware of this problem?

Regards,
Erik.





--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/



Re: Comments in markup sometimes throw weird exceptions

2007-01-18 Thread Erik van Oosten

Hi,

I found the problem already. I'll create a Jira issue with the solution.

Regards,
Erik.


Erik van Oosten wrote:

Hi,

Whenever I try to comment out parts of the markup I get weird 
exceptions (attached below). I have tried to make a quick-start 
application to reproduce this. But after trying very hard for at least 
half an hour I could not create a case. Apparently, the exception only 
occurs in complex situations.


Are there developers aware of this problem?

Regards,
Erik.

8<- 



ERROR - AjaxRequestTarget  - Error while responding to an AJAX 
request: [EMAIL PROTECTED] markupIdToComponent 
[{maincontent_searchresult=[MarkupContainer [Component id = 
searchresult, page = nl.amsterdam.rbrb.web.search.SearchPage, path = 
2:maincontent:searchresult.WozSearchResult, isVisible = true, 
isVersioned = false]], maincontent_searchform=[MarkupContainer 
[Component id = searchform, page = 
nl.amsterdam.rbrb.web.search.SearchPage, path = 
2:maincontent:searchform.SearchPanel$1, isVisible = true, isVersioned 
= false]]}], prependJavascript [[]], appendJavascript [[]]


wicket.WicketRuntimeException: Exception in rendering component: 
[MarkupContainer [Component id = searchresult, page = 
nl.amsterdam.rbrb.web.search.SearchPage, path = 
2:maincontent:searchresult.WozSearchResult, isVisible = true, 
isVersioned = false]]


   at 
wicket.Component.renderComponent(Lwicket.markup.MarkupStream;)V(Component.java:1739) 



   at 
wicket.MarkupContainer.onRender(Lwicket.markup.MarkupStream;)V(MarkupContainer.java:927) 



   at 
wicket.Component.render(Lwicket.markup.MarkupStream;)V(Component.java:1526) 



   at wicket.Component.renderComponent()V(Component.java:1650)

   at 
wicket.ajax.AjaxRequestTarget.respondComponent(Lwicket.Response;Ljava.lang.String;Lwicket.Component;)V(AjaxRequestTarget.java:474) 



   at 
wicket.ajax.AjaxRequestTarget.respond(Lwicket.RequestCycle;)V(AjaxRequestTarget.java:361) 



   at 
wicket.request.compound.DefaultResponseStrategy.respond(Lwicket.RequestCycle;)V(DefaultResponseStrategy.java:49) 



   at 
wicket.request.compound.AbstractCompoundRequestCycleProcessor.respond(Lwicket.RequestCycle;)V(AbstractCompoundRequestCycleProcessor.java:66) 



   at 
wicket.RequestCycle.doProcessEventsAndRespond(Lwicket.request.IRequestCycleProcessor;)V(RequestCycle.java:902) 



   at 
wicket.RequestCycle.processEventsAndRespond()V(RequestCycle.java:934)


   at wicket.RequestCycle.step()V(RequestCycle.java:1010)

   at wicket.RequestCycle.steps()V(RequestCycle.java:1084)

   at wicket.RequestCycle.request()V(RequestCycle.java:454)

   at 
wicket.protocol.http.WicketServlet.doGet(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(WicketServlet.java:219) 



   at 
wicket.protocol.http.WicketServlet.doPost(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(WicketServlet.java:262) 



   at 
javax.servlet.http.HttpServlet.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(HttpServlet.java:760) 



   at 
javax.servlet.http.HttpServlet.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(HttpServlet.java:853) 



   at 
org.mortbay.jetty.servlet.ServletHolder.handle(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(ServletHolder.java:358) 



   at 
org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(WebApplicationHandler.java:342) 



   at 
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainProxy.java:264) 



   at 
org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(HttpSessionContextIntegrationFilter.java:193) 



   at 
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainProxy.java:274) 



   at 
org.acegisecurity.util.FilterChainProxy.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(FilterChainProxy.java:148) 



   at 
org.acegisecurity.util.FilterToBeanProxy.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(FilterToBeanProxy.java:98) 



   at 
org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(WebApplicationHandler.java:334) 



   at 
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(Ljava.lang.String;Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;Lorg.mortbay.jetty.servlet.ServletHolder;)V(WebApplicationHandler.java:286) 



   at 
org.mortbay.jetty.servlet.Servle