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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via JIRA by Etienne Morency-Bachand [X], 1 year ago
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].
via JIRA by Etienne Morency-Bachand [X], 1 year ago
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].
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()
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
at WICKET_org.obiba.onyx.quartz.editor.questionnaire.utils.QuestionnairePersistenceUtils$$EnhancerByCGLIB$$36b7050c.persist()
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.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.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.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 java.lang.Thread.run(Thread.java:679)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.