6.1 Wicket Render Error

Using Servoy to administrate the content of your website? Discuss all webrelated Servoy topics on this forum!

6.1 Wicket Render Error

Postby bobcusick1332964082 » Thu Oct 18, 2012 4:13 pm

I have a table view that has a "spacer" label (transparent, no text) as the last item on the form.

It renders in Smart Client - just fine, but in Web Client - it throws an error:

Code: Select all
2012-10-18 06:53:44,316 ERROR [http-8080-3] com.servoy.j2db.util.Debug - Error rendering the page mod_fb_palette [2C4E1B54-1191-461C-AB04-76D90446C565 Clickento]
org.apache.wicket.WicketRuntimeException: Unable to find the markup for the component. That may be due to transparent containers or components implementing IComponentResolver: LABEL[name:lbl_fieldName,x:29,y:0,width:151,height:18,value: null]
   at org.apache.wicket.MarkupFragmentFinder.find(MarkupFragmentFinder.java:125)
   at org.apache.wicket.Component.locateMarkupStream(Component.java:3953)
   at org.apache.wicket.Component.renderComponent(Component.java:2656)
   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$7.respond(WebClientsApplication.java:461)
   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:102)
   at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
   at java.lang.Thread.run(Unknown Source)


So, I removed the label, and then it came back with the same error - just for a different field.

Any ideas on how to avoid this error - or should I report as an issue?

Thanks!

Bob
bobcusick1332964082
 
Posts: 85
Joined: Wed Mar 28, 2012 9:48 pm

Re: 6.1 Wicket Render Error

Postby dfrazier » Tue Oct 23, 2012 3:54 pm

Putting a transparent label with no text into a table view should not cause exceptions. Sounds like a bug to me.
This is my signature.
User avatar
dfrazier
 
Posts: 40
Joined: Fri Jun 29, 2012 3:43 pm
Location: Earth


Return to Web Development

Who is online

Users browsing this forum: No registered users and 5 guests