org.springframework.context.NoSuchMessageException: No message found under code 'Reason 1' for locale 'fr'.

JIRA | Philippe Laflamme | 8 years ago
  1. 0

    Taken from ONYX-15 to separate issues: In the participant page, click on cancel (in the right box in the header of the page) You will receive: WicketMessage: Exception in rendering component: [MarkupContainer [Component id = reasonsSelect, page = org.obiba.onyx.webapp.participant.page.InterviewPage, path = 14:modal:modal:content:form:reasons:reasonsSelect.DropDownChoice, isVisible = true, isVersioned = false]] Root cause: org.springframework.context.NoSuchMessageException: No message found under code 'Reason 1' for locale 'fr'. at org.springframework.context.support.AbstractMessageSource.getMessage(AbstractMessageSource.java:136) at org.springframework.context.support.AbstractApplicationContext.getMessage(AbstractApplicationContext.java:984) at org.obiba.onyx.wicket.action.ActionDefinitionPanel$ReasonsFragment$1.getDisplayValue(ActionDefinitionPanel.java:177) at org.apache.wicket.markup.html.form.AbstractChoice.appendOptionHtml(AbstractChoice.java:374) at org.apache.wicket.markup.html.form.AbstractChoice.onComponentTagBody(AbstractChoice.java:352) at org.apache.wicket.Component.renderComponent(Component.java:2481) [ Show » ] Nathalie Émond - 25/Sep/08 05:25 PM In the participant page, click on cancel (in the right box in the header of the page) You will receive: WicketMessage: Exception in rendering component: [MarkupContainer [Component id = reasonsSelect, page = org.obiba.onyx.webapp.participant.page.InterviewPage, path = 14:modal:modal:content:form:reasons:reasonsSelect.DropDownChoice, isVisible = true, isVersioned = false]] Root cause: org.springframework.context.NoSuchMessageException: No message found under code 'Reason 1' for locale 'fr'. at org.springframework.context.support.AbstractMessageSource.getMessage(AbstractMessageSource.java:136) at org.springframework.context.support.AbstractApplicationContext.getMessage(AbstractApplicationContext.java:984) at org.obiba.onyx.wicket.action.ActionDefinitionPanel$ReasonsFragment$1.getDisplayValue(ActionDefinitionPanel.java:177) at org.apache.wicket.markup.html.form.AbstractChoice.appendOptionHtml(AbstractChoice.java:374) at org.apache.wicket.markup.html.form.AbstractChoice.onComponentTagBody(AbstractChoice.java:352) at org.apache.wicket.Component.renderComponent(Component.java:2481)

    JIRA | 8 years ago | Philippe Laflamme
    org.springframework.context.NoSuchMessageException: No message found under code 'Reason 1' for locale 'fr'.
  2. 0

    Taken from ONYX-15 to separate issues: In the participant page, click on cancel (in the right box in the header of the page) You will receive: WicketMessage: Exception in rendering component: [MarkupContainer [Component id = reasonsSelect, page = org.obiba.onyx.webapp.participant.page.InterviewPage, path = 14:modal:modal:content:form:reasons:reasonsSelect.DropDownChoice, isVisible = true, isVersioned = false]] Root cause: org.springframework.context.NoSuchMessageException: No message found under code 'Reason 1' for locale 'fr'. at org.springframework.context.support.AbstractMessageSource.getMessage(AbstractMessageSource.java:136) at org.springframework.context.support.AbstractApplicationContext.getMessage(AbstractApplicationContext.java:984) at org.obiba.onyx.wicket.action.ActionDefinitionPanel$ReasonsFragment$1.getDisplayValue(ActionDefinitionPanel.java:177) at org.apache.wicket.markup.html.form.AbstractChoice.appendOptionHtml(AbstractChoice.java:374) at org.apache.wicket.markup.html.form.AbstractChoice.onComponentTagBody(AbstractChoice.java:352) at org.apache.wicket.Component.renderComponent(Component.java:2481) [ Show » ] Nathalie Émond - 25/Sep/08 05:25 PM In the participant page, click on cancel (in the right box in the header of the page) You will receive: WicketMessage: Exception in rendering component: [MarkupContainer [Component id = reasonsSelect, page = org.obiba.onyx.webapp.participant.page.InterviewPage, path = 14:modal:modal:content:form:reasons:reasonsSelect.DropDownChoice, isVisible = true, isVersioned = false]] Root cause: org.springframework.context.NoSuchMessageException: No message found under code 'Reason 1' for locale 'fr'. at org.springframework.context.support.AbstractMessageSource.getMessage(AbstractMessageSource.java:136) at org.springframework.context.support.AbstractApplicationContext.getMessage(AbstractApplicationContext.java:984) at org.obiba.onyx.wicket.action.ActionDefinitionPanel$ReasonsFragment$1.getDisplayValue(ActionDefinitionPanel.java:177) at org.apache.wicket.markup.html.form.AbstractChoice.appendOptionHtml(AbstractChoice.java:374) at org.apache.wicket.markup.html.form.AbstractChoice.onComponentTagBody(AbstractChoice.java:352) at org.apache.wicket.Component.renderComponent(Component.java:2481)

    JIRA | 8 years ago | Philippe Laflamme
    org.springframework.context.NoSuchMessageException: No message found under code 'Reason 1' for locale 'fr'.
  3. 0

    Issue with Spring ReloadableResourceBundleMessageSource

    Stack Overflow | 3 years ago | Beast
    org.springframework.context.NoSuchMessageException: No message found under code 'jinesh.latestaddproperty' for locale 'null'.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Spring messageSource works in JSP and not works in jUnit test

    Stack Overflow | 4 years ago | vadim_shb
    org.springframework.context.NoSuchMessageException: No message found under code 'validation.User.NULL_FIRST_NAME' for locale 'null'.
  6. 0

    Reading properties file in Spring 3.2

    Stack Overflow | 3 years ago | Jitendra Shukla
    org.springframework.context.NoSuchMessageException: No message found under code 'emp' for locale 'en_US'.

    3 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.springframework.context.NoSuchMessageException

      No message found under code 'Reason 1' for locale 'fr'.

      at org.springframework.context.support.AbstractMessageSource.getMessage()
    2. Spring Context
      AbstractApplicationContext.getMessage
      1. org.springframework.context.support.AbstractMessageSource.getMessage(AbstractMessageSource.java:136)
      2. org.springframework.context.support.AbstractApplicationContext.getMessage(AbstractApplicationContext.java:984)
      2 frames
    3. org.obiba.onyx
      ActionDefinitionPanel$ReasonsFragment$1.getDisplayValue
      1. org.obiba.onyx.wicket.action.ActionDefinitionPanel$ReasonsFragment$1.getDisplayValue(ActionDefinitionPanel.java:177)
      1 frame
    4. Wicket Core
      Component.renderComponent
      1. org.apache.wicket.markup.html.form.AbstractChoice.appendOptionHtml(AbstractChoice.java:374)
      2. org.apache.wicket.markup.html.form.AbstractChoice.onComponentTagBody(AbstractChoice.java:352)
      3. org.apache.wicket.Component.renderComponent(Component.java:2481)
      3 frames