When doing an ajax update on a MarkupContainer containing a listview.. I
am replacing the listview model before the update:

java.lang.NullPointerException
        at wicket.Page.componentStateChanging(Page.java:327)
        at wicket.Component.addStateChange(Component.java:2551)
        at wicket.MarkupContainer.removeAll(MarkupContainer.java:510)
        at wicket.markup.html.list.ListView.setModel(ListView.java:514)
        at
com.edicorp.erp.web.pages.admin.search.SpecEditPage$2.onNodeLinkClicked(SpecEditPage.java:79)
        at
wicket.markup.html.tree.DefaultAbstractTree$9.onClick(DefaultAbstractTree.java:533)
        at
wicket.markup.html.tree.DefaultAbstractTree$6.onClick(DefaultAbstractTree.java:467)
        at wicket.ajax.markup.html.AjaxLink$1.onEvent(AjaxLink.java:77)
        at wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:164)
        at
wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:216)
        at
wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:97)
        at
wicket.request.compound.DefaultEventProcessorStrategy.processEvents(DefaultEventProcessorStrategy.java:68)
        at
wicket.request.compound.AbstractCompoundRequestCycleProcessor.processEvents(AbstractCompoundRequestCycleProcessor.java:56)
        at
wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java:938)
        at
wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:978)
        at wicket.RequestCycle.step(RequestCycle.java:1054)
        at wicket.RequestCycle.steps(RequestCycle.java:1125)
        at wicket.RequestCycle.request(RequestCycle.java:470)
        at wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:232)
        at wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:122)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
        at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
        at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        at
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
        at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
        at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
        at
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
        at java.lang.Thread.run(Thread.java:595)



Aaron

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to