Rendering at constructor?
Hi! How is it possible that this error occurs at page constructor? Caused by: org.apache.wicket.WicketRuntimeException: Cannot modify component hierarchy after render phase has started (page version cant change then anymore) at org.apache.wicket.Component.checkHierarchyChange(Component.java:3512) at org.apache.wicket.MarkupContainer.remove(MarkupContainer.java:525) at org.apache.wicket.MarkupContainer.addedComponent(MarkupContainer.java:936) at org.apache.wicket.MarkupContainer.add(MarkupContainer.java:142) at com.view.AbstractStylePage.addStyleContainer(AbstractStylePage.java:111) at com.view.AbstractStylePage.init(AbstractStylePage.java:104) at com.view.AbstractStylePage.init(AbstractStylePage.java:96) at wicket.quickstart.AbstractAuthenticationPage.init(AbstractAuthenticationPage.java:29) at wicket.quickstart.LoginPage.init(LoginPage.java:82) ** Martin - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Rendering at constructor?
Which version of Wicket ? Many apps/tests/examples use this and this is first time I see such problem. Can you create a ticket with a quickstart, please. On Tue, Sep 28, 2010 at 12:17 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Hi! How is it possible that this error occurs at page constructor? Caused by: org.apache.wicket.WicketRuntimeException: Cannot modify component hierarchy after render phase has started (page version cant change then anymore) at org.apache.wicket.Component.checkHierarchyChange(Component.java:3512) at org.apache.wicket.MarkupContainer.remove(MarkupContainer.java:525) at org.apache.wicket.MarkupContainer.addedComponent(MarkupContainer.java:936) at org.apache.wicket.MarkupContainer.add(MarkupContainer.java:142) at com.view.AbstractStylePage.addStyleContainer(AbstractStylePage.java:111) at com.view.AbstractStylePage.init(AbstractStylePage.java:104) at com.view.AbstractStylePage.init(AbstractStylePage.java:96) at wicket.quickstart.AbstractAuthenticationPage.init(AbstractAuthenticationPage.java:29) at wicket.quickstart.LoginPage.init(LoginPage.java:82) ** Martin - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Rendering at constructor?
Hi! 1.4.8. Unfortunately I don't quite know how to reproduce, but it is somehow related to redirectrespose/intercept exceptions and possibly also some other exceptions I will post more info when I get some. ** Martin 2010/9/28 Martin Grigorov mgrigo...@apache.org: Which version of Wicket ? Many apps/tests/examples use this and this is first time I see such problem. Can you create a ticket with a quickstart, please. On Tue, Sep 28, 2010 at 12:17 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Hi! How is it possible that this error occurs at page constructor? Caused by: org.apache.wicket.WicketRuntimeException: Cannot modify component hierarchy after render phase has started (page version cant change then anymore) at org.apache.wicket.Component.checkHierarchyChange(Component.java:3512) at org.apache.wicket.MarkupContainer.remove(MarkupContainer.java:525) at org.apache.wicket.MarkupContainer.addedComponent(MarkupContainer.java:936) at org.apache.wicket.MarkupContainer.add(MarkupContainer.java:142) at com.view.AbstractStylePage.addStyleContainer(AbstractStylePage.java:111) at com.view.AbstractStylePage.init(AbstractStylePage.java:104) at com.view.AbstractStylePage.init(AbstractStylePage.java:96) at wicket.quickstart.AbstractAuthenticationPage.init(AbstractAuthenticationPage.java:29) at wicket.quickstart.LoginPage.init(LoginPage.java:82) ** Martin - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Rendering at constructor?
Hi! Here is the rest of the stacktrace: at wicket.quickstart.AbstractAuthenticationPage.init(AbstractAuthenticationPage.java:29) at wicket.quickstart.LoginPage.init(LoginPage.java:82) at wicket.quickstart.TakpApplication.getEffectiveLoginPage(TakpApplication.java:2573) at com.view.TakpAuthorizationStrategy.onUnauthorizedInstantiation(TakpAuthorizationStrategy.java:144) at org.apache.wicket.Application$1.onInstantiation(Application.java:292) at org.apache.wicket.Application.notifyComponentInstantiationListeners(Application.java:1039) at org.apache.wicket.Component.init(Component.java:920) at org.apache.wicket.MarkupContainer.init(MarkupContainer.java:113) at org.apache.wicket.MarkupContainer.init(MarkupContainer.java:105) at org.apache.wicket.Page.init(Page.java:297) at org.apache.wicket.markup.html.WebPage.init(WebPage.java:233) at com.view.TakpWebPage.init(TakpWebPage.java:64) at com.view.AbstractStylePage.init(AbstractStylePage.java:103) at com.view.AbstractStylePage.init(AbstractStylePage.java:96) at com.view.application.MainPage.init(MainPage.java:92) ... 36 more ** Martin 2010/9/28 Martin Makundi martin.maku...@koodaripalvelut.com: Hi! 1.4.8. Unfortunately I don't quite know how to reproduce, but it is somehow related to redirectrespose/intercept exceptions and possibly also some other exceptions I will post more info when I get some. ** Martin 2010/9/28 Martin Grigorov mgrigo...@apache.org: Which version of Wicket ? Many apps/tests/examples use this and this is first time I see such problem. Can you create a ticket with a quickstart, please. On Tue, Sep 28, 2010 at 12:17 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Hi! How is it possible that this error occurs at page constructor? Caused by: org.apache.wicket.WicketRuntimeException: Cannot modify component hierarchy after render phase has started (page version cant change then anymore) at org.apache.wicket.Component.checkHierarchyChange(Component.java:3512) at org.apache.wicket.MarkupContainer.remove(MarkupContainer.java:525) at org.apache.wicket.MarkupContainer.addedComponent(MarkupContainer.java:936) at org.apache.wicket.MarkupContainer.add(MarkupContainer.java:142) at com.view.AbstractStylePage.addStyleContainer(AbstractStylePage.java:111) at com.view.AbstractStylePage.init(AbstractStylePage.java:104) at com.view.AbstractStylePage.init(AbstractStylePage.java:96) at wicket.quickstart.AbstractAuthenticationPage.init(AbstractAuthenticationPage.java:29) at wicket.quickstart.LoginPage.init(LoginPage.java:82) ** Martin - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org