Bugs item #1549248, was opened at 2006-08-30 12:41
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1549248&group_id=119783

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Tomer (tomermevo)
Assigned to: Nobody/Anonymous (nobody)
Summary: ajax and versioning

Initial Comment:
Test case:
1. create a versioned page.
2. add a list view to the page.
3. add unversioned AjaxSelfUpdatingTimerBehavior to the
list view.
4. load page (you might have to load it several times
in order to have more then 1 version).
5. execute some action causing the list view to be
emptied and then refilled.
6. once the list view is emptied and refilled (by ajax)
press F5 and you should get
java.lang.IllegalStateException error.


java.lang.IllegalStateException: Cannot remove
[MarkupContainer
[Component id = 3, page = <No Page>, path =
3.ListItem]] from null parent!
    at wicket.Component.remove(Component.java:1475)
    at wicket.version.undo.Add.undo(Add.java:81)
    at
wicket.version.undo.ChangeList.undo(ChangeList.java:93)
    at
wicket.version.undo.UndoPageVersionManager.undo(UndoPageVersionManager.java:217)

    at
wicket.version.undo.UndoPageVersionManager.getVersion
(UndoPageVersionManager.java:167)

    at wicket.Page.getVersion(Page.java:586)
    at wicket.PageMap.access(PageMap.java:658)
    at wicket.PageMap.get(PageMap.java:466)
    at wicket.Session.getPage(Session.java :418)
    at
wicket.request.compound.DefaultRequestTargetResolverStrategy.resolveRenderedPage(DefaultRequestTargetResolverStrategy.java:215)

    at
wicket.request.compound.DefaultRequestTargetResolverStrategy.resolve
(DefaultRequestTargetResolverStrategy.java:152)

    at
wicket.request.compound.AbstractCompoundRequestCycleProcessor.resolve(AbstractCompoundRequestCycleProcessor.java:48)

    at wicket.RequestCycle.step( RequestCycle.java:948)
    at wicket.RequestCycle.steps(RequestCycle.java:1040)
    at wicket.RequestCycle.request(RequestCycle.java:454)
    at
wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:216)
    at
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java
:252)

    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.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)

    at
org.apache.catalina.core.StandardHostValve.invoke
(StandardHostValve.java:126)

    at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)

    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.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java
:80)

    at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)

    at java.lang.Thread.run(Thread.java:595)

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1549248&group_id=119783

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-develop mailing list
Wicket-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to