com.atlassian.jira.issue.customfields.impl.FieldValidationException: Sprint must exist: 11

Atlassian JIRA | Nick Mason [Atlassian] | 2 years ago
  1. 0

    h3. Steps to reproduce # Create a sprint. # Create a JIRA filter using the Basic Search (choose More > Sprint and tick the new sprint). # Delete that newly-created sprint # While being on the rapid board, reload the filter in the Issue Navigator from Issue -> <filter-name> h3. Expected results The filter loads but with a message saying that that sprint doesn't exist. h3. Actual results The filter blows up with a 500 error, and this stack trace: {code:none} com.atlassian.jira.issue.customfields.impl.FieldValidationException: Sprint must exist: 11 at com.atlassian.greenhopper.customfield.sprint.SprintCFType.getSingularObjectFromString(SprintCFType.java:152) at com.atlassian.greenhopper.customfield.sprint.SprintCFType.getSingularObjectFromString(SprintCFType.java:68) at com.atlassian.greenhopper.customfield.sprint.SprintSearchRenderer.getSprintFromIdObj(SprintSearchRenderer.java:109) at com.atlassian.greenhopper.customfield.sprint.SprintSearchRenderer.access$200(SprintSearchRenderer.java:30) at com.atlassian.greenhopper.customfield.sprint.SprintSearchRenderer$2.apply(SprintSearchRenderer.java:154) at com.google.common.collect.Lists$TransformingRandomAccessList.get(Lists.java:451) at java.util.AbstractList$Itr.next(AbstractList.java:358) at java.util.AbstractCollection.addAll(AbstractCollection.java:343) at java.util.HashSet.<init>(HashSet.java:119) at com.google.common.collect.Sets.newHashSet(Sets.java:211) at com.atlassian.greenhopper.customfield.sprint.SprintSearchRenderer.getViewHtml(SprintSearchRenderer.java:82) at com.atlassian.jira.components.query.DefaultSearcherService.getValueResults(DefaultSearcherService.java:251) at com.atlassian.jira.components.query.DefaultSearcherService.getSearchResults(DefaultSearcherService.java:180) at com.atlassian.jira.components.query.DefaultSearcherService.searchWithJql(DefaultSearcherService.java:174) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy4496.searchWithJql(Unknown Source) at com.atlassian.jira.plugin.issuenav.IssueNavAction.performSearch(IssueNavAction.java:1235) at com.atlassian.jira.plugin.issuenav.IssueNavAction.doNav(IssueNavAction.java:414) at com.atlassian.jira.plugin.issuenav.IssueNavAction.doDefault(IssueNavAction.java:258) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70) at webwork.util.InjectionUtils.invoke(InjectionUtils.java:56) [...] {code} h3. Workaround The filter will either need to be manually updated in the database, or a new filter created with the same details but without the reference to the deleted sprint ID and the board swapped over to use that. The Basic Search in the issue navigator uses sprint IDs instead of the names when it saves the filter. Using advanced search and using "sprint = <name of sprint>" when creating the filter doesn't have this problem.

    Atlassian JIRA | 2 years ago | Nick Mason
    com.atlassian.jira.issue.customfields.impl.FieldValidationException: Sprint must exist: 11
  2. 0

    h3. Steps to reproduce # Create a sprint. # Create a JIRA filter using the Basic Search (choose More > Sprint and tick the new sprint). # Delete that newly-created sprint # While being on the rapid board, reload the filter in the Issue Navigator from Issue -> <filter-name> h3. Expected results The filter loads but with a message saying that that sprint doesn't exist. h3. Actual results The filter blows up with a 500 error, and this stack trace: {code:none} com.atlassian.jira.issue.customfields.impl.FieldValidationException: Sprint must exist: 11 at com.atlassian.greenhopper.customfield.sprint.SprintCFType.getSingularObjectFromString(SprintCFType.java:152) at com.atlassian.greenhopper.customfield.sprint.SprintCFType.getSingularObjectFromString(SprintCFType.java:68) at com.atlassian.greenhopper.customfield.sprint.SprintSearchRenderer.getSprintFromIdObj(SprintSearchRenderer.java:109) at com.atlassian.greenhopper.customfield.sprint.SprintSearchRenderer.access$200(SprintSearchRenderer.java:30) at com.atlassian.greenhopper.customfield.sprint.SprintSearchRenderer$2.apply(SprintSearchRenderer.java:154) at com.google.common.collect.Lists$TransformingRandomAccessList.get(Lists.java:451) at java.util.AbstractList$Itr.next(AbstractList.java:358) at java.util.AbstractCollection.addAll(AbstractCollection.java:343) at java.util.HashSet.<init>(HashSet.java:119) at com.google.common.collect.Sets.newHashSet(Sets.java:211) at com.atlassian.greenhopper.customfield.sprint.SprintSearchRenderer.getViewHtml(SprintSearchRenderer.java:82) at com.atlassian.jira.components.query.DefaultSearcherService.getValueResults(DefaultSearcherService.java:251) at com.atlassian.jira.components.query.DefaultSearcherService.getSearchResults(DefaultSearcherService.java:180) at com.atlassian.jira.components.query.DefaultSearcherService.searchWithJql(DefaultSearcherService.java:174) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy4496.searchWithJql(Unknown Source) at com.atlassian.jira.plugin.issuenav.IssueNavAction.performSearch(IssueNavAction.java:1235) at com.atlassian.jira.plugin.issuenav.IssueNavAction.doNav(IssueNavAction.java:414) at com.atlassian.jira.plugin.issuenav.IssueNavAction.doDefault(IssueNavAction.java:258) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70) at webwork.util.InjectionUtils.invoke(InjectionUtils.java:56) [...] {code} h3. Workaround The filter will either need to be manually updated in the database, or a new filter created with the same details but without the reference to the deleted sprint ID and the board swapped over to use that. The Basic Search in the issue navigator uses sprint IDs instead of the names when it saves the filter. Using advanced search and using "sprint = <name of sprint>" when creating the filter doesn't have this problem.

    Atlassian JIRA | 2 years ago | Nick Mason [Atlassian]
    com.atlassian.jira.issue.customfields.impl.FieldValidationException: Sprint must exist: 11
  3. 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    When someone mistakenly enters a JIRA key into the Bugzilla Id custom field on the Issue navigator page, we get this error in the logs: {noformat} Dec 16, 2005 10:52:29 AM webwork.util.ValueStack findValue SEVERE: METHOD: "searcherEditHtml", exception: com.atlassian.jira.issue.customfields.impl.FieldValidationException: 'AXIS-18409' is an invalid number at com.atlassian.jira.issue.customfields.converters.DoubleConverter.getDouble(DoubleConverter.java:86) at com.atlassian.jira.issue.customfields.impl.NumberCFType.getSingularObjectFromString(NumberCFType.java:38) at com.atlassian.jira.issue.customfields.impl.AbstractSingleFieldType.getValueFromCustomFieldParams(AbstractSingleFieldType.java:182) at com.atlassian.jira.issue.customfields.searchers.BaseCustomFieldSearcher.getValue(BaseCustomFieldSearcher.java:55) at com.atlassian.jira.plugin.customfield.CustomFieldSearcherModuleDescriptor.prepareSearchParams(CustomFieldSearcherModuleDescriptor.java:94) at com.atlassian.jira.plugin.customfield.CustomFieldSearcherModuleDescriptor.getSearchHtml(CustomFieldSearcherModuleDescriptor.java:75) at com.atlassian.jira.issue.customfields.searchers.AbstractCustomFieldSearcher.getEditHtml(AbstractCustomFieldSearcher.java:107) at com.atlassian.jira.web.action.issue.IssueNavigator.getSearcherEditHtml(IssueNavigator.java:588) at sun.reflect.GeneratedMethodAccessor104.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:61) at webwork.util.InjectionUtils.invoke(InjectionUtils.java:52) at webwork.util.ValueStack.findValue(ValueStack.java:426) at webwork.util.ValueStack.findValue(ValueStack.java:175) at webwork.view.taglib.WebWorkBodyTagSupport.findValue(WebWorkBodyTagSupport.java:61) at webwork.view.taglib.BasicPropertyTag.doStartTag(BasicPropertyTag.java:54) at org.apache.jsp.includes.navigator.filter_002dform_jsp._jspx_meth_webwork_property_9(filter_002dform_jsp.java:724) at org.apache.jsp.includes.navigator.filter_002dform_jsp._jspx_meth_webwork_iterator_1(filter_002dform_jsp.java:697) at org.apache.jsp.includes.navigator.filter_002dform_jsp._jspx_meth_webwork_if_1(filter_002dform_jsp.java:405) at org.apache.jsp.includes.navigator.filter_002dform_jsp._jspx_meth_webwork_iterator_0(filter_002dform_jsp.java:370) at org.apache.jsp.includes.navigator.filter_002dform_jsp._jspx_meth_webwork_else_0(filter_002dform_jsp.java:252) at org.apache.jsp.includes.navigator.filter_002dform_jsp._jspService(filter_002dform_jsp.java:157) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:696) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:585) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510) at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966) at org.apache.jsp.secure.views.navigator.navigator_jsp._jspx_meth_webwork_if_4(navigator_jsp.java:311) at org.apache.jsp.secure.views.navigator.navigator_jsp._jspx_meth_webwork_if_3(navigator_jsp.java:276) at org.apache.jsp.secure.views.navigator.navigator_jsp._jspService(navigator_jsp.java:84) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) ... {noformat} JIRA shouldn't be logging this, and (ideally) should be returning something informative telling people not to do it.

    Atlassian JIRA | 1 decade ago | Jeff Turner
    com.atlassian.jira.issue.customfields.impl.FieldValidationException: 'AXIS-18409' is an invalid number
  6. 0

    h3. Summary FieldValidationException on URL custom field with no default value after having a default value. h3. Environment * Jira 7.1 * Jira 6.4.7 and 6.4.13 h3. Steps to Reproduce # Install JIRA 7.1.x using default values. # Create a new custom field of type URL field. # Populate the custom field with a default value: https://support.atlassian.com but any link will work. # Remove the default value by clicking "Edit Default Value, removing the text and then clicking the "Set Default" button. # Then see this exception in the atlassian-jira.log. # Click create an issue and see two exceptions in the atlassian-jira.log. # Finish creating an issue and see two simular exceptions as above in the atlassian-jira.log. Before adding a default value, there are no rows in genericconfiguration. After adding the value then deleting it, there is a row in my test instance: {code:sql} 10500 | DefaultValue | 10903 | <string></string> {code} I have confirmed that these steps work to reproduce the issue in JIRA 6.4.7 and 6.4.13 as listed in [JRA-35222|https://jira.atlassian.com/browse/JRA-35222]. The missing step to reproduce this issue in JRA-35222 was to have a value set and then deleted. This issue has no known issues that it creates. The only affect known at this time is the logs. h3. Expected Results I would not expect to have these logs. h3. Actual Results The below exception is thrown in the atlassian-jira.log file for step 5: {noformat} 2016-06-08 14:18:13,738 http-nio-10712-exec-2 ERROR dlaser 858x178x1 8gt7vl 10.0.2.2 /secure/admin/ConfigureCustomField!default.jspa [c.a.j.i.customfields.impl.AbstractSingleFieldType] Incorrect formatted custom field stored as default com.atlassian.jira.issue.customfields.impl.FieldValidationException: Not a valid URL at com.atlassian.jira.issue.customfields.impl.URLCFType.getSingularObjectFromString(URLCFType.java:20) at com.atlassian.jira.issue.customfields.impl.GenericTextCFType.getObjectFromDbValue(GenericTextCFType.java:83) at com.atlassian.jira.issue.customfields.impl.GenericTextCFType.getObjectFromDbValue(GenericTextCFType.java:51) at com.atlassian.jira.issue.customfields.impl.AbstractSingleFieldType.getDefaultValue(AbstractSingleFieldType.java:161) at com.atlassian.jira.plugin.customfield.CustomFieldTypeModuleDescriptorImpl$8.call(CustomFieldTypeModuleDescriptorImpl.java:281) at com.atlassian.jira.plugin.customfield.CustomFieldTypeModuleDescriptorImpl$8.call(CustomFieldTypeModuleDescriptorImpl.java:277) at com.atlassian.ozymandias.SafePluginPointAccess.call(SafePluginPointAccess.java:187) at com.atlassian.jira.plugin.customfield.CustomFieldTypeModuleDescriptorImpl.getSupplierValueOrHtmlErrorMessage(CustomFieldTypeModuleDescriptorImpl.java:372) at com.atlassian.jira.plugin.customfield.CustomFieldTypeModuleDescriptorImpl.getDefaultViewHtml(CustomFieldTypeModuleDescriptorImpl.java:277) at com.atlassian.jira.issue.customfields.config.item.DefaultValueConfigItem.getViewHtml(DefaultValueConfigItem.java:23) at com.atlassian.jira.issue.fields.config.FieldConfigItemImpl.getViewHtml(FieldConfigItemImpl.java:24) ... 3 filtered at java.lang.reflect.Method.invoke(Method.java:497) at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70) at webwork.util.InjectionUtils.invoke(InjectionUtils.java:56) at webwork.util.ValueStack.findValue(ValueStack.java:517) at webwork.util.ValueStack.findValue(ValueStack.java:216) at webwork.view.taglib.WebWorkBodyTagSupport.findValue(WebWorkBodyTagSupport.java:62) at webwork.view.taglib.BasicPropertyTag.doStartTag(BasicPropertyTag.java:54) at jsp.secure.admin.views.customfields.configurecustomfield_jsp._jspx_meth_ww_005fproperty_005f15(configurecustomfield_jsp.java:2521) at jsp.secure.admin.views.customfields.configurecustomfield_jsp._jspx_meth_ww_005fiterator_005f2(configurecustomfield_jsp.java:2005) at jsp.secure.admin.views.customfields.configurecustomfield_jsp._jspx_meth_ww_005fiterator_005f1(configurecustomfield_jsp.java:1953) at jsp.secure.admin.views.customfields.configurecustomfield_jsp._jspx_meth_ww_005fif_005f6(configurecustomfield_jsp.java:1916) at jsp.secure.admin.views.customfields.configurecustomfield_jsp._jspx_meth_page_005fapplyDecorator_005f1(configurecustomfield_jsp.java:1067) at jsp.secure.admin.views.customfields.configurecustomfield_jsp._jspx_meth_ww_005fiterator_005f0(configurecustomfield_jsp.java:974) at jsp.secure.admin.views.customfields.configurecustomfield_jsp._jspx_meth_page_005fapplyDecorator_005f0(configurecustomfield_jsp.java:261) at jsp.secure.admin.views.customfields.configurecustomfield_jsp._jspService(configurecustomfield_jsp.java:112) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ... 18 filtered at com.atlassian.web.servlet.plugin.LocationCleanerFilter.doFilter(LocationCleanerFilter.java:37) ... 74 filtered at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:70) ... 36 filtered at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ... 50 filtered at com.atlassian.greenhopper.jira.filters.ClassicBoardRouter.doFilter(ClassicBoardRouter.java:59) ... 66 filtered at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:70) ... 89 filtered at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) {noformat} The below exceptions are thrown in the atlassian-jira.log file for step 6 and 7: {noformat} 2016-06-08 14:18:37,805 http-nio-10712-exec-4 ERROR dlaser 858x197x1 8gt7vl 10.0.2.2 /secure/CreateIssue.jspa [c.a.j.i.customfields.impl.AbstractSingleFieldType] Incorrect formatted custom field stored as default com.atlassian.jira.issue.customfields.impl.FieldValidationException: Not a valid URL at com.atlassian.jira.issue.customfields.impl.URLCFType.getSingularObjectFromString(URLCFType.java:20) at com.atlassian.jira.issue.customfields.impl.GenericTextCFType.getObjectFromDbValue(GenericTextCFType.java:83) at com.atlassian.jira.issue.customfields.impl.GenericTextCFType.getObjectFromDbValue(GenericTextCFType.java:51) at com.atlassian.jira.issue.customfields.impl.AbstractSingleFieldType.getDefaultValue(AbstractSingleFieldType.java:161) at com.atlassian.jira.issue.fields.CustomFieldImpl.populateDefaults(CustomFieldImpl.java:565) at com.atlassian.jira.issue.fields.screen.FieldScreenRenderLayoutItemImpl.populateDefaults(FieldScreenRenderLayoutItemImpl.java:71) at com.atlassian.jira.web.action.issue.CreateIssue.populateFieldHolderWithDefaults(CreateIssue.java:243) at com.atlassian.jira.web.action.issue.CreateIssue.doExecute(CreateIssue.java:150) ... 1 filtered at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:63) ... 7 filtered at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ... 50 filtered at com.atlassian.greenhopper.jira.filters.ClassicBoardRouter.doFilter(ClassicBoardRouter.java:59) ... 62 filtered at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:70) ... 89 filtered at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) 2016-06-08 14:18:38,116 http-nio-10712-exec-4 ERROR dlaser 858x197x1 8gt7vl 10.0.2.2 /secure/CreateIssue.jspa [c.a.j.i.customfields.impl.AbstractSingleFieldType] Incorrect formatted custom field stored as default com.atlassian.jira.issue.customfields.impl.FieldValidationException: Not a valid URL at com.atlassian.jira.issue.customfields.impl.URLCFType.getSingularObjectFromString(URLCFType.java:20) at com.atlassian.jira.issue.customfields.impl.GenericTextCFType.getObjectFromDbValue(GenericTextCFType.java:83) at com.atlassian.jira.issue.customfields.impl.GenericTextCFType.getObjectFromDbValue(GenericTextCFType.java:51) at com.atlassian.jira.issue.customfields.impl.AbstractSingleFieldType.getDefaultValue(AbstractSingleFieldType.java:161) at com.atlassian.jira.issue.customfields.config.item.DefaultValueConfigItem.getConfigurationObject(DefaultValueConfigItem.java:31) at com.atlassian.jira.issue.fields.config.FieldConfigItemImpl.getConfigurationObject(FieldConfigItemImpl.java:36) at com.atlassian.jira.issue.customfields.CustomFieldUtils.buildParams(CustomFieldUtils.java:404) at com.atlassian.jira.plugin.customfield.CustomFieldTypeModuleDescriptorImpl$2.call(CustomFieldTypeModuleDescriptorImpl.java:177) at com.atlassian.jira.plugin.customfield.CustomFieldTypeModuleDescriptorImpl$2.call(CustomFieldTypeModuleDescriptorImpl.java:172) at com.atlassian.ozymandias.SafePluginPointAccess.call(SafePluginPointAccess.java:187) at com.atlassian.jira.plugin.customfield.CustomFieldTypeModuleDescriptorImpl.getSupplierValueOrHtmlErrorMessage(CustomFieldTypeModuleDescriptorImpl.java:372) at com.atlassian.jira.plugin.customfield.CustomFieldTypeModuleDescriptorImpl.getEditHtml(CustomFieldTypeModuleDescriptorImpl.java:172) at com.atlassian.jira.issue.fields.CustomFieldImpl.getEditHtml(CustomFieldImpl.java:925) at com.atlassian.jira.issue.fields.CustomFieldImpl.getCreateHtml(CustomFieldImpl.java:911) at com.atlassian.jira.issue.fields.screen.AbstractFieldScreenLayoutItem.getCreateHtml(AbstractFieldScreenLayoutItem.java:68) at com.atlassian.jira.issue.fields.screen.FieldScreenRenderLayoutItemImpl.getCreateHtml(FieldScreenRenderLayoutItemImpl.java:42) ... 3 filtered at java.lang.reflect.Method.invoke(Method.java:497) at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70) at webwork.util.InjectionUtils.invoke(InjectionUtils.java:56) at webwork.util.ValueStack.findValue(ValueStack.java:517) at webwork.util.ValueStack.findValue(ValueStack.java:216) at webwork.view.taglib.WebWorkBodyTagSupport.findValue(WebWorkBodyTagSupport.java:62) at webwork.view.taglib.BasicPropertyTag.doStartTag(BasicPropertyTag.java:54) at jsp.template.standard.issuefields_jsp._jspx_meth_ww_005fproperty_005f5(issuefields_jsp.java:790) at jsp.template.standard.issuefields_jsp._jspx_meth_ww_005fif_005f8(issuefields_jsp.java:762) at jsp.template.standard.issuefields_jsp._jspx_meth_ww_005fif_005f7(issuefields_jsp.java:729) at jsp.template.standard.issuefields_jsp._jspx_meth_ww_005fiterator_005f4(issuefields_jsp.java:696) at jsp.template.standard.issuefields_jsp._jspx_meth_ww_005fiterator_005f3(issuefields_jsp.java:655) at jsp.template.standard.issuefields_jsp._jspx_meth_ww_005felse_005f1(issuefields_jsp.java:618) at jsp.template.standard.issuefields_jsp._jspService(issuefields_jsp.java:97) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ... 25 filtered at webwork.view.taglib.IncludeTag.include(IncludeTag.java:64) at webwork.view.taglib.ui.ComponentTag.doEndTag(ComponentTag.java:269) at jsp.secure.views.createissue_002ddetails_jsp._jspx_meth_ww_005fcomponent_005f0(createissue_002ddetails_jsp.java:1347) at jsp.secure.views.createissue_002ddetails_jsp._jspx_meth_page_005fapplyDecorator_005f0(createissue_002ddetails_jsp.java:818) at jsp.secure.views.createissue_002ddetails_jsp._jspx_meth_ui_005fparam_005f2(createissue_002ddetails_jsp.java:746) at jsp.secure.views.createissue_002ddetails_jsp._jspx_meth_ui_005fsoy_005f2(createissue_002ddetails_jsp.java:706) at jsp.secure.views.createissue_002ddetails_jsp._jspx_meth_ui_005fparam_005f1(createissue_002ddetails_jsp.java:664) at jsp.secure.views.createissue_002ddetails_jsp._jspx_meth_ui_005fsoy_005f1(createissue_002ddetails_jsp.java:624) at jsp.secure.views.createissue_002ddetails_jsp._jspx_meth_ww_005fif_005f1(createissue_002ddetails_jsp.java:488) at jsp.secure.views.createissue_002ddetails_jsp._jspService(createissue_002ddetails_jsp.java:177) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ... 18 filtered at com.atlassian.web.servlet.plugin.LocationCleanerFilter.doFilter(LocationCleanerFilter.java:37) ... 74 filtered at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:70) ... 36 filtered at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ... 50 filtered at com.atlassian.greenhopper.jira.filters.ClassicBoardRouter.doFilter(ClassicBoardRouter.java:59) ... 62 filtered at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:70) ... 89 filtered at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) {noformat} h3.Workaround Delete the DefaultValue associated with the com.atlassian.jira.plugin.system.customfieldtypes:url from genericconfiguration. Then restart JIRA.

    Atlassian JIRA | 6 months ago | Dave Laser [Atlassian]
    com.atlassian.jira.issue.customfields.impl.FieldValidationException: Not a valid URL

    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

      Sprint must exist: 11

      at com.atlassian.greenhopper.customfield.sprint.SprintCFType.getSingularObjectFromString()
    2. com.atlassian.greenhopper
      SprintSearchRenderer$2.apply
      1. com.atlassian.greenhopper.customfield.sprint.SprintCFType.getSingularObjectFromString(SprintCFType.java:152)
      2. com.atlassian.greenhopper.customfield.sprint.SprintCFType.getSingularObjectFromString(SprintCFType.java:68)
      3. com.atlassian.greenhopper.customfield.sprint.SprintSearchRenderer.getSprintFromIdObj(SprintSearchRenderer.java:109)
      4. com.atlassian.greenhopper.customfield.sprint.SprintSearchRenderer.access$200(SprintSearchRenderer.java:30)
      5. com.atlassian.greenhopper.customfield.sprint.SprintSearchRenderer$2.apply(SprintSearchRenderer.java:154)
      5 frames
    3. Guava
      Lists$TransformingRandomAccessList.get
      1. com.google.common.collect.Lists$TransformingRandomAccessList.get(Lists.java:451)
      1 frame
    4. Java RT
      HashSet.<init>
      1. java.util.AbstractList$Itr.next(AbstractList.java:358)
      2. java.util.AbstractCollection.addAll(AbstractCollection.java:343)
      3. java.util.HashSet.<init>(HashSet.java:119)
      3 frames
    5. Guava
      Sets.newHashSet
      1. com.google.common.collect.Sets.newHashSet(Sets.java:211)
      1 frame
    6. com.atlassian.greenhopper
      SprintSearchRenderer.getViewHtml
      1. com.atlassian.greenhopper.customfield.sprint.SprintSearchRenderer.getViewHtml(SprintSearchRenderer.java:82)
      1 frame
    7. com.atlassian.jira
      DefaultSearcherService.searchWithJql
      1. com.atlassian.jira.components.query.DefaultSearcherService.getValueResults(DefaultSearcherService.java:251)
      2. com.atlassian.jira.components.query.DefaultSearcherService.getSearchResults(DefaultSearcherService.java:180)
      3. com.atlassian.jira.components.query.DefaultSearcherService.searchWithJql(DefaultSearcherService.java:174)
      3 frames
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    9. Spring AOP
      AopUtils.invokeJoinpointUsingReflection
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
      1 frame
    10. Spring OSGi Core
      ServiceInvoker.invoke
      1. org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58)
      2. org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62)
      2 frames
    11. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
      3. org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
      4. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      4 frames
    12. Spring OSGi Core
      ServiceTCCLInterceptor.invoke
      1. org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56)
      2. org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39)
      2 frames
    13. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      1 frame
    14. Spring OSGi Core
      LocalBundleContextAdvice.invoke
      1. org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)
      1 frame
    15. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
      3. org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
      4. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      5. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      5 frames
    16. com.sun.proxy
      $Proxy4496.searchWithJql
      1. com.sun.proxy.$Proxy4496.searchWithJql(Unknown Source)
      1 frame
    17. com.atlassian.jira
      IssueNavAction.doDefault
      1. com.atlassian.jira.plugin.issuenav.IssueNavAction.performSearch(IssueNavAction.java:1235)
      2. com.atlassian.jira.plugin.issuenav.IssueNavAction.doNav(IssueNavAction.java:414)
      3. com.atlassian.jira.plugin.issuenav.IssueNavAction.doDefault(IssueNavAction.java:258)
      3 frames
    18. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    19. webwork.util
      InjectionUtils.invoke
      1. webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70)
      2. webwork.util.InjectionUtils.invoke(InjectionUtils.java:56)
      2 frames