Webclient Servoy 7.4.10

Questions and answers on designing your Servoy solutions, database modelling and other 'how do I do this' that don't fit in any of the other categories

Webclient Servoy 7.4.10

Postby lwjwillemsen » Wed Feb 21, 2018 12:03 pm

We experience below errors in webclient 7.4.10 which results in an Internal Error page:
In Smart client 7.4.10 no problem. I have no clue what is going wrong here...

2018-02-21 10:27 http-8080-5 ERROR org.apache.wicket.RequestCycle Cannot modify component hierarchy after render phase has started (page version cant change then anymore) BB195CF3-61C1-4065-B716-8E61088A03B6 main
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:3653)
at org.apache.wicket.Component.addStateChange(Component.java:3582)
at org.apache.wicket.Component.setDefaultModel(Component.java:3083)
at org.apache.wicket.MarkupContainer.setDefaultModel(MarkupContainer.java:794)
at org.apache.wicket.markup.html.list.ListItem.setModel(ListItem.java:81)
at com.servoy.j2db.server.headlessclient.dataui.WebCellBasedView.tableChanged(WebCellBasedView.java:2856)
at com.servoy.j2db.dataprocessing.TableAndListEventDelegate.fireTableModelEvent(TableAndListEventDelegate.java:76)
at com.servoy.j2db.dataprocessing.TableAndListEventDelegate$1.run(TableAndListEventDelegate.java:169)
at com.servoy.j2db.dataprocessing.TableAndListEventDelegate.fireTableAndListEvent(TableAndListEventDelegate.java:180)
at com.servoy.j2db.dataprocessing.SwingRelatedFoundSet.fireFoundSetEvent(SwingRelatedFoundSet.java:159)
at com.servoy.j2db.dataprocessing.FoundSet.completeFire(FoundSet.java:5232)
at com.servoy.j2db.dataprocessing.FireCollector.done(FireCollector.java:69)
at com.servoy.j2db.dataprocessing.Row.setValue(Row.java:382)
at com.servoy.j2db.dataprocessing.Record.getValue(Record.java:211)
at com.servoy.j2db.dataprocessing.Record.getValue(Record.java:169)
at com.servoy.j2db.server.headlessclient.dataui.RecordItemModel.getValue(RecordItemModel.java:379)
at com.servoy.j2db.server.headlessclient.dataui.RecordItemModel$WrapModel.getObject(RecordItemModel.java:144)
at org.apache.wicket.Component.getDefaultModelObject(Component.java:1729)
at com.servoy.j2db.server.headlessclient.dataui.WebDataField.getModelValue(WebDataField.java:947)
at org.apache.wicket.markup.html.form.FormComponent.getValue(FormComponent.java:911)
at org.apache.wicket.markup.html.form.TextField.onComponentTag(TextField.java:106)
at com.servoy.j2db.server.headlessclient.dataui.WebDataField.onComponentTag(WebDataField.java:542)
at org.apache.wicket.Component.renderComponent(Component.java:2696)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1559)
at com.servoy.j2db.server.headlessclient.dataui.WebDataField.onRender(WebDataField.java:529)
at org.apache.wicket.Component.render(Component.java:2525)
at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1461)
at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1624)
at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1548)
at org.apache.wicket.Component.renderComponent(Component.java:2725)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1559)
at org.apache.wicket.Component.render(Component.java:2525)
at com.servoy.j2db.server.headlessclient.dataui.WebCellBasedView$ReorderableListItem.renderColumnCell(WebCellBasedView.java:1491)
at com.servoy.j2db.server.headlessclient.dataui.WebCellBasedView$ReorderableListItem._renderNext(WebCellBasedView.java:1392)
at com.servoy.j2db.server.headlessclient.dataui.WebCellBasedView$ReorderableListItem.renderReorderableTagBody(WebCellBasedView.java:1355)
at com.servoy.j2db.server.headlessclient.dataui.WebCellBasedView$ReorderableListItem.onComponentTagBody(WebCellBasedView.java:1307)
at org.apache.wicket.Component.renderComponent(Component.java:2725)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1559)
at org.apache.wicket.Component.render(Component.java:2525)
at org.apache.wicket.markup.html.list.ListView.renderItem(ListView.java:624)
at org.apache.wicket.markup.html.list.ListView.renderChild(ListView.java:612)
at org.apache.wicket.markup.repeater.AbstractRepeater.onRender(AbstractRepeater.java:103)
at org.apache.wicket.Component.render(Component.java:2525)
at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1461)
at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1624)
at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1548)
at org.apache.wicket.Component.renderComponent(Component.java:2725)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1559)
at org.apache.wicket.Component.render(Component.java:2525)
at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1461)
at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1624)
at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1548)
at org.apache.wicket.Component.renderComponent(Component.java:2725)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1559)
at com.servoy.j2db.server.headlessclient.dataui.WebCellBasedView.onRender(WebCellBasedView.java:2989)
at org.apache.wicket.Component.render(Component.java:2525)
at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1461)
at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1624)
at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1548)
at com.servoy.j2db.server.headlessclient.WebForm$3.onComponentTagBody(WebForm.java:244)
at org.apache.wicket.Component.renderComponent(Component.java:2725)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1559)
at org.apache.wicket.Component.render(Component.java:2525)
at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1461)
at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1624)
at org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:717)
at org.apache.wicket.markup.html.panel.Panel.onComponentTagBody(Panel.java:114)
at org.apache.wicket.Component.renderComponent(Component.java:2725)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1559)
at com.servoy.j2db.server.headlessclient.WebForm.onRender(WebForm.java:1967)
at org.apache.wicket.Component.render(Component.java:2525)
at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1461)
at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1624)
at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1548)
at com.servoy.j2db.server.headlessclient.dataui.WebTabPanel.onComponentTagBody(WebTabPanel.java:1449)
at org.apache.wicket.Component.renderComponent(Component.java:2725)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1559)
at com.servoy.j2db.server.headlessclient.dataui.WebTabPanel.onRender(WebTabPanel.java:549)
at org.apache.wicket.Component.render(Component.java:2525)
at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1461)
at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1624)
at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1548)
at org.apache.wicket.Component.renderComponent(Component.java:2725)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1559)
at com.servoy.j2db.server.headlessclient.dataui.WebDataRenderer.onRender(WebDataRenderer.java:466)
at org.apache.wicket.Component.render(Component.java:2525)
at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1461)
at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1624)
at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1548)
at org.apache.wicket.Component.renderComponent(Component.java:2725)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1559)
at org.apache.wicket.Component.render(Component.java:2525)
at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1461)
at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1624)
at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1548)
at com.servoy.j2db.server.headlessclient.WebForm$3.onComponentTagBody(WebForm.java:244)
at org.apache.wicket.Component.renderComponent(Component.java:2725)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1559)
at org.apache.wicket.Component.render(Component.java:2525)
at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1461)
at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1624)
at org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:717)
at org.apache.wicket.markup.html.panel.Panel.onComponentTagBody(Panel.java:114)
at org.apache.wicket.Component.renderComponent(Component.java:2725)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1559)
at com.servoy.j2db.server.headlessclient.WebForm.onRender(WebForm.java:1967)
at org.apache.wicket.Component.render(Component.java:2525)
at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1461)
at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1624)
at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1548)
at com.servoy.j2db.server.headlessclient.dataui.WebTabPanel.onComponentTagBody(WebTabPanel.java:1449)
at org.apache.wicket.Component.renderComponent(Component.java:2725)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1559)
at com.servoy.j2db.server.headlessclient.dataui.WebTabPanel.onRender(WebTabPanel.java:549)
at org.apache.wicket.Component.render(Component.java:2525)
at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1461)
at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1624)
at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1548)
at org.apache.wicket.Component.renderComponent(Component.java:2725)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1559)
at com.servoy.j2db.server.headlessclient.dataui.WebDataRenderer.onRender(WebDataRenderer.java:466)
at org.apache.wicket.Component.render(Component.java:2525)
at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1461)
at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1624)
at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1548)
at org.apache.wicket.Component.renderComponent(Component.java:2725)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1559)
at org.apache.wicket.Component.render(Component.java:2525)
at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1461)
at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1624)
at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1548)
at com.servoy.j2db.server.headlessclient.WebForm$3.onComponentTagBody(WebForm.java:244)
at org.apache.wicket.Component.renderComponent(Component.java:2725)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1559)
at org.apache.wicket.Component.render(Component.java:2525)
at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1461)
at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1624)
at org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:717)
at org.apache.wicket.markup.html.panel.Panel.onComponentTagBody(Panel.java:114)
at org.apache.wicket.Component.renderComponent(Component.java:2725)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1559)
at com.servoy.j2db.server.headlessclient.WebForm.onRender(WebForm.java:1967)
at org.apache.wicket.Component.render(Component.java:2525)
at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1461)
at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1624)
at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1548)
at org.apache.wicket.Component.renderComponent(Component.java:2725)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1559)
at org.apache.wicket.Component.render(Component.java:2525)
at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1461)
at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1624)
at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1548)
at org.apache.wicket.Component.renderComponent(Component.java:2725)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1559)
at com.servoy.j2db.server.headlessclient.dataui.WebSplitPane.onRender(WebSplitPane.java:571)
at org.apache.wicket.Component.render(Component.java:2525)
at org.apache.wicket.Component.renderComponent(Component.java:2666)
at org.apache.wicket.ajax.AjaxRequestTarget.respondComponent(AjaxRequestTarget.java:876)
at org.apache.wicket.ajax.AjaxRequestTarget.respondComponents(AjaxRequestTarget.java:680)
at org.apache.wicket.ajax.AjaxRequestTarget.respond(AjaxRequestTarget.java:590)
at org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105)
at com.servoy.j2db.server.headlessclient.WebClientsApplication$8.respond(WebClientsApplication.java:717)
at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1287)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1358)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1465)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486)
at com.servoy.j2db.server.servlets.Zt.doGet(Zt.java:3)
at org.apache.wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:138)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:615)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Unknown Source)
Lambert Willemsen
Vision Development BV
lwjwillemsen
 
