It seem's that I have a problem in my application similar to those one :
http://www.nabble.com/AjaxTabbedPanel-is-broken-%28wicket-1.2.2%29-tf2176204.html#a6016987
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1549248&group_id=119783
My problem look like this :
I open a page and load an Ajax Tree. I click on one item, I hit F5, I click on the same item, and I do another F5 and boom. The exemple doesn't seem's to have this problem.
This is the error :
Root cause: java.lang.IllegalStateException: Cannot remove [MarkupContainer [Component id = 0, page = <No Page>, path = 0.Loop$LoopItem]] 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.get(PageMap.java:461) 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:697) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:173) at com.interfacing.epc.util.hibernate.HibernateSessionFilter.doFilter(HibernateSessionFilter.java:78) 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:81) 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.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke
(SecurityAssociationValve.java:159) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) 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:856) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java
:744) 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)
|
I would like to know if the bug have been adressed. In the first link, the person say something like disactivating page versionning. So to make a test, I have tried make this in application
getPageSettings ().setMaxPageVersions (0);
And then, redone the test. My problem with this is that it does not crash, but it take me to the "Page expired" page..
So here are the real question :
1-Is it really a valid solution to disable page versionning? What are the implication. I have checked and I haven't found any documentation on page versionning.
2 - Am I disabling page versionning in the correct way?
3 - Is this a bug of my application?
Thanks in advance.
Marc
-------------------------------------------------------------------------
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