Wicket error

Forum to discuss the Web client version of Servoy.

Wicket error

Postby msedita » Mon Sep 19, 2011 10:58 pm

I'm getting this error trying to display a particular form in the webclient only:

Can't setup form: c6client_id
> org.apache.wicket.WicketRuntimeException: Null or empty component ID's are not allowed.


Runs fine in smart client. Not sure where to start.
Michael Sedita
MS Health Software Corp.
Developers of software solutions for behavioral healthcare and social service providers.
www.mshealth.com
User avatar
msedita
 
Posts: 235
Joined: Thu Dec 13, 2007 8:01 pm

Re: Wicket error

Postby msedita » Tue Sep 20, 2011 4:46 pm

Here is part of the entry in the log:

Code: Select all
2011-09-20 10:36:02,520 ERROR [http-8080-1] com.servoy.j2db.util.Debug - Error rendering the page c6client
org.apache.wicket.markup.MarkupException: Unable to find component with id 'sv_a65928ac_000e_47e7_8269_96255e39c104' in [MarkupContainer [Component id = sv_95136db8_6c23_45be_bf52_b572c807cab8]]. This means that you declared wicket:id=sv_a65928ac_000e_47e7_8269_96255e39c104 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:CMHCi, fullpath:/servoy-webclient/templates/default/CMHCi/c6client_id.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 2011 Servoy -->
<html>
<head>
<title>i18n:frm_c6client_id_title - Servoy</title>
<servoy:head>
</servoy:head>
</head>
<body id='servoy_page'>
<form id='servoy_dataform'>
<servoy:panel>
<div servoy:id="servoywebform" id="form_c6client_id">
<div id="sfw_form_c6client_id" style="position: absolute; height: 0px; right: 0px; left: 0px;"></div><div id="sfh_form_c6client_id" style="position: absolute; bottom: 0px; top: 0px; width: 0px;"></div><div servoy:id="View">
<div servoy:id="sv_95136db8_6c23_45be_bf52_b572c807cab8" id="sv_95136db8_6c23_45be_bf52_b572c807cab8" class="formpart">
<div servoy:id="sv_4576b7c0_ab0b_4687_bdaa_b8575ddc46be_wrapper" id="sv_4576b7c0_ab0b_4687_bdaa_b8575ddc46be_wrapper"><button type="submit" servoy:id="sv_4576b7c0_ab0b_4687_bdaa_b8575ddc46be" class="button"></button></div>
Michael Sedita
MS Health Software Corp.
Developers of software solutions for behavioral healthcare and social service providers.
www.mshealth.com
User avatar
msedita
 
Posts: 235
Joined: Thu Dec 13, 2007 8:01 pm

Re: Wicket error

Postby jcompagner » Thu Sep 22, 2011 11:26 am

do you have your own pieces of html somehow?
because what you paste is really a part of a webforms html, it misses a lot, so something isn't generating correctly.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 7582
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Wicket error

Postby msedita » Thu Sep 22, 2011 3:54 pm

Sorry, I didn't post the entire error message. It is too big to place in the body of the message, the first part is below. The entire log related to the error is attached. There is nothing special about this form that I can see. It is a form that is on a tab panel inside a parent form. It is the first tab on that form. It runs OK in smart client. I didn't see this occur until upgrade to Servoy 6, however, I can't be certain if that is a cause.