Posts: 593
Joined: Sat Mar 14, 2009 5:39 pm
Location: The Netherlands

Re: Webclient Servoy 7.4.10

Postby jcompagner » Wed Feb 21, 2018 12:19 pm

that is a tricky situation not sure why it pops up only now in 7410

we need a case for this and if possible with a solution that reproduces this

What happens here is a tableview is rendered and it displays there at least one calculation and that calculation is calculated right then
That triggers a change event that gets to a tableview again and that is not allowed by wicket framework (when rendering the state can't change anymore)
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8084
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Webclient Servoy 7.4.10

Postby lwjwillemsen » Wed Feb 21, 2018 5:47 pm

Thanks for the info.
We indeed have on that moment the same calculation in different table view forms in show!
When I omit the second form there is no error. It looks some kind of rat race in the UI build up.
What are my options for the webclient?
Lambert Willemsen
Vision Development BV
lwjwillemsen
 
Posts: 593
Joined: Sat Mar 14, 2009 5:39 pm
Location: The Netherlands

Re: Webclient Servoy 7.4.10

Postby jcompagner » Wed Feb 21, 2018 7:19 pm

we need to look at this
Can you create a case with a sample?
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8084
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Programming with Servoy

Who is online

Users browsing this forum: Bing [Bot] and 4 guests