com.atlassian.jira.issue.customfields.impl.FieldValidationException: 'AXIS-18409' is an invalid number

Atlassian JIRA | Jeff Turner | 1 decade 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

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

    Root Cause Analysis

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

      'AXIS-18409' is an invalid number

      at com.atlassian.jira.issue.customfields.converters.DoubleConverter.getDouble()
    2. com.atlassian.jira
      IssueNavigator.getSearcherEditHtml
      1. com.atlassian.jira.issue.customfields.converters.DoubleConverter.getDouble(DoubleConverter.java:86)
      2. com.atlassian.jira.issue.customfields.impl.NumberCFType.getSingularObjectFromString(NumberCFType.java:38)
      3. com.atlassian.jira.issue.customfields.impl.AbstractSingleFieldType.getValueFromCustomFieldParams(AbstractSingleFieldType.java:182)
      4. com.atlassian.jira.issue.customfields.searchers.BaseCustomFieldSearcher.getValue(BaseCustomFieldSearcher.java:55)
      5. com.atlassian.jira.plugin.customfield.CustomFieldSearcherModuleDescriptor.prepareSearchParams(CustomFieldSearcherModuleDescriptor.java:94)
      6. com.atlassian.jira.plugin.customfield.CustomFieldSearcherModuleDescriptor.getSearchHtml(CustomFieldSearcherModuleDescriptor.java:75)
      7. com.atlassian.jira.issue.customfields.searchers.AbstractCustomFieldSearcher.getEditHtml(AbstractCustomFieldSearcher.java:107)
      8. com.atlassian.jira.web.action.issue.IssueNavigator.getSearcherEditHtml(IssueNavigator.java:588)
      8 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor104.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:324)
      3 frames
    4. webwork.util
      ValueStack.findValue
      1. webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:61)
      2. webwork.util.InjectionUtils.invoke(InjectionUtils.java:52)
      3. webwork.util.ValueStack.findValue(ValueStack.java:426)
      4. webwork.util.ValueStack.findValue(ValueStack.java:175)
      4 frames
    5. webwork.view.taglib
      BasicPropertyTag.doStartTag
      1. webwork.view.taglib.WebWorkBodyTagSupport.findValue(WebWorkBodyTagSupport.java:61)
      2. webwork.view.taglib.BasicPropertyTag.doStartTag(BasicPropertyTag.java:54)
      2 frames
    6. org.apache.jsp
      filter_002dform_jsp._jspService
      1. org.apache.jsp.includes.navigator.filter_002dform_jsp._jspx_meth_webwork_property_9(filter_002dform_jsp.java:724)
      2. org.apache.jsp.includes.navigator.filter_002dform_jsp._jspx_meth_webwork_iterator_1(filter_002dform_jsp.java:697)
      3. org.apache.jsp.includes.navigator.filter_002dform_jsp._jspx_meth_webwork_if_1(filter_002dform_jsp.java:405)
      4. org.apache.jsp.includes.navigator.filter_002dform_jsp._jspx_meth_webwork_iterator_0(filter_002dform_jsp.java:370)
      5. org.apache.jsp.includes.navigator.filter_002dform_jsp._jspx_meth_webwork_else_0(filter_002dform_jsp.java:252)
      6. org.apache.jsp.includes.navigator.filter_002dform_jsp._jspService(filter_002dform_jsp.java:157)
      6 frames
    7. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
      1 frame
    8. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
      1 frame
    9. GWT dev
      JspServlet.service
      1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
      2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
      3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
      3 frames
    10. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
      1 frame
    11. Glassfish Core
      ApplicationDispatcher.include
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:696)
      4. org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:585)
      5. org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510)
      5 frames
    12. GWT dev
      JspRuntimeLibrary.include
      1. org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
      1 frame
    13. org.apache.jsp
      navigator_jsp._jspService
      1. org.apache.jsp.secure.views.navigator.navigator_jsp._jspx_meth_webwork_if_4(navigator_jsp.java:311)
      2. org.apache.jsp.secure.views.navigator.navigator_jsp._jspx_meth_webwork_if_3(navigator_jsp.java:276)
      3. org.apache.jsp.secure.views.navigator.navigator_jsp._jspService(navigator_jsp.java:84)
      3 frames
    14. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
      1 frame