Code: Select all
2011-09-22 09:18:01,555 WARN [http-8080-6] org.apache.wicket.request.target.component.listener.BehaviorRequestTarget - component not enabled or visible; ignoring call. Component: [MarkupContainer [Component id = 1]]
2011-09-22 09:18:14,175 ERROR [http-8080-6] com.servoy.j2db.util.Debug - Can't setup form: c6client_id
2011-09-22 09:18:14,175 ERROR [http-8080-6] com.servoy.j2db.util.Debug - Throwable
org.apache.wicket.WicketRuntimeException: Null or empty component ID's are not allowed.
   at org.apache.wicket.Component.setId(Component.java:4631)
   at org.apache.wicket.Component.<init>(Component.java:923)
   at org.apache.wicket.Component.<init>(Component.java:906)
   at org.apache.wicket.markup.html.WebComponent.<init>(WebComponent.java:44)
   at org.apache.wicket.markup.html.basic.Label.<init>(Label.java:79)
   at com.servoy.j2db.server.headlessclient.dataui.WebBaseLabel.<init>(WebBaseLabel.java:117)
   at com.servoy.j2db.server.headlessclient.dataui.WebBaseLabel.<init>(WebBaseLabel.java:139)
   at com.servoy.j2db.server.headlessclient.dataui.WebItemFactory.createLabel(WebItemFactory.java:87)
   at com.servoy.j2db.component.ComponentFactory.createComponentEx(ComponentFactory.java:364)
   at com.servoy.j2db.component.ComponentFactory.createComponent(ComponentFactory.java:245)
   at com.servoy.j2db.server.headlessclient.dataui.WebDataRendererFactory.placeElements(WebDataRendererFactory.java:159)
   at com.servoy.j2db.server.headlessclient.dataui.WebDataRendererFactory.completeRenderers(WebDataRendererFactory.java:114)
   at com.servoy.j2db.FormController.createDataRenderers(FormController.java:1704)
   at com.servoy.j2db.FormController.init(FormController.java:1544)
   at com.servoy.j2db.FormManager.leaseFormPanel(FormManager.java:885)
   at com.servoy.j2db.scripting.CreationalPrototype.get(CreationalPrototype.java:172)
   at org.mozilla.javascript.ScriptableObject.getProperty(ScriptableObject.java:1641)
   at org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1428)
   at org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1417)
   at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3343)
   at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2680)
   at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:166)
   at org.mozilla.javascript.ScriptRuntime.evalSpecial(ScriptRuntime.java:2386)
   at org.mozilla.javascript.ScriptRuntime.callSpecial(ScriptRuntime.java:2239)
   at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3541)
   at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2680)
   at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:166)
   at com.servoy.j2db.scripting.ScriptEngine.executeFunction(ScriptEngine.java:518)
   at com.servoy.j2db.FormController.executeFunction(FormController.java:4051)
   at com.servoy.j2db.FormController.executeFormMethod(FormController.java:4368)
   at com.servoy.j2db.FormController.executeOnLoadMethod(FormController.java:4227)
   at com.servoy.j2db.scripting.CreationalPrototype.get(CreationalPrototype.java:190)
   at org.mozilla.javascript.ScriptableObject.getProperty(ScriptableObject.java:1641)
   at org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1428)
   at org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1417)
   at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3343)
   at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2680)
   at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:166)
   at org.mozilla.javascript.ScriptRuntime.evalSpecial(ScriptRuntime.java:2386)
   at org.mozilla.javascript.ScriptRuntime.callSpecial(ScriptRuntime.java:2239)
   at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3541)
   at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2680)
   at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:166)
   at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:387)
   at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3134)
   at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:165)
   at com.servoy.j2db.scripting.ScriptEngine.executeFunction(ScriptEngine.java:518)
   at com.servoy.j2db.FormController.executeFunction(FormController.java:4051)
   at com.servoy.j2db.FormController.executeFunction(FormController.java:3930)
   at com.servoy.j2db.FormController.executeFunction(FormController.java:3852)
   at com.servoy.j2db.FormController$ScriptExecuter.executeFunction(FormController.java:3707)
   at com.servoy.j2db.ui.BaseEventExecutor.fireEventCommand(BaseEventExecutor.java:271)
   at com.servoy.j2db.ui.BaseEventExecutor.fireActionCommand(BaseEventExecutor.java:217)
   at com.servoy.j2db.server.headlessclient.dataui.WebEventExecutor.onEvent(WebEventExecutor.java:399)
   at com.servoy.j2db.server.headlessclient.dataui.WebEventExecutor$2.onEvent(WebEventExecutor.java:172)
   at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:177)
   at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:302)
   at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:157)
   at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
   at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
   at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
   at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
   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.Zl.doGet(Zl.java:13)
   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:128)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:567)
   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:849)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
   at java.lang.Thread.run(Unknown Source)
