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)]

JIRA | Etienne Morency-Bachand [X] | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 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)]
  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

    [Constellio 2.0 M2] Advanced search

    Google Groups | 3 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)]
  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 '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()
    2. Wicket Core
      AjaxRequestTarget.respond
      1. org.apache.wicket.markup.MarkupStream.throwMarkupException(MarkupStream.java:474)
      2. org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1468)
      3. org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1603)
      4. org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1527)
      5. org.apache.wicket.Component.renderComponent(Component.java:2686)
      6. org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1538)
      7. org.apache.wicket.Component.render(Component.java:2517)
      8. org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1440)
      9. org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1603)
      10. org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1527)
      11. org.apache.wicket.Component.renderComponent(Component.java:2686)
      12. org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1538)
      13. org.apache.wicket.Component.render(Component.java:2517)
      14. org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1440)
      15. org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1603)
      16. org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1527)
      17. org.apache.wicket.Component.renderComponent(Component.java:2686)
      18. org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1538)
      19. org.apache.wicket.Component.render(Component.java:2517)
      20. org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1440)
      21. org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1603)
      22. org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1527)
      23. org.apache.wicket.Component.renderComponent(Component.java:2686)
      24. org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1538)
      25. org.apache.wicket.Component.render(Component.java:2517)
      26. org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1440)
      27. org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1603)
      28. org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:696)
      29. org.apache.wicket.markup.html.panel.Panel.onComponentTagBody(Panel.java:114)
      30. org.apache.wicket.Component.renderComponent(Component.java:2686)
      31. org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1538)
      32. org.apache.wicket.Component.render(Component.java:2517)
      33. org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1440)
      34. org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1603)
      35. org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:696)
      36. org.apache.wicket.markup.html.panel.Panel.onComponentTagBody(Panel.java:114)
      37. org.apache.wicket.Component.renderComponent(Component.java:2686)
      38. org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1538)
      39. org.apache.wicket.Component.render(Component.java:2517)
      40. org.apache.wicket.Component.renderComponent(Component.java:2627)
      41. org.apache.wicket.ajax.AjaxRequestTarget.respondComponent(AjaxRequestTarget.java:853)
      42. org.apache.wicket.ajax.AjaxRequestTarget.respondComponents(AjaxRequestTarget.java:682)
      43. org.apache.wicket.ajax.AjaxRequestTarget.respond(AjaxRequestTarget.java:592)
      43 frames
    3. Wicket Request
      AbstractRequestCycleProcessor.respond
      1. org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105)
      1 frame
    4. Wicket Core
      WicketFilter.doFilter
      1. org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1258)
      2. org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
      3. org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
      4. org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
      5. org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:484)
      6. org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:317)
      6 frames
    5. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source)
      2 frames
    6. Hibernate
      OpenSessionInViewFilter.doFilterInternal
      1. org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
      1 frame
    7. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      1 frame
    8. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source)
      4. org.apache.catalina.core.StandardContextValve.invoke(Unknown Source)
      5. org.apache.catalina.core.StandardHostValve.invoke(Unknown Source)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(Unknown Source)
      7. org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source)
      8. org.apache.catalina.connector.CoyoteAdapter.service(Unknown Source)
      8 frames
    9. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Unknown Source)
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Unknown Source)
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(Unknown Source)
      3 frames
    10. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame