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

Atlassian JIRA | Brenden Bain [Atlassian] | 5 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

    # 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 | 5 years ago | Brenden Bain [Atlassian]
    com.atlassian.jira.issue.customfields.impl.FieldValidationException: '10120' is an invalid Option
  2. 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 | 5 years ago | Brenden Bain [Atlassian]
    com.atlassian.jira.issue.customfields.impl.FieldValidationException: '10120' is an invalid Option

    Root Cause Analysis

    1. com.atlassian.jira.issue.customfields.impl.FieldValidationException

      '10120' is an invalid Option

      at com.atlassian.jira.issue.customfields.impl.CascadingSelectCFType.getOptionFromStringValue()
    2. com.atlassian.jira
      EditCustomFieldOptions.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.getDefaultValue(CascadingSelectCFType.java:357)
      5. com.atlassian.jira.issue.customfields.impl.CascadingSelectCFType.getDefaultValue(CascadingSelectCFType.java:69)
      6. com.atlassian.jira.web.action.admin.customfields.EditCustomFieldDefaults.populateDefaults(EditCustomFieldDefaults.java:58)
      7. com.atlassian.jira.web.action.admin.customfields.EditCustomFieldOptions.doDefault(EditCustomFieldOptions.java:72)
      7 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor583.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 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
    7. webwork.interceptor
      DefaultInterceptorChain.proceed
      1. webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:39)
      2. webwork.interceptor.NestedInterceptorChain.proceed(NestedInterceptorChain.java:31)
      3. webwork.interceptor.ChainedInterceptor.intercept(ChainedInterceptor.java:16)
      4. webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:35)
      4 frames
    8. webwork.dispatcher
      GenericDispatcher.executeAction
      1. webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:205)
      2. webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:143)
      2 frames
    9. com.atlassian.jira
      JiraWebworkActionDispatcher.service
      1. com.atlassian.jira.web.dispatcher.JiraWebworkActionDispatcher.service(JiraWebworkActionDispatcher.java:151)
      1 frame
    10. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      1 frame