2011-09-22 09:18:15,096 ERROR [http-8080-6] com.servoy.j2db.util.Debug - Can't setup form: c6client_id
2011-09-22 09:18:15,096 ERROR [http-8080-6] com.servoy.j2db.util.Debug - Throwable
org.apache.wicket.WicketRuntimeException: Null or empty component ID's are not allowed.
   at org.apache.wicket.Component.setId(Component.java:4631)
   at org.apache.wicket.Component.<init>(Component.java:923)
   at org.apache.wicket.Component.<init>(Component.java:906)
   at org.apache.wicket.markup.html.WebComponent.<init>(WebComponent.java:44)
   at org.apache.wicket.markup.html.basic.Label.<init>(Label.java:79)
   at com.servoy.j2db.server.headlessclient.dataui.WebBaseLabel.<init>(WebBaseLabel.java:117)
   at com.servoy.j2db.server.headlessclient.dataui.WebBaseLabel.<init>(WebBaseLabel.java:139)
   at com.servoy.j2db.server.headlessclient.dataui.WebItemFactory.createLabel(WebItemFactory.java:87)
   at com.servoy.j2db.component.ComponentFactory.createComponentEx(ComponentFactory.java:364)
   at com.servoy.j2db.component.ComponentFactory.createComponent(ComponentFactory.java:245)
   at com.servoy.j2db.server.headlessclient.dataui.WebDataRendererFactory.placeElements(WebDataRendererFactory.java:159)
   at com.servoy.j2db.server.headlessclient.dataui.WebDataRendererFactory.completeRenderers(WebDataRendererFactory.java:114)
   at com.servoy.j2db.FormController.createDataRenderers(FormController.java:1704)
   at com.servoy.j2db.FormController.init(FormController.java:1544)
   at com.servoy.j2db.FormManager.leaseFormPanel(FormManager.java:885)
   at com.servoy.j2db.scripting.CreationalPrototype.get(CreationalPrototype.java:172)
   at org.mozilla.javascript.ScriptableObject.getProperty(ScriptableObject.java:1641)
   at org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1428)
   at org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1417)
   at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3343)
   at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2680)
   at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:166)
   at org.mozilla.javascript.ScriptRuntime.evalSpecial(ScriptRuntime.java:2386)
   at org.mozilla.javascript.ScriptRuntime.callSpecial(ScriptRuntime.java:2239)
   at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3541)
   at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2680)
   at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:166)
   at com.servoy.j2db.scripting.ScriptEngine.executeFunction(ScriptEngine.java:518)
   at com.servoy.j2db.FormController.executeFunction(FormController.java:4051)
   at com.servoy.j2db.FormController.executeFormMethod(FormController.java:4368)
   at com.servoy.j2db.FormController.executeOnLoadMethod(FormController.java:4227)
   at com.servoy.j2db.scripting.CreationalPrototype.get(CreationalPrototype.java:190)
   at org.mozilla.javascript.ScriptableObject.getProperty(ScriptableObject.java:1641)
   at org.mozilla.javascript.ScriptRuntime.getObjectElem(ScriptRuntime.java:1399)
   at org.mozilla.javascript.ScriptRuntime.getObjectElem(ScriptRuntime.java:1378)
   at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3379)
   at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2680)
   at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:166)
   at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:387)
   at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3134)
   at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:165)
   at com.servoy.j2db.scripting.ScriptEngine.executeFunction(ScriptEngine.java:518)
   at com.servoy.j2db.FormController.executeFunction(FormController.java:4051)
   at com.servoy.j2db.FormController.executeFunction(FormController.java:3930)
   at com.servoy.j2db.FormController.executeFunction(FormController.java:3852)
   at com.servoy.j2db.FormController$ScriptExecuter.executeFunction(FormController.java:3707)
   at com.servoy.j2db.ui.BaseEventExecutor.fireEventCommand(BaseEventExecutor.java:271)
   at com.servoy.j2db.ui.BaseEventExecutor.fireActionCommand(BaseEventExecutor.java:217)
   at com.servoy.j2db.server.headlessclient.dataui.WebEventExecutor.onEvent(WebEventExecutor.java:399)
   at com.servoy.j2db.server.headlessclient.dataui.WebEventExecutor$2.onEvent(WebEventExecutor.java:172)
   at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:177)
   at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:302)
   at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:157)
   at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
   at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
   at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
   at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
   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.Zl.doGet(Zl.java:13)
   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:128)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:567)
   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:849)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
   at java.lang.Thread.run(Unknown Source)
