com.atlassian.jira.issue.customfields.impl.FieldValidationException: '10001' is an invalid Option

Atlassian JIRA | Scott Harwood | 4 years ago
  1. 0

    To reproduce -> * Add a cascading select custom field * In advanced mode search for [YOURCUSTOMFIELD] = cascadeOption(parent) * 500 will be returned from ajax response. * Even worse press refresh. Entire screen is 500. with error {noformat} com.atlassian.jira.issue.customfields.impl.FieldValidationException: Value: 'parent' is an invalid Option {noformat} *After this is fixed please re-enable TestCustomFieldDoesItFitSingle.testCascadingSelect* --- {code} com.atlassian.jira.issue.customfields.impl.FieldValidationException: '10001' is an invalid Option at com.atlassian.jira.issue.customfields.impl.CascadingSelectCFType.getOptionFromStringValue(CascadingSelectCFType.java:484) at com.atlassian.jira.issue.customfields.impl.CascadingSelectCFType.extractOptionFromParams(CascadingSelectCFType.java:464) at com.atlassian.jira.issue.customfields.impl.CascadingSelectCFType.getOptionMapFromCustomFieldParams(CascadingSelectCFType.java:442) at com.atlassian.jira.issue.customfields.impl.CascadingSelectCFType.getValueFromCustomFieldParams(CascadingSelectCFType.java:334) at com.atlassian.jira.issue.customfields.impl.CascadingSelectCFType.getValueFromCustomFieldParams(CascadingSelectCFType.java:69) at com.atlassian.jira.issue.customfields.DefaultCustomFieldValueProvider.getValue(DefaultCustomFieldValueProvider.java:23) at com.atlassian.jira.plugin.customfield.CustomFieldSearcherModuleDescriptorImpl.getViewHtml(CustomFieldSearcherModuleDescriptorImpl.java:110) at com.atlassian.jira.issue.customfields.searchers.renderer.CustomFieldRenderer.getViewHtml(CustomFieldRenderer.java:91) at com.atlassian.jira.issue.customfields.searchers.renderer.CustomFieldRenderer.getViewHtml(CustomFieldRenderer.java:65) at com.atlassian.jira.plugin.issuenav.service.DefaultSearcherService.getValueResults(DefaultSearcherService.java:243) at com.atlassian.jira.plugin.issuenav.service.DefaultSearcherService.getSearchResults(DefaultSearcherService.java:172) at com.atlassian.jira.plugin.issuenav.service.DefaultSearcherService.searchWithJql(DefaultSearcherService.java:166) at com.atlassian.jira.plugin.issuenav.IssueNavAction.performSearch(IssueNavAction.java:727) at com.atlassian.jira.plugin.issuenav.IssueNavAction.doNav(IssueNavAction.java:224) at com.atlassian.jira.plugin.issuenav.IssueNavAction.doDefault(IssueNavAction.java:151) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70) at webwork.util.InjectionUtils.invoke(InjectionUtils.java:56) at webwork.action.ActionSupport.invokeCommand(ActionSupport.java:433) at webwork.action.ActionSupport.execute(ActionSupport.java:157) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:82) {code}

    Atlassian JIRA | 4 years ago | Scott Harwood
    com.atlassian.jira.issue.customfields.impl.FieldValidationException: '10001' is an invalid Option
  2. 0

    To reproduce -> * Add a cascading select custom field * In advanced mode search for [YOURCUSTOMFIELD] = cascadeOption(parent) * 500 will be returned from ajax response. * Even worse press refresh. Entire screen is 500. with error {noformat} com.atlassian.jira.issue.customfields.impl.FieldValidationException: Value: 'parent' is an invalid Option {noformat} *After this is fixed please re-enable TestCustomFieldDoesItFitSingle.testCascadingSelect* --- {code} com.atlassian.jira.issue.customfields.impl.FieldValidationException: '10001' is an invalid Option at com.atlassian.jira.issue.customfields.impl.CascadingSelectCFType.getOptionFromStringValue(CascadingSelectCFType.java:484) at com.atlassian.jira.issue.customfields.impl.CascadingSelectCFType.extractOptionFromParams(CascadingSelectCFType.java:464) at com.atlassian.jira.issue.customfields.impl.CascadingSelectCFType.getOptionMapFromCustomFieldParams(CascadingSelectCFType.java:442) at com.atlassian.jira.issue.customfields.impl.CascadingSelectCFType.getValueFromCustomFieldParams(CascadingSelectCFType.java:334) at com.atlassian.jira.issue.customfields.impl.CascadingSelectCFType.getValueFromCustomFieldParams(CascadingSelectCFType.java:69) at com.atlassian.jira.issue.customfields.DefaultCustomFieldValueProvider.getValue(DefaultCustomFieldValueProvider.java:23) at com.atlassian.jira.plugin.customfield.CustomFieldSearcherModuleDescriptorImpl.getViewHtml(CustomFieldSearcherModuleDescriptorImpl.java:110) at com.atlassian.jira.issue.customfields.searchers.renderer.CustomFieldRenderer.getViewHtml(CustomFieldRenderer.java:91) at com.atlassian.jira.issue.customfields.searchers.renderer.CustomFieldRenderer.getViewHtml(CustomFieldRenderer.java:65) at com.atlassian.jira.plugin.issuenav.service.DefaultSearcherService.getValueResults(DefaultSearcherService.java:243) at com.atlassian.jira.plugin.issuenav.service.DefaultSearcherService.getSearchResults(DefaultSearcherService.java:172) at com.atlassian.jira.plugin.issuenav.service.DefaultSearcherService.searchWithJql(DefaultSearcherService.java:166) at com.atlassian.jira.plugin.issuenav.IssueNavAction.performSearch(IssueNavAction.java:727) at com.atlassian.jira.plugin.issuenav.IssueNavAction.doNav(IssueNavAction.java:224) at com.atlassian.jira.plugin.issuenav.IssueNavAction.doDefault(IssueNavAction.java:151) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70) at webwork.util.InjectionUtils.invoke(InjectionUtils.java:56) at webwork.action.ActionSupport.invokeCommand(ActionSupport.java:433) at webwork.action.ActionSupport.execute(ActionSupport.java:157) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:82) {code}

    Atlassian JIRA | 4 years ago | Scott Harwood
    com.atlassian.jira.issue.customfields.impl.FieldValidationException: '10001' is an invalid Option
  3. 0

    Visit the following page on JDOG https://jdog.atlassian.net/issues/?filter=50673, receive the following server 500 error: {code}com.atlassian.jira.issue.customfields.impl.FieldValidationException: Value: 'Product Language Rollout' is an invalid Option at com.atlassian.jira.issue.customfields.impl.CascadingSelectCFType.getOptionFromStringValue(CascadingSelectCFType.java:481) at com.atlassian.jira.issue.customfields.impl.CascadingSelectCFType.extractOptionFromParams(CascadingSelectCFType.java:464) at com.atlassian.jira.issue.customfields.impl.CascadingSelectCFType.getOptionMapFromCustomFieldParams(CascadingSelectCFType.java:442) at com.atlassian.jira.issue.customfields.impl.CascadingSelectCFType.getValueFromCustomFieldParams(CascadingSelectCFType.java:334) at com.atlassian.jira.issue.customfields.impl.CascadingSelectCFType.getValueFromCustomFieldParams(CascadingSelectCFType.java:69) at com.atlassian.jira.issue.customfields.DefaultCustomFieldValueProvider.getValue(DefaultCustomFieldValueProvider.java:23) at com.atlassian.jira.plugin.customfield.CustomFieldSearcherModuleDescriptorImpl.getViewHtml(CustomFieldSearcherModuleDescriptorImpl.java:111) at com.atlassian.jira.issue.customfields.searchers.renderer.CustomFieldRenderer.getViewHtml(CustomFieldRenderer.java:91) at com.atlassian.jira.issue.customfields.searchers.renderer.CustomFieldRenderer.getViewHtml(CustomFieldRenderer.java:65) at com.atlassian.jira.plugin.issuenav.service.DefaultSearcherService.getValueResults(DefaultSearcherService.java:247) at com.atlassian.jira.plugin.issuenav.service.DefaultSearcherService.getSearchResults(DefaultSearcherService.java:176) at com.atlassian.jira.plugin.issuenav.service.DefaultSearcherService.searchWithJql(DefaultSearcherService.java:170) at com.atlassian.jira.plugin.issuenav.IssueNavAction.performSearch(IssueNavAction.java:1156) at com.atlassian.jira.plugin.issuenav.IssueNavAction.doNav(IssueNavAction.java:366) at com.atlassian.jira.plugin.issuenav.IssueNavAction.doDefault(IssueNavAction.java:244) at sun.reflect.GeneratedMethodAccessor2665.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70) at webwork.util.InjectionUtils.invoke(InjectionUtils.java:56) at webwork.action.ActionSupport.invokeCommand(ActionSupport.java:433) at webwork.action.ActionSupport.execute(ActionSupport.java:157) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:85) at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:39) at webwork.interceptor.NestedInterceptorChain.proceed(NestedInterceptorChain.java:31) at webwork.interceptor.ChainedInterceptor.intercept(ChainedInterceptor.java:16) at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:35) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:225) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:154) at com.atlassian.jira.web.dispatcher.JiraWebworkActionDispatcher.service(JiraWebworkActionDispatcher.java:151) {code} Bizarrely, hitting just https://jdog.atlassian.net/issues/ and letting it redirect to the aforementioned URL works just fine. The JQL for the filter is: {code}theme = "Product Language Rollout" AND createdDate >= 2013-05-03 ORDER BY Rank ASC{code}

    Atlassian JIRA | 3 years ago | Eric Dalgliesh
    com.atlassian.jira.issue.customfields.impl.FieldValidationException: Value: 'Product Language Rollout' is an invalid Option
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Visit the following page on JDOG https://jdog.atlassian.net/issues/?filter=50673, receive the following server 500 error: {code}com.atlassian.jira.issue.customfields.impl.FieldValidationException: Value: 'Product Language Rollout' is an invalid Option at com.atlassian.jira.issue.customfields.impl.CascadingSelectCFType.getOptionFromStringValue(CascadingSelectCFType.java:481) at com.atlassian.jira.issue.customfields.impl.CascadingSelectCFType.extractOptionFromParams(CascadingSelectCFType.java:464) at com.atlassian.jira.issue.customfields.impl.CascadingSelectCFType.getOptionMapFromCustomFieldParams(CascadingSelectCFType.java:442) at com.atlassian.jira.issue.customfields.impl.CascadingSelectCFType.getValueFromCustomFieldParams(CascadingSelectCFType.java:334) at com.atlassian.jira.issue.customfields.impl.CascadingSelectCFType.getValueFromCustomFieldParams(CascadingSelectCFType.java:69) at com.atlassian.jira.issue.customfields.DefaultCustomFieldValueProvider.getValue(DefaultCustomFieldValueProvider.java:23) at com.atlassian.jira.plugin.customfield.CustomFieldSearcherModuleDescriptorImpl.getViewHtml(CustomFieldSearcherModuleDescriptorImpl.java:111) at com.atlassian.jira.issue.customfields.searchers.renderer.CustomFieldRenderer.getViewHtml(CustomFieldRenderer.java:91) at com.atlassian.jira.issue.customfields.searchers.renderer.CustomFieldRenderer.getViewHtml(CustomFieldRenderer.java:65) at com.atlassian.jira.plugin.issuenav.service.DefaultSearcherService.getValueResults(DefaultSearcherService.java:247) at com.atlassian.jira.plugin.issuenav.service.DefaultSearcherService.getSearchResults(DefaultSearcherService.java:176) at com.atlassian.jira.plugin.issuenav.service.DefaultSearcherService.searchWithJql(DefaultSearcherService.java:170) at com.atlassian.jira.plugin.issuenav.IssueNavAction.performSearch(IssueNavAction.java:1156) at com.atlassian.jira.plugin.issuenav.IssueNavAction.doNav(IssueNavAction.java:366) at com.atlassian.jira.plugin.issuenav.IssueNavAction.doDefault(IssueNavAction.java:244) at sun.reflect.GeneratedMethodAccessor2665.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70) at webwork.util.InjectionUtils.invoke(InjectionUtils.java:56) at webwork.action.ActionSupport.invokeCommand(ActionSupport.java:433) at webwork.action.ActionSupport.execute(ActionSupport.java:157) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:85) at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:39) at webwork.interceptor.NestedInterceptorChain.proceed(NestedInterceptorChain.java:31) at webwork.interceptor.ChainedInterceptor.intercept(ChainedInterceptor.java:16) at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:35) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:225) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:154) at com.atlassian.jira.web.dispatcher.JiraWebworkActionDispatcher.service(JiraWebworkActionDispatcher.java:151) {code} Bizarrely, hitting just https://jdog.atlassian.net/issues/ and letting it redirect to the aforementioned URL works just fine. The JQL for the filter is: {code}theme = "Product Language Rollout" AND createdDate >= 2013-05-03 ORDER BY Rank ASC{code}

    Atlassian JIRA | 3 years ago | Eric Dalgliesh
    com.atlassian.jira.issue.customfields.impl.FieldValidationException: Value: 'Product Language Rollout' is an invalid Option
  6. 0

    # Create a new Cascading Select Custom Field. # Add an option to the field. # Make this option the default. # (BUG) Delete the option from the field. The option will be deleted and you will end up with: {noformat} com.atlassian.jira.issue.customfields.impl.FieldValidationException: '10120' is an invalid Option at com.atlassian.jira.issue.customfields.impl.CascadingSelectCFType.getOptionFromStringValue(CascadingSelectCFType.java:484) at com.atlassian.jira.issue.customfields.impl.CascadingSelectCFType.extractOptionFromParams(CascadingSelectCFType.java:464) at com.atlassian.jira.issue.customfields.impl.CascadingSelectCFType.getOptionMapFromCustomFieldParams(CascadingSelectCFType.java:442) at com.atlassian.jira.issue.customfields.impl.CascadingSelectCFType.getDefaultValue(CascadingSelectCFType.java:357) at com.atlassian.jira.issue.customfields.impl.CascadingSelectCFType.getDefaultValue(CascadingSelectCFType.java:69) at com.atlassian.jira.web.action.admin.customfields.EditCustomFieldDefaults.populateDefaults(EditCustomFieldDefaults.java:58) at com.atlassian.jira.web.action.admin.customfields.EditCustomFieldOptions.doDefault(EditCustomFieldOptions.java:72) at sun.reflect.GeneratedMethodAccessor583.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70) at webwork.util.InjectionUtils.invoke(InjectionUtils.java:56) at webwork.action.ActionSupport.invokeCommand(ActionSupport.java:433) at webwork.action.ActionSupport.execute(ActionSupport.java:157) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:82) at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:39) at webwork.interceptor.NestedInterceptorChain.proceed(NestedInterceptorChain.java:31) at webwork.interceptor.ChainedInterceptor.intercept(ChainedInterceptor.java:16) at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:35) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:205) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:143) at com.atlassian.jira.web.dispatcher.JiraWebworkActionDispatcher.service(JiraWebworkActionDispatcher.java:151) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) {noformat} From this point you can't edit the options for this field. I am not sure if this happens to other Custom Field Types.

    Atlassian JIRA | 4 years ago | Brenden Bain [Atlassian]
    com.atlassian.jira.issue.customfields.impl.FieldValidationException: '10120' is an invalid Option

    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. com.atlassian.jira.issue.customfields.impl.FieldValidationException

      '10001' is an invalid Option

      at com.atlassian.jira.issue.customfields.impl.CascadingSelectCFType.getOptionFromStringValue()
    2. com.atlassian.jira
      IssueNavAction.doDefault
      1. com.atlassian.jira.issue.customfields.impl.CascadingSelectCFType.getOptionFromStringValue(CascadingSelectCFType.java:484)
      2. com.atlassian.jira.issue.customfields.impl.CascadingSelectCFType.extractOptionFromParams(CascadingSelectCFType.java:464)
      3. com.atlassian.jira.issue.customfields.impl.CascadingSelectCFType.getOptionMapFromCustomFieldParams(CascadingSelectCFType.java:442)
      4. com.atlassian.jira.issue.customfields.impl.CascadingSelectCFType.getValueFromCustomFieldParams(CascadingSelectCFType.java:334)
      5. com.atlassian.jira.issue.customfields.impl.CascadingSelectCFType.getValueFromCustomFieldParams(CascadingSelectCFType.java:69)
      6. com.atlassian.jira.issue.customfields.DefaultCustomFieldValueProvider.getValue(DefaultCustomFieldValueProvider.java:23)
      7. com.atlassian.jira.plugin.customfield.CustomFieldSearcherModuleDescriptorImpl.getViewHtml(CustomFieldSearcherModuleDescriptorImpl.java:110)
      8. com.atlassian.jira.issue.customfields.searchers.renderer.CustomFieldRenderer.getViewHtml(CustomFieldRenderer.java:91)
      9. com.atlassian.jira.issue.customfields.searchers.renderer.CustomFieldRenderer.getViewHtml(CustomFieldRenderer.java:65)
      10. com.atlassian.jira.plugin.issuenav.service.DefaultSearcherService.getValueResults(DefaultSearcherService.java:243)
      11. com.atlassian.jira.plugin.issuenav.service.DefaultSearcherService.getSearchResults(DefaultSearcherService.java:172)
      12. com.atlassian.jira.plugin.issuenav.service.DefaultSearcherService.searchWithJql(DefaultSearcherService.java:166)
      13. com.atlassian.jira.plugin.issuenav.IssueNavAction.performSearch(IssueNavAction.java:727)
      14. com.atlassian.jira.plugin.issuenav.IssueNavAction.doNav(IssueNavAction.java:224)
      15. com.atlassian.jira.plugin.issuenav.IssueNavAction.doDefault(IssueNavAction.java:151)
      15 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    4. webwork.util
      InjectionUtils.invoke
      1. webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70)
      2. webwork.util.InjectionUtils.invoke(InjectionUtils.java:56)
      2 frames
    5. webwork.action
      ActionSupport.execute
      1. webwork.action.ActionSupport.invokeCommand(ActionSupport.java:433)
      2. webwork.action.ActionSupport.execute(ActionSupport.java:157)
      2 frames
    6. com.atlassian.jira
      JiraActionSupport.execute
      1. com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:82)
      1 frame