Internal Error: Exception in rendering component

Forum to discuss the Web client version of Servoy.

Internal Error: Exception in rendering component

Postby ngervasi » Thu Jan 29, 2015 1:02 pm

After closing a dialog drawn over a table view, I get an internal error (webclient), does anybody have an idea why?

Code: Select all
org.apache.wicket.WicketRuntimeException: Exception in rendering component: [MarkupContainer [Component id = rowsContainerBody]]
       at org.apache.wicket.Component.renderComponent(Component.java:2764)
       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:2890)
       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:708)
       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:16)
       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)
    Caused by: java.lang.IllegalStateException: the render iterator returned null for a child
       at org.apache.wicket.markup.repeater.AbstractRepeater.onRender(AbstractRepeater.java:100)
       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)
       ... 37 more
ngervasi
 
Posts: 1475
Joined: Tue Dec 21, 2004 12:47 pm
Location: Arezzo, Italy

Re: Internal Error: Exception in rendering component

Postby jcompagner » Mon Feb 02, 2015 12:39 pm

this seems some weird multi threaded access which should not really happen.
somehow its rendering a page that is maybe closed or cleanup at the same time

If you have something reproducible make a case with that sample
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 7974
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Internal Error: Exception in rendering component

Postby ngervasi » Thu Feb 26, 2015 7:17 pm

Hi Johan,
I can reproduce it 100% but the setup is very complicated. See the screenshot.
What's happening is that I'm importing data from CSV in a form in dialog, the user clicks the "finish button" and when the import is complete the data should be shown in the underlying tab panel "Selected Items" and the dialog is closed, it's then that the client crashes. Looks like the problem is redrawing the tab panel while hiding the form in dialog.

Any idea?
You do not have the required permissions to view the files attached to this post.
ngervasi
 
Posts: 1475
Joined: Tue Dec 21, 2004 12:47 pm
Location: Arezzo, Italy

Re: Internal Error: Exception in rendering component

Postby ngervasi » Thu Feb 26, 2015 7:53 pm

I confirm the previous post: if I switch to the second tab before showing the FID it works nicely. Should I create a case?
ngervasi
 
Posts: 1475
Joined: Tue Dec 21, 2004 12:47 pm
Location: Arezzo, Italy


Return to Servoy Web Client

Who is online

Users browsing this forum: No registered users and 2 guests