Internal Error - org.apache.wicket.markup.MarkupException: U

Forum to discuss the Web client version of Servoy.

Internal Error - org.apache.wicket.markup.MarkupException: U

Postby udiluca » Tue Oct 29, 2013 12:25 am

Hello,

I'm trying to use more extensively the webclientutils plugin in conjunction with the solutionModel in order to customize my application.

When accessed for the first time, I have no issue and everything is ok. When relogging to the solution, from developper or on our server, we get an Internal Error with a lot of :

"Component [MarkupContainer [Component id = sv__8A05FC75_EBAD_4B32_B00F_9D917E12344C_wrapper]] is changed but is not rendered, deleted from template?"
or
"Component BUTTON[name:btn_add,x:770,y:3,width:80,height:24,label: Ajouter] is changed but is not rendered, deleted from template?"

What exactly has to be done for the elements to be renderedanytime, at this stage I cannot see exactly how I can use the solutionModel if I get these errors.

Basically, on open, we just do some clone of a button and delete the original buttons in order to lately apply a new style through the webclientutils.

Any idea ?

Here's the complete error displayed in the log

Code: Select all
org.apache.wicket.markup.MarkupException: Unable to find component with id 'sv__A04FFD66_11F0_4D37_9D87_D226266DF41F_wrapper' in [MarkupContainer [Component id = sv__D9B088BC_9F55_4C52_B998_BDAD1348CC75]]. This means that you declared wicket:id=sv__A04FFD66_11F0_4D37_9D87_D226266DF41F_wrapper in your markup, but that you either did not add the component to your page at all, or that the hierarchy does not match.
    [markup = Markup[solution:cpt_pcp_plancomptable, fullpath:/servoy-webclient/templates/custom/cpt_pcp_plancomptable/pcp_charges.html]
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <!-- Servoy webclient page Copyright 2013 Servoy -->
    <html>
    <head>
    <title>pcp_charges - Servoy</title>
    <servoy:head>
    </servoy:head>
    </head>
    <body id='servoy_page'>
    <form id='servoy_dataform'>
    <servoy:panel>
    <div servoy:id="servoywebform" id="form_pcp_charges" class="servoywebform">
    <div id="sfw_form_pcp_charges" style="position: absolute; height: 0px; right: 0px; left: 0px;"></div><div id="sfh_form_pcp_charges" style="position: absolute; bottom: 0px; top: 0px; width: 0px;"></div><div servoy:id="sv__D9B088BC_9F55_4C52_B998_BDAD1348CC75" id="sv__D9B088BC_9F55_4C52_B998_BDAD1348CC75" class="formpart">
    <div servoy:id="sv__52A6BCD5_A636_477E_9DE9_48A4EDF34EB7" class="label"></div>
    <div servoy:id="sv__A04FFD66_11F0_4D37_9D87_D226266DF41F_wrapper" id="sv__A04FFD66_11F0_4D37_9D87_D226266DF41F_wrapper"><button type="submit" style="white-space: nowrap;" servoy:id="sv__A04FFD66_11F0_4D37_9D87_D226266DF41F" class="button"></button></div>
    <div servoy:id="sv__3BECE355_878D_4DD8_8EED_D296F2FDE373_wrapper" id="sv__3BECE355_878D_4DD8_8EED_D296F2FDE373_wrapper"><button type="submit" style="white-space: nowrap;" servoy:id="sv__3BECE355_878D_4DD8_8EED_D296F2FDE373" class="button"></button></div>
    <div servoy:id="sv__36708660_843D_47A2_95D2_994715C42BE2_wrapper" id="sv__36708660_843D_47A2_95D2_994715C42BE2_wrapper"><button type="submit" style="white-space: nowrap;" servoy:id="sv__36708660_843D_47A2_95D2_994715C42BE2" class="button"></button></div>
    <div servoy:id="sv__17B12CFC_66BF_4BDD_ABE9_9B04ADCD4838_wrapper" id="sv__17B12CFC_66BF_4BDD_ABE9_9B04ADCD4838_wrapper"><button type="submit" style="white-space: nowrap;" servoy:id="sv__17B12CFC_66BF_4BDD_ABE9_9B04ADCD4838" class="button"></button></div>
    <div servoy:id="sv__55CD576F_B284_4DF8_BBDD_F82740F02002_wrapper" id="sv__55CD576F_B284_4DF8_BBDD_F82740F02002_wrapper"><button type="submit" style="white-space: nowrap;" servoy:id="sv__55CD576F_B284_4DF8_BBDD_F82740F02002" class="button"></button></div>
    <div servoy:id="sv__F332D86D_8649_45F9_845E_1A0D3AE261F5_wrapper" id="sv__F332D86D_8649_45F9_845E_1A0D3AE261F5_wrapper"><button type="submit" style="white-space: nowrap;" servoy:id="sv__F332D86D_8649_45F9_845E_1A0D3AE261F5" class="button"></button></div>
    <div servoy:id="sv__F3BD0679_692C_41C2_90B3_8FBE3A6FA91B_wrapper" id="sv__F3BD0679_692C_41C2_90B3_8FBE3A6FA91B_wrapper"><button type="submit" style="white-space: nowrap;" servoy:id="sv__F3BD0679_692C_41C2_90B3_8FBE3A6FA91B" class="button"></button></div>
    </div>
    <div servoy:id="View">
    <div servoy:id="sv__9E74F837_3E6E_4ADD_8F47_DD072207F3E4" id="sv__9E74F837_3E6E_4ADD_8F47_DD072207F3E4" class="formpart">
    <div servoy:id="sv__814C5FAD_BEB4_4367_B587_C2CAF6E746A4" class="tabpanel">
    <div servoy:id="webform" style="overflow: auto;position: relative;" class="webform"></div></div>
    </div>
    </div>
    <div servoy:id="sv__7A98A8F0_EB26_4A97_A54B_1D241415371C" id="sv__7A98A8F0_EB26_4A97_A54B_1D241415371C" class="formpart">
    <div servoy:id="sv__BDE9A206_FB11_4BC7_8596_4558C1BB016B" class="label"></div>
    <div style="white-space: nowrap;" servoy:id="sv__F55723B0_00EB_4A22_9251_FF37C12BE92A" class="label">i18n:cpta.lbl_executerrech</div>
    <div style="white-space: nowrap;" servoy:id="sv__06B69B88_84E1_4194_8219_3A04C4371C68" class="label">i18n:cpta.lbl_btn_rechercher</div>
    <div servoy:id="sv__19635666_5A3D_42F8_ACE2_F0A04DB78F6A" class="label"></div>
    <div servoy:id="sv__3CAB06C2_7C22_4DDA_8BD5_9F064654F6A2" class="label"></div>
    <div servoy:id="sv__45E71E64_5B28_448B_96C2_F402C36013EA" class="label"></div>
    <div style="white-space: nowrap;" servoy:id="sv__4C333D6E_AAE6_4F12_8138_D828C0ECF6DF" class="label">i18n:cpta.lbl_btn_toutafficher</div>
    <div servoy:id="sv__782CCFE1_9783_4A52_B326_0D21D616E7EE" class="label"></div>
    <div servoy:id="sv__81FAFF7E_C47A_4BC8_BA70_A959F40BE33A" class="label"></div>
    <div servoy:id="sv__AC573AF8_0DB0_43D3_B198_336DBA325BEA" class="label"></div>
    <div servoy:id="sv__C2E9FE8B_B413_4338_830E_B90540A010D0" class="label"></div>
    <div servoy:id="sv__350591BC_1A23_47E0_B090_4EE0AC821D78" class="label"></div>
    <div servoy:id="sv__48660494_731C_46C4_B79B_536482FF0D46" class="label"></div>
    <div style="white-space: nowrap;" servoy:id="sv__1CBF51B2_CD2A_433B_8C39_9E5068246F51" class="label">i18n:cpta.lbl_nombrecomptes</div>
    <div servoy:id="sv__F80800D7_6159_42D9_96E3_36132E2FBDF0_wrapper" id="sv__F80800D7_6159_42D9_96E3_36132E2FBDF0_wrapper"><input servoy:id="sv__F80800D7_6159_42D9_96E3_36132E2FBDF0" name="_count_comptes" class="field" type="text"/></div>
    </div>
    </div>
    </servoy:panel>
    </form>
    </body>
    </html>
    , index = 20, current = '<div servoy:id="sv__A04FFD66_11F0_4D37_9D87_D226266DF41F_wrapper" id="sv__A04FFD66_11F0_4D37_9D87_D226266DF41F_wrapper">' (line 15, column 1)]
     at org.apache.wicket.markup.MarkupStream.throwMarkupException(MarkupStream.java:474)
     at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1489)
     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:465)
     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$4.onComponentTagBody(WebForm.java:251)
     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:1915)
     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:1435)
     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:541)
     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:465)
     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$4.onComponentTagBody(WebForm.java:251)
     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:1915)
     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.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.markup.html.form.Form.onComponentTagBody(Form.java:2035)
     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 org.apache.wicket.Component.render(Component.java:2525)
     at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1461)
     at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1575)
     at org.apache.wicket.Page.onRender(Page.java:1599)
     at org.apache.wicket.Component.render(Component.java:2525)
     at org.apache.wicket.Page.renderPage(Page.java:933)
     at org.apache.wicket.request.target.component.PageRequestTarget.respond(PageRequestTarget.java:63)
     at org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105)
     at com.servoy.j2db.server.headlessclient.WebClientsApplication$7.respond(WebClientsApplication.java:559)
     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:11)
     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:717)
     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:606)
     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
     at java.lang.Thread.run(Unknown Source)
udiluca
 
Posts: 24
Joined: Wed Apr 10, 2013 7:25 pm

Re: Internal Error - org.apache.wicket.markup.MarkupExceptio

Postby udiluca » Wed Nov 06, 2013 12:56 pm

Anyone having an idea, I'm stuck with this behaviour at the moment, so my new release is waiting

Thanks
udiluca
 
Posts: 24
Joined: Wed Apr 10, 2013 7:25 pm


Return to Servoy Web Client

Who is online

Users browsing this forum: No registered users and 5 guests