org.obiba.onyx.quartz.core.engine.questionnaire.util.QuestionnaireVariableNameNotUniqueException

The user configured variable name [PMT_ITPGRB_DCS] is used by both [PMT_ITPGRB_DCS.GRABS-ENVELOPE] of type [QuestionCategory] and [PMT_ITPGRB_DCS] of type [Question].

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2

  • via Unknown by Etienne Morency-Bachand [X],
  • via Unknown by Etienne Morency-Bachand [X],
  • Stack trace

    • org.obiba.onyx.quartz.core.engine.questionnaire.util.QuestionnaireVariableNameNotUniqueException: The user configured variable name [PMT_ITPGRB_DCS] is used by both [PMT_ITPGRB_DCS.GRABS-ENVELOPE] of type [QuestionCategory] and [PMT_ITPGRB_DCS] of type [Question]. at org.obiba.onyx.quartz.core.engine.questionnaire.util.QuestionnaireUniqueVariableNameResolver.variableName(QuestionnaireUniqueVariableNameResolver.java:47) at org.obiba.onyx.quartz.core.engine.questionnaire.util.UniqueQuestionnaireElementNameBuilder.buildCategoryVariable(UniqueQuestionnaireElementNameBuilder.java:74) at org.obiba.onyx.quartz.core.engine.questionnaire.util.UniqueQuestionnaireElementNameBuilder.buildCategoricalVariable(UniqueQuestionnaireElementNameBuilder.java:69) at org.obiba.onyx.quartz.core.engine.questionnaire.util.UniqueQuestionnaireElementNameBuilder.build(UniqueQuestionnaireElementNameBuilder.java:55) at org.obiba.onyx.quartz.core.engine.questionnaire.util.UniqueQuestionnaireElementNameBuilder$1.visit(UniqueQuestionnaireElementNameBuilder.java:134) at org.obiba.onyx.quartz.core.engine.questionnaire.question.Question.accept(Question.java:381) at org.obiba.onyx.quartz.core.engine.questionnaire.util.QuestionnaireWalker.visit(QuestionnaireWalker.java:118) at org.obiba.onyx.quartz.core.engine.questionnaire.question.Question.accept(Question.java:381) at org.obiba.onyx.quartz.core.engine.questionnaire.util.QuestionnaireWalker.visit(QuestionnaireWalker.java:109) at org.obiba.onyx.quartz.core.engine.questionnaire.question.Page.accept(Page.java:85) at org.obiba.onyx.quartz.core.engine.questionnaire.util.QuestionnaireWalker.visit(QuestionnaireWalker.java:92) at org.obiba.onyx.quartz.core.engine.questionnaire.question.Section.accept(Section.java:102) at org.obiba.onyx.quartz.core.engine.questionnaire.util.QuestionnaireWalker.visit(QuestionnaireWalker.java:77) at org.obiba.onyx.quartz.core.engine.questionnaire.question.Questionnaire.accept(Questionnaire.java:224) at org.obiba.onyx.quartz.core.engine.questionnaire.util.QuestionnaireWalker.walk(QuestionnaireWalker.java:55) at org.obiba.onyx.quartz.core.engine.questionnaire.util.QuestionnaireWalker.walk(QuestionnaireWalker.java:63) at org.obiba.onyx.quartz.core.engine.questionnaire.util.UniqueQuestionnaireElementNameBuilder.ensureQuestionnaireVariableNamesAreUnique(UniqueQuestionnaireElementNameBuilder.java:162) at org.obiba.onyx.quartz.editor.questionnaire.utils.QuestionnairePersistenceUtils.persist(QuestionnairePersistenceUtils.java:43) at WICKET_org.obiba.onyx.quartz.editor.questionnaire.utils.QuestionnairePersistenceUtils$$FastClassByCGLIB$$6e264292.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) at org.apache.wicket.proxy.LazyInitProxyFactory$CGLibInterceptor.intercept(LazyInitProxyFactory.java:317) at WICKET_org.obiba.onyx.quartz.editor.questionnaire.utils.QuestionnairePersistenceUtils$$EnhancerByCGLIB$$36b7050c.persist(<generated>) at org.obiba.onyx.quartz.editor.question.EditQuestionPanel.persist(EditQuestionPanel.java:386) at org.obiba.onyx.quartz.editor.questionnaire.tree.QuestionnaireTreePanel$23.onSave(QuestionnaireTreePanel.java:856) at org.obiba.onyx.quartz.editor.question.EditQuestionPanel$7.onSave(EditQuestionPanel.java:331) at org.obiba.onyx.quartz.editor.utils.SaveCancelPanel$1.onSubmit(SaveCancelPanel.java:37) at org.apache.wicket.ajax.markup.html.form.AjaxButton$1.onSubmit(AjaxButton.java:101) at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:143) 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 org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:319) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1322) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1322) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:473) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:516) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:929) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:403) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:184) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:864) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:247) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:151) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:114) at org.eclipse.jetty.server.Server.handle(Server.java:352) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:596) at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1068) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:805) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:218) at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:426) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:508) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.access$000(SelectChannelEndPoint.java:34) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:451) at java.lang.Thread.run(Thread.java:679)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.