org.apache.wicket.markup.MarkupException: Unable to find component with id 'autoComplete' in [MarkupContainer [Component id = 0]]. This means that you declared wicket:id=autoComplete 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 = file:/D:/LOG_DEV/constellio_standalone_2.0M2/tomcat/webapps/constellio/WEB-INF/classes/com/doculibre/constellio/wicket/panels/admin/searchInterface/generalOptions/advancedSearch/AdvancedSearchOptionsPanel.html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns:wicket="http://wicket.sourceforge.net"> <wicket:panel> <input id="enabled" type="checkbox" wicket:id="enabled"/> <label for="enabled"><wicket:message key="enabled">[enabled]</wicket:message></label> <br></br> <wicket:message key="initialRules">["initialRules"]</wicket:message> <select wicket:id="initialRules"></select> <table class="dataAdmin"> <tr wicket:id="enabledRulesHeader"> <th><wicket:message key="indexField">[indexField]</wicket:message></th> <th><wicket:message key="indexFieldEnabled">[indexFieldEnabled]</wicket:message></th> <th><wicket:message key="autocomplete">[autocomplete]</wicket:message><span style="color:red; font-weight: bolder">*</span></th> </tr> <tr wicket:id="enabledRules"> <td><span wicket:id="indexFieldName"></span></td> <td><input type="checkbox" wicket:id="enabled"/></td> <td><input type="checkbox" wicket:id="autoComplete"/></td> </tr> </table> <p style="color:red; width: 320px;">* <wicket:message key="needReindex">[key]</wicket:message></p> </wicket:panel> </html>, index = 39, current = '<input type="checkbox" wicket:id="autoComplete"/>' (line 21, column 8)]

Google Groups | Cédric Maria-Sube | 4 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    [Constellio 2.0 M2] Advanced search

    Google Groups | 4 years ago | Cédric Maria-Sube
    org.apache.wicket.markup.MarkupException: Unable to find component with id 'autoComplete' in [MarkupContainer [Component id = 0]]. This means that you declared wicket:id=autoComplete 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 = file:/D:/LOG_DEV/constellio_standalone_2.0M2/tomcat/webapps/constellio/WEB-INF/classes/com/doculibre/constellio/wicket/panels/admin/searchInterface/generalOptions/advancedSearch/AdvancedSearchOptionsPanel.html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns:wicket="http://wicket.sourceforge.net"> <wicket:panel> <input id="enabled" type="checkbox" wicket:id="enabled"/> <label for="enabled"><wicket:message key="enabled">[enabled]</wicket:message></label> <br></br> <wicket:message key="initialRules">["initialRules"]</wicket:message> <select wicket:id="initialRules"></select> <table class="dataAdmin"> <tr wicket:id="enabledRulesHeader"> <th><wicket:message key="indexField">[indexField]</wicket:message></th> <th><wicket:message key="indexFieldEnabled">[indexFieldEnabled]</wicket:message></th> <th><wicket:message key="autocomplete">[autocomplete]</wicket:message><span style="color:red; font-weight: bolder">*</span></th> </tr> <tr wicket:id="enabledRules"> <td><span wicket:id="indexFieldName"></span></td> <td><input type="checkbox" wicket:id="enabled"/></td> <td><input type="checkbox" wicket:id="autoComplete"/></td> </tr> </table> <p style="color:red; width: 320px;">* <wicket:message key="needReindex">[key]</wicket:message></p> </wicket:panel> </html>, index = 39, current = '<input type="checkbox" wicket:id="autoComplete"/>' (line 21, column 8)]
  2. 0

    When adding a condition of type 'answer to a previous question', saving and returning to this condition OR when trying to select the contition type 'Variable': WicketMessage: Unable to find component with id 'previewVariable' in [MarkupContainer [Component id = previewVariableVisibility]]. This means that you declared wicket:id=previewVariable 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 = file:/var/run/tomcat-6/Catalina/localhost/onyx/loader/org/obiba/onyx/quartz/editor/question/condition/ConditionPanel.html <wicket:panel> <span wicket:id="variableWindow"></span> <span wicket:id="explain" class="intro"></span> <div wicket:id="conditionType"> <input wicket:id="none" type="radio"/> <label wicket:id="noneLabel"></label> <br /> <input wicket:id="questionType" type="radio"/> <label wicket:id="questionTypeLabel"></label> <span wicket:id="questionTypeContainer"> <table class="keyValueTable radioContent" wicket:id="questionConditionContainer"> <tr> <td class="keyValueTableKey" valign="top"><label wicket:id="questionLabel"></label></td> <td><select wicket:id="question"></select></td> </tr> <tr> <td class="keyValueTableKey" valign="top"><label wicket:id="categoryLabel"></label></td> <td><select wicket:id="category"></select></td> </tr> </table> <br /> </span> <input wicket:id="variableType" type="radio"/> <label wicket:id="variableTypeLabel"></label> <span wicket:id="variableTypeContainer"> <div class="radioContent" wicket:id="variableContainer"> <select wicket:id="variable"></select> <a wicket:id="newVariable"><img wicket:id="newVariableImg"/></a> <span wicket:id="previewVariableVisibility"> <img wicket:id="previewVariable" class="preview"/> <pre wicket:id="previewScript"/> </span> </div> <br /> </span> </div> </wicket:panel>, index = 58, current = '<img wicket:id="previewVariable" class="preview"/>' (line 33, column 6)] Root cause: org.apache.wicket.markup.MarkupException: Unable to find component with id 'previewVariable' in [MarkupContainer [Component id = previewVariableVisibility]]. This means that you declared wicket:id=previewVariable 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 = file:/var/run/tomcat-6/Catalina/localhost/onyx/loader/org/obiba/onyx/quartz/editor/question/condition/ConditionPanel.html <wicket:panel> <span wicket:id="variableWindow"></span> <span wicket:id="explain" class="intro"></span> <div wicket:id="conditionType"> <input wicket:id="none" type="radio"/> <label wicket:id="noneLabel"></label> <br /> <input wicket:id="questionType" type="radio"/> <label wicket:id="questionTypeLabel"></label> <span wicket:id="questionTypeContainer"> <table class="keyValueTable radioContent" wicket:id="questionConditionContainer"> <tr> <td class="keyValueTableKey" valign="top"><label wicket:id="questionLabel"></label></td> <td><select wicket:id="question"></select></td> </tr> <tr> <td class="keyValueTableKey" valign="top"><label wicket:id="categoryLabel"></label></td> <td><select wicket:id="category"></select></td> </tr> </table> <br /> </span> <input wicket:id="variableType" type="radio"/> <label wicket:id="variableTypeLabel"></label> <span wicket:id="variableTypeContainer"> <div class="radioContent" wicket:id="variableContainer"> <select wicket:id="variable"></select> <a wicket:id="newVariable"><img wicket:id="newVariableImg"/></a> <span wicket:id="previewVariableVisibility"> <img wicket:id="previewVariable" class="preview"/> <pre wicket:id="previewScript"/> </span> </div> <br /> </span> </div> </wicket:panel>, index = 58, current = '<img wicket:id="previewVariable" class="preview"/>' (line 33, column 6)] at org.apache.wicket.markup.MarkupStream.throwMarkupException(MarkupStream.java:474) at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1468) at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1603) at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1527) at org.apache.wicket.Component.renderComponent(Component.java:2686) at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1538) at org.apache.wicket.Component.render(Component.java:2517) at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1440) at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1603) at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1527) at org.apache.wicket.Component.renderComponent(Component.java:2686) at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1538) at org.apache.wicket.Component.render(Component.java:2517) at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1440) at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1603) at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1527) at org.apache.wicket.Component.renderComponent(Component.java:2686) at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1538) at org.apache.wicket.Component.render(Component.java:2517) at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1440) at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1603) at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1527) at org.apache.wicket.Component.renderComponent(Component.java:2686) at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1538) at org.apache.wicket.Component.render(Component.java:2517) at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1440) at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1603) at org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:696) at org.apache.wicket.markup.html.panel.Panel.onComponentTagBody(Panel.java:114) at org.apache.wicket.Component.renderComponent(Component.java:2686) at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1538) at org.apache.wicket.Component.render(Component.java:2517) at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1440) at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1603) at org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:696) at org.apache.wicket.markup.html.panel.Panel.onComponentTagBody(Panel.java:114) at org.apache.wicket.Component.renderComponent(Component.java:2686) at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1538) at org.apache.wicket.Component.render(Component.java:2517) at org.apache.wicket.Component.renderComponent(Component.java:2627) at org.apache.wicket.ajax.AjaxRequestTarget.respondComponent(AjaxRequestTarget.java:853) at org.apache.wicket.ajax.AjaxRequestTarget.respondComponents(AjaxRequestTarget.java:682) at org.apache.wicket.ajax.AjaxRequestTarget.respond(AjaxRequestTarget.java:592) at org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105) 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:484) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:317) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source) at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source) at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source) at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source) at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source) at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source) at org.apache.catalina.valves.ErrorReportValve.invoke(Unknown Source) at org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source) at org.apache.catalina.connector.CoyoteAdapter.service(Unknown Source) at org.apache.coyote.http11.Http11Processor.process(Unknown Source) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Unknown Source) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(Unknown Source) at java.lang.Thread.run(Thread.java:619) Markup The problem is in "file:/var/run/tomcat-6/Catalina/localhost/onyx/loader/org/obiba/onyx/quartz/editor/question/condition/ConditionPanel.html": <wicket:panel> <span wicket:id="variableWindow"></span> <span wicket:id="explain" class="intro"></span> <div wicket:id="conditionType"> <input wicket:id="none" type="radio"/> <label wicket:id="noneLabel"></label> <br /> <input wicket:id="questionType" type="radio"/> <label wicket:id="questionTypeLabel"></label> <span wicket:id="questionTypeContainer"> <table class="keyValueTable radioContent" wicket:id="questionConditionContainer"> <tr> <td class="keyValueTableKey" valign="top"><label wicket:id="questionLabel"></label></td> <td><select wicket:id="question"></select></td> </tr> <tr> <td class="keyValueTableKey" valign="top"><label wicket:id="categoryLabel"></label></td> <td><select wicket:id="category"></select></td> </tr> </table> <br /> </span> <input wicket:id="variableType" type="radio"/> <label wicket:id="variableTypeLabel"></label> <span wicket:id="variableTypeContainer"> <div class="radioContent" wicket:id="variableContainer"> <select wicket:id="variable"></select> <a wicket:id="newVariable"><img wicket:id="newVariableImg"/></a> <span wicket:id="previewVariableVisibility"> <img wicket:id="previewVariable" class="preview"/> <pre wicket:id="previewScript"/> </span> </div> <br /> </span> </div> </wicket:panel>

    JIRA | 6 years ago | Etienne Morency-Bachand [X]
    org.apache.wicket.markup.MarkupException: Unable to find component with id 'previewVariable' in [MarkupContainer [Component id = previewVariableVisibility]]. This means that you declared wicket:id=previewVariable 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 = file:/var/run/tomcat-6/Catalina/localhost/onyx/loader/org/obiba/onyx/quartz/editor/question/condition/ConditionPanel.html <wicket:panel> <span wicket:id="variableWindow"></span> <span wicket:id="explain" class="intro"></span> <div wicket:id="conditionType"> <input wicket:id="none" type="radio"/> <label wicket:id="noneLabel"></label> <br /> <input wicket:id="questionType" type="radio"/> <label wicket:id="questionTypeLabel"></label> <span wicket:id="questionTypeContainer"> <table class="keyValueTable radioContent" wicket:id="questionConditionContainer"> <tr> <td class="keyValueTableKey" valign="top"><label wicket:id="questionLabel"></label></td> <td><select wicket:id="question"></select></td> </tr> <tr> <td class="keyValueTableKey" valign="top"><label wicket:id="categoryLabel"></label></td> <td><select wicket:id="category"></select></td> </tr> </table> <br /> </span> <input wicket:id="variableType" type="radio"/> <label wicket:id="variableTypeLabel"></label> <span wicket:id="variableTypeContainer"> <div class="radioContent" wicket:id="variableContainer"> <select wicket:id="variable"></select> <a wicket:id="newVariable"><img wicket:id="newVariableImg"/></a> <span wicket:id="previewVariableVisibility"> <img wicket:id="previewVariable" class="preview"/> <pre wicket:id="previewScript"/> </span> </div> <br /> </span> </div> </wicket:panel>, index = 58, current = '<img wicket:id="previewVariable" class="preview"/>' (line 33, column 6)]
  3. 0

    When adding a condition of type 'answer to a previous question', saving and returning to this condition OR when trying to select the contition type 'Variable': WicketMessage: Unable to find component with id 'previewVariable' in [MarkupContainer [Component id = previewVariableVisibility]]. This means that you declared wicket:id=previewVariable 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 = file:/var/run/tomcat-6/Catalina/localhost/onyx/loader/org/obiba/onyx/quartz/editor/question/condition/ConditionPanel.html <wicket:panel> <span wicket:id="variableWindow"></span> <span wicket:id="explain" class="intro"></span> <div wicket:id="conditionType"> <input wicket:id="none" type="radio"/> <label wicket:id="noneLabel"></label> <br /> <input wicket:id="questionType" type="radio"/> <label wicket:id="questionTypeLabel"></label> <span wicket:id="questionTypeContainer"> <table class="keyValueTable radioContent" wicket:id="questionConditionContainer"> <tr> <td class="keyValueTableKey" valign="top"><label wicket:id="questionLabel"></label></td> <td><select wicket:id="question"></select></td> </tr> <tr> <td class="keyValueTableKey" valign="top"><label wicket:id="categoryLabel"></label></td> <td><select wicket:id="category"></select></td> </tr> </table> <br /> </span> <input wicket:id="variableType" type="radio"/> <label wicket:id="variableTypeLabel"></label> <span wicket:id="variableTypeContainer"> <div class="radioContent" wicket:id="variableContainer"> <select wicket:id="variable"></select> <a wicket:id="newVariable"><img wicket:id="newVariableImg"/></a> <span wicket:id="previewVariableVisibility"> <img wicket:id="previewVariable" class="preview"/> <pre wicket:id="previewScript"/> </span> </div> <br /> </span> </div> </wicket:panel>, index = 58, current = '<img wicket:id="previewVariable" class="preview"/>' (line 33, column 6)] Root cause: org.apache.wicket.markup.MarkupException: Unable to find component with id 'previewVariable' in [MarkupContainer [Component id = previewVariableVisibility]]. This means that you declared wicket:id=previewVariable 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 = file:/var/run/tomcat-6/Catalina/localhost/onyx/loader/org/obiba/onyx/quartz/editor/question/condition/ConditionPanel.html <wicket:panel> <span wicket:id="variableWindow"></span> <span wicket:id="explain" class="intro"></span> <div wicket:id="conditionType"> <input wicket:id="none" type="radio"/> <label wicket:id="noneLabel"></label> <br /> <input wicket:id="questionType" type="radio"/> <label wicket:id="questionTypeLabel"></label> <span wicket:id="questionTypeContainer"> <table class="keyValueTable radioContent" wicket:id="questionConditionContainer"> <tr> <td class="keyValueTableKey" valign="top"><label wicket:id="questionLabel"></label></td> <td><select wicket:id="question"></select></td> </tr> <tr> <td class="keyValueTableKey" valign="top"><label wicket:id="categoryLabel"></label></td> <td><select wicket:id="category"></select></td> </tr> </table> <br /> </span> <input wicket:id="variableType" type="radio"/> <label wicket:id="variableTypeLabel"></label> <span wicket:id="variableTypeContainer"> <div class="radioContent" wicket:id="variableContainer"> <select wicket:id="variable"></select> <a wicket:id="newVariable"><img wicket:id="newVariableImg"/></a> <span wicket:id="previewVariableVisibility"> <img wicket:id="previewVariable" class="preview"/> <pre wicket:id="previewScript"/> </span> </div> <br /> </span> </div> </wicket:panel>, index = 58, current = '<img wicket:id="previewVariable" class="preview"/>' (line 33, column 6)] at org.apache.wicket.markup.MarkupStream.throwMarkupException(MarkupStream.java:474) at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1468) at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1603) at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1527) at org.apache.wicket.Component.renderComponent(Component.java:2686) at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1538) at org.apache.wicket.Component.render(Component.java:2517) at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1440) at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1603) at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1527) at org.apache.wicket.Component.renderComponent(Component.java:2686) at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1538) at org.apache.wicket.Component.render(Component.java:2517) at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1440) at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1603) at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1527) at org.apache.wicket.Component.renderComponent(Component.java:2686) at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1538) at org.apache.wicket.Component.render(Component.java:2517) at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1440) at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1603) at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1527) at org.apache.wicket.Component.renderComponent(Component.java:2686) at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1538) at org.apache.wicket.Component.render(Component.java:2517) at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1440) at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1603) at org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:696) at org.apache.wicket.markup.html.panel.Panel.onComponentTagBody(Panel.java:114) at org.apache.wicket.Component.renderComponent(Component.java:2686) at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1538) at org.apache.wicket.Component.render(Component.java:2517) at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1440) at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1603) at org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:696) at org.apache.wicket.markup.html.panel.Panel.onComponentTagBody(Panel.java:114) at org.apache.wicket.Component.renderComponent(Component.java:2686) at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1538) at org.apache.wicket.Component.render(Component.java:2517) at org.apache.wicket.Component.renderComponent(Component.java:2627) at org.apache.wicket.ajax.AjaxRequestTarget.respondComponent(AjaxRequestTarget.java:853) at org.apache.wicket.ajax.AjaxRequestTarget.respondComponents(AjaxRequestTarget.java:682) at org.apache.wicket.ajax.AjaxRequestTarget.respond(AjaxRequestTarget.java:592) at org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105) 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:484) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:317) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source) at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source) at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source) at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source) at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source) at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source) at org.apache.catalina.valves.ErrorReportValve.invoke(Unknown Source) at org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source) at org.apache.catalina.connector.CoyoteAdapter.service(Unknown Source) at org.apache.coyote.http11.Http11Processor.process(Unknown Source) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Unknown Source) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(Unknown Source) at java.lang.Thread.run(Thread.java:619) Markup The problem is in "file:/var/run/tomcat-6/Catalina/localhost/onyx/loader/org/obiba/onyx/quartz/editor/question/condition/ConditionPanel.html": <wicket:panel> <span wicket:id="variableWindow"></span> <span wicket:id="explain" class="intro"></span> <div wicket:id="conditionType"> <input wicket:id="none" type="radio"/> <label wicket:id="noneLabel"></label> <br /> <input wicket:id="questionType" type="radio"/> <label wicket:id="questionTypeLabel"></label> <span wicket:id="questionTypeContainer"> <table class="keyValueTable radioContent" wicket:id="questionConditionContainer"> <tr> <td class="keyValueTableKey" valign="top"><label wicket:id="questionLabel"></label></td> <td><select wicket:id="question"></select></td> </tr> <tr> <td class="keyValueTableKey" valign="top"><label wicket:id="categoryLabel"></label></td> <td><select wicket:id="category"></select></td> </tr> </table> <br /> </span> <input wicket:id="variableType" type="radio"/> <label wicket:id="variableTypeLabel"></label> <span wicket:id="variableTypeContainer"> <div class="radioContent" wicket:id="variableContainer"> <select wicket:id="variable"></select> <a wicket:id="newVariable"><img wicket:id="newVariableImg"/></a> <span wicket:id="previewVariableVisibility"> <img wicket:id="previewVariable" class="preview"/> <pre wicket:id="previewScript"/> </span> </div> <br /> </span> </div> </wicket:panel>

    JIRA | 6 years ago | Etienne Morency-Bachand [X]
    org.apache.wicket.markup.MarkupException: Unable to find component with id 'previewVariable' in [MarkupContainer [Component id = previewVariableVisibility]]. This means that you declared wicket:id=previewVariable 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 = file:/var/run/tomcat-6/Catalina/localhost/onyx/loader/org/obiba/onyx/quartz/editor/question/condition/ConditionPanel.html <wicket:panel> <span wicket:id="variableWindow"></span> <span wicket:id="explain" class="intro"></span> <div wicket:id="conditionType"> <input wicket:id="none" type="radio"/> <label wicket:id="noneLabel"></label> <br /> <input wicket:id="questionType" type="radio"/> <label wicket:id="questionTypeLabel"></label> <span wicket:id="questionTypeContainer"> <table class="keyValueTable radioContent" wicket:id="questionConditionContainer"> <tr> <td class="keyValueTableKey" valign="top"><label wicket:id="questionLabel"></label></td> <td><select wicket:id="question"></select></td> </tr> <tr> <td class="keyValueTableKey" valign="top"><label wicket:id="categoryLabel"></label></td> <td><select wicket:id="category"></select></td> </tr> </table> <br /> </span> <input wicket:id="variableType" type="radio"/> <label wicket:id="variableTypeLabel"></label> <span wicket:id="variableTypeContainer"> <div class="radioContent" wicket:id="variableContainer"> <select wicket:id="variable"></select> <a wicket:id="newVariable"><img wicket:id="newVariableImg"/></a> <span wicket:id="previewVariableVisibility"> <img wicket:id="previewVariable" class="preview"/> <pre wicket:id="previewScript"/> </span> </div> <br /> </span> </div> </wicket:panel>, index = 58, current = '<img wicket:id="previewVariable" class="preview"/>' (line 33, column 6)]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.wicket.markup.MarkupException

      Unable to find component with id 'autoComplete' in [MarkupContainer [Component id = 0]]. This means that you declared wicket:id=autoComplete 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 = file:/D:/LOG_DEV/constellio_standalone_2.0M2/tomcat/webapps/constellio/WEB-INF/classes/com/doculibre/constellio/wicket/panels/admin/searchInterface/generalOptions/advancedSearch/AdvancedSearchOptionsPanel.html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns:wicket="http://wicket.sourceforge.net"> <wicket:panel> <input id="enabled" type="checkbox" wicket:id="enabled"/> <label for="enabled"><wicket:message key="enabled">[enabled]</wicket:message></label> <br></br> <wicket:message key="initialRules">["initialRules"]</wicket:message> <select wicket:id="initialRules"></select> <table class="dataAdmin"> <tr wicket:id="enabledRulesHeader"> <th><wicket:message key="indexField">[indexField]</wicket:message></th> <th><wicket:message key="indexFieldEnabled">[indexFieldEnabled]</wicket:message></th> <th><wicket:message key="autocomplete">[autocomplete]</wicket:message><span style="color:red; font-weight: bolder">*</span></th> </tr> <tr wicket:id="enabledRules"> <td><span wicket:id="indexFieldName"></span></td> <td><input type="checkbox" wicket:id="enabled"/></td> <td><input type="checkbox" wicket:id="autoComplete"/></td> </tr> </table> <p style="color:red; width: 320px;">* <wicket:message key="needReindex">[key]</wicket:message></p> </wicket:panel> </html>, index = 39, current = '<input type="checkbox" wicket:id="autoComplete"/>' (line 21, column 8)]

      at org.apache.wicket.markup.MarkupStream.throwMarkupException()
    2. Wicket Core
      AjaxRequestTarget.respond
      1. org.apache.wicket.markup.MarkupStream.throwMarkupException(MarkupStream.java:464)
      2. org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1345)
      3. org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1477)
      4. org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1402)
      5. org.apache.wicket.Component.renderComponent(Component.java:2524)
      6. org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1412)
      7. org.apache.wicket.Component.render(Component.java:2361)
      8. org.apache.wicket.markup.html.list.ListView.renderItem(ListView.java:634)
      9. org.apache.wicket.markup.html.list.ListView.renderChild(ListView.java:622)
      10. org.apache.wicket.markup.repeater.AbstractRepeater.onRender(AbstractRepeater.java:100)
      11. org.apache.wicket.Component.render(Component.java:2361)
      12. org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1298)
      13. org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1477)
      14. org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:640)
      15. org.apache.wicket.markup.html.panel.Panel.onComponentTagBody(Panel.java:112)
      16. org.apache.wicket.Component.renderComponent(Component.java:2524)
      17. org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1412)
      18. org.apache.wicket.Component.render(Component.java:2361)
      19. org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1298)
      20. org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1477)
      21. org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1402)
      22. org.apache.wicket.Component.renderComponent(Component.java:2524)
      23. org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1412)
      24. org.apache.wicket.Component.render(Component.java:2361)
      25. org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1298)
      26. org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1477)
      27. org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:640)
      28. org.apache.wicket.markup.html.panel.Panel.onComponentTagBody(Panel.java:112)
      29. org.apache.wicket.Component.renderComponent(Component.java:2524)
      30. org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1412)
      31. org.apache.wicket.Component.render(Component.java:2361)
      32. org.apache.wicket.Component.renderComponent(Component.java:2464)
      33. org.apache.wicket.ajax.AjaxRequestTarget.respondComponent(AjaxRequestTarget.java:785)
      34. org.apache.wicket.ajax.AjaxRequestTarget.respondComponents(AjaxRequestTarget.java:662)
      35. org.apache.wicket.ajax.AjaxRequestTarget.respond(AjaxRequestTarget.java:577)
      35 frames
    3. Wicket Request
      AbstractRequestCycleProcessor.respond
      1. org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:104)
      1 frame
    4. Wicket Core
      WicketServlet.doGet
      1. org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1245)
      2. org.apache.wicket.RequestCycle.step(RequestCycle.java:1316)
      3. org.apache.wicket.RequestCycle.steps(RequestCycle.java:1418)
      4. org.apache.wicket.RequestCycle.request(RequestCycle.java:532)
      5. org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:356)
      6. org.apache.wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:124)
      6 frames
    5. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      2 frames
    6. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      2 frames
    7. com.doculibre.constellio
      SetCharacterEncodingFilter.doFilter
      1. com.doculibre.constellio.filters.SetCharacterEncodingFilter.doFilter(Unknown Source)
      1 frame
    8. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      2 frames
    9. com.doculibre.constellio
      LocalRequestFilter.doFilter
      1. com.doculibre.constellio.filters.LocalRequestFilter.doFilter(Unknown Source)
      1 frame
    10. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
      7. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
      8. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
      9. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
      9 frames
    11. Grizzly HTTP
      JIoEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1008)
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
      3. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
      3 frames
    12. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      3. java.lang.Thread.run(Unknown Source)
      3 frames