Hi,

I have been trying to track what causes following exception in some of our 
wicket pages
using ajax stuff:

java.lang.NullPointerException at wicket.markup.Markup.findComponentIndex(Markup.java:271) at wicket.markup.MarkupStream.findComponentIndex(MarkupStream.java:444) at wicket.Component.initializeMarkupStream(Component.java:2757) at wicket.Component.doRender(Component.java:697) at wicket.ajax.AjaxRequestTarget.respondComponent(AjaxRequestTarget.java:187) at wicket.ajax.AjaxRequestTarget.respond(AjaxRequestTarget.java:135)

(I'm running against today's cvs version)

It looks like the componentMap member of Markup instance is null. Now I'm just guessing, but could it be that when Markup is constructed
via the "copy" constructor:

Markup(final Markup markup, final List markupElements)

Then the componentMap is not initialized ? At least this constructor
is called on pages that do not work.

   Ari S.



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Wicket-develop mailing list
Wicket-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to