2011-09-22 09:18:15,595 ERROR [http-8080-6] com.servoy.j2db.util.Debug - Can't setup form: c6client_id
2011-09-22 09:18:15,595 ERROR [http-8080-6] com.servoy.j2db.util.Debug - Throwable
org.apache.wicket.WicketRuntimeException: Null or empty component ID's are not allowed.
   at org.apache.wicket.Component.setId(Component.java:4631)
   at org.apache.wicket.Component.<init>(Component.java:923)
   at org.apache.wicket.Component.<init>(Component.java:906)
   at org.apache.wicket.markup.html.WebComponent.<init>(WebComponent.java:44)
   at org.apache.wicket.markup.html.basic.Label.<init>(Label.java:79)
   at com.servoy.j2db.server.headlessclient.dataui.WebBaseLabel.<init>(WebBaseLabel.java:117)
   at com.servoy.j2db.server.headlessclient.dataui.WebBaseLabel.<init>(WebBaseLabel.java:139)
   at com.servoy.j2db.server.headlessclient.dataui.WebItemFactory.createLabel(WebItemFactory.java:87)
   at com.servoy.j2db.component.ComponentFactory.createComponentEx(ComponentFactory.java:364)
   at com.servoy.j2db.component.ComponentFactory.createComponent(ComponentFactory.java:245)
   at com.servoy.j2db.server.headlessclient.dataui.WebDataRendererFactory.placeElements(WebDataRendererFactory.java:159)
   at com.servoy.j2db.server.headlessclient.dataui.WebDataRendererFactory.completeRenderers(WebDataRendererFactory.java:114)
   at com.servoy.j2db.FormController.createDataRenderers(FormController.java:1704)
   at com.servoy.j2db.FormController.init(FormController.java:1544)
   at com.servoy.j2db.FormManager.leaseFormPanel(FormManager.java:885)
   at com.servoy.j2db.FormManager.getFormController(FormManager.java:789)
   at com.servoy.j2db.server.headlessclient.dataui.WebTabFormLookup.getWebForm(WebTabFormLookup.java:147)
   at com.servoy.j2db.server.headlessclient.dataui.WebTabFormLookup.getWebForm(WebTabFormLookup.java:135)
   at com.servoy.j2db.server.headlessclient.dataui.WebTabFormLookup.getDefaultSort(WebTabFormLookup.java:123)
   at com.servoy.j2db.server.headlessclient.dataui.WebTabPanel.getDefaultSort(WebTabPanel.java:759)
   at com.servoy.j2db.server.headlessclient.dataui.WebTabPanel.setRecord(WebTabPanel.java:631)
   at com.servoy.j2db.dataprocessing.DataAdapterList.setRecord(DataAdapterList.java:381)
   at com.servoy.j2db.server.headlessclient.dataui.WebDataRenderer.refreshRecord(WebDataRenderer.java:309)
   at com.servoy.j2db.FormController.refreshAllPartRenderers(FormController.java:2224)
   at com.servoy.j2db.FormController.valueChanged(FormController.java:2299)
   at com.servoy.j2db.FormController.notifyVisible(FormController.java:3073)
   at com.servoy.j2db.FormManager.showFormInMainPanel(FormManager.java:685)
   at com.servoy.j2db.server.headlessclient.WebRuntimeWindow.doOldShow(WebRuntimeWindow.java:68)
   at com.servoy.j2db.scripting.RuntimeWindow.doShow(RuntimeWindow.java:241)
   at com.servoy.j2db.scripting.RuntimeWindow.show(RuntimeWindow.java:235)
   at com.servoy.j2db.FormController.showForm(FormController.java:2438)
   at com.servoy.j2db.FormController$JSForm.js_show(FormController.java:229)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:179)
   at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:361)
   at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3666)
   at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2680)
   at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:166)
   at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:387)
   at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3134)
   at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:165)
   at com.servoy.j2db.scripting.ScriptEngine.executeFunction(ScriptEngine.java:518)
   at com.servoy.j2db.FormController.executeFunction(FormController.java:4051)
   at com.servoy.j2db.FormController.executeFunction(FormController.java:3930)
   at com.servoy.j2db.FormController.executeFunction(FormController.java:3852)
   at com.servoy.j2db.FormController$ScriptExecuter.executeFunction(FormController.java:3707)
   at com.servoy.j2db.ui.BaseEventExecutor.fireEventCommand(BaseEventExecutor.java:271)
   at com.servoy.j2db.ui.BaseEventExecutor.fireActionCommand(BaseEventExecutor.java:217)
   at com.servoy.j2db.server.headlessclient.dataui.WebEventExecutor.onEvent(WebEventExecutor.java:399)
   at com.servoy.j2db.server.headlessclient.dataui.WebEventExecutor$2.onEvent(WebEventExecutor.java:172)
   at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:177)
   at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:302)
   at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:157)
   at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
   at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
   at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
   at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
   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.Zl.doGet(Zl.java:13)
   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:128)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:567)
   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:849)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
   at java.lang.Thread.run(Unknown Source)
2011-09-22 09:18:16,188 WARN [http-8080-4] com.servoy.j2db.util.Debug - No foundset in form found!
java.lang.RuntimeException
   at com.servoy.j2db.server.headlessclient.WebForm$DataRendererRecordModel.getRecord(WebForm.java:1001)
   at com.servoy.j2db.server.headlessclient.dataui.RecordItemModel.load(RecordItemModel.java:78)
   at org.apache.wicket.model.LoadableDetachableModel.getObject(LoadableDetachableModel.java:120)
   at com.servoy.j2db.server.headlessclient.dataui.RecordItemModel.getValue(RecordItemModel.java:337)
   at com.servoy.j2db.server.headlessclient.dataui.RecordItemModel$WrapModel.getObject(RecordItemModel.java:140)
   at org.apache.wicket.Component.getDefaultModelObject(Component.java:1725)
   at com.servoy.j2db.server.headlessclient.dataui.WebDataField.testFormats(WebDataField.java:454)
   at com.servoy.j2db.server.headlessclient.dataui.WebDataField.renderHead(WebDataField.java:418)
   at org.apache.wicket.markup.html.internal.HtmlHeaderContainer$1.component(HtmlHeaderContainer.java:231)
   at org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:900)
   at org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:915)
   at org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:915)
   at org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:915)
   at org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:915)
   at org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:915)
   at org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:915)
   at org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:915)
   at org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:915)
   at org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:915)
   at org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:915)
   at org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:915)
   at org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:915)
   at org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:915)
   at org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:915)
   at org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:940)
   at org.apache.wicket.markup.html.internal.HtmlHeaderContainer.renderHeaderSections(HtmlHeaderContainer.java:222)
   at org.apache.wicket.markup.html.internal.HtmlHeaderContainer.onComponentTagBody(HtmlHeaderContainer.java:137)
   at org.apache.wicket.Component.renderComponent(Component.java:2722)
   at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1539)
   at org.apache.wicket.Component.render(Component.java:2522)
   at org.apache.wicket.MarkupContainer.autoAdd(MarkupContainer.java:229)
   at org.apache.wicket.markup.resolver.HtmlHeaderResolver.resolve(HtmlHeaderResolver.java:80)
   at org.apache.wicket.markup.resolver.ComponentResolvers.resolve(ComponentResolvers.java:81)
   at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1445)
   at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1555)
   at org.apache.wicket.Page.onRender(Page.java:1594)
   at org.apache.wicket.Component.render(Component.java:2522)
   at org.apache.wicket.Page.renderPage(Page.java:932)
   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$5.respond(WebClientsApplication.java:402)
   at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1258)
   at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
   at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
   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.Zl.doGet(Zl.java:13)
   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:128)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:567)
   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:849)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
   at java.lang.Thread.run(Unknown Source)
You do not have the required permissions to view the files attached to this post.
Michael Sedita
MS Health Software Corp.
Developers of software solutions for behavioral healthcare and social service providers.
www.mshealth.com
User avatar
msedita
 
Posts: 235
Joined: Thu Dec 13, 2007 8:01 pm

Re: Wicket error

Postby jcompagner » Fri Sep 23, 2011 10:31 am

on that form you have something really strange, Servoy encounters something that is not a Servoy component or bean.. So there is something on it that Servoy doesn't know at all.
And you are then falling back to some code that wants to display a label to let you know about that error (something that really shouldn't happen) and that code generates a null id.
I will fix that, but that doesn't fix your real problem that you have something on the form that is completely alien to Servoy

is it a solution model form? or a design time form?
if it is a design time form, can you show us the xxxx.frm file of that form?
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 7582
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Wicket error

Postby msedita » Wed Sep 28, 2011 6:24 pm

OK, I renamed the .frm to .txt and uploaded. Like most other forms in the solution, this form is modified using solutionmodel to change the DISPLAY_TYPE of elements based on metadata, but again I don't see anything weird about this one.
You do not have the required permissions to view the files attached to this post.
Michael Sedita
MS Health Software Corp.
Developers of software solutions for behavioral healthcare and social service providers.
www.mshealth.com
User avatar
msedita
 
Posts: 235
Joined: Thu Dec 13, 2007 8:01 pm

Re: Wicket error

Postby jcompagner » Thu Sep 29, 2011 10:40 am

that is because you have there a type:18 in your file, that is a shape, but that isn't supported anymore.
if you remove these pieces

{
formIndex:17400,
lineSize:1,
location:"300,101",
points:"300,87;300,87",
shapeType:1,
size:"1,1",
typeid:18,
uuid:"36124461-F899-41D7-A4B3-98F66A8DF722"
},

{
foreground:"#666666",
formIndex:20000,
lineSize:1,
location:"6,242",
points:"880,219;7,219",
shapeType:1,
size:"873,1",
typeid:18,
uuid:"9268BBFA-BB0D-46AB-9E85-8D733899A629"
},


{
foreground:"#666666",
formIndex:20100,
lineSize:1,
location:"6,297",
points:"880,274;7,274",
shapeType:1,
size:"873,1",
typeid:18,
uuid:"CA15705C-6C04-4539-9477-90AAB12BD16B"
},



it should work fine again.

With the fix i already did it wouldn't bomb out anymore when rendering.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 7582
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Wicket error

Postby msedita » Fri Sep 30, 2011 6:36 pm

Awesome, works great, thanks!
Michael Sedita
MS Health Software Corp.
Developers of software solutions for behavioral healthcare and social service providers.
www.mshealth.com
User avatar
msedita
 
Posts: 235
Joined: Thu Dec 13, 2007 8:01 pm

Re: Wicket error

Postby lvostinar » Wed Nov 02, 2011 11:56 am

msedita wrote:Awesome, works great, thanks!


Added a warning for this in Servoy 6.1 .
Laurian Vostinar
Servoy
lvostinar
 
Posts: 1054
Joined: Tue Feb 19, 2008 10:53 am

Re: Wicket error

Postby lvostinar » Wed Dec 21, 2011 11:54 am

This has been merged in Servoy 6.0.4 also.
Laurian Vostinar
Servoy
lvostinar
 
Posts: 1054
Joined: Tue Feb 19, 2008 10:53 am


Return to Servoy Web Client

Who is online

Users browsing this forum: No registered users and 1 guest