org.apache.velocity.exception.MethodInvocationException: Invocation of method 'printChangelog' in class com.atlassian.jira.util.JiraVelocityHelper threw exception com.atlassian.jira.issue.customfields.impl.FieldValidationException: Invalid priority name 'Enhancement'. at templates/email/macros.vm[line 40, column 74]

Atlassian JIRA | Bruce Cran | 3 years ago
  1. 0

    A ticket was created with a priority which was later deleted. I edited the ticket to change the priority to one that would exist after the deletion, then deleted the priority. A user reported the following error: {quote} An error occurred whilst rendering this message. Please contact the administrators, and inform them of this bug. Details: ------- org.apache.velocity.exception.MethodInvocationException: Invocation of method 'printChangelog' in class com.atlassian.jira.util.JiraVelocityHelper threw exception com.atlassian.jira.issue.customfields.impl.FieldValidationException: Invalid priority name 'Enhancement'. at templates/email/macros.vm[line 40, column 74] at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:284) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:342) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212) at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336) at org.apache.velocity.runtime.RuntimeInstance.render(RuntimeInstance.java:1277) at org.apache.velocity.runtime.RuntimeInstance.evaluate(RuntimeInstance.java:1216) at org.apache.velocity.runtime.RuntimeInstance.evaluate(RuntimeInstance.java:1165) at org.apache.velocity.app.VelocityEngine.evaluate(VelocityEngine.java:219) at com.atlassian.velocity.DefaultVelocityManager.writeEncodedBodyForContent(DefaultVelocityManager.java:86) at com.atlassian.jira.template.velocity.DefaultVelocityTemplatingEngine$DefaultRenderRequest.toWriterImpl(DefaultVelocityTemplatingEngine.java:157) at com.atlassian.jira.template.velocity.DefaultVelocityTemplatingEngine$DefaultRenderRequest.asPlainText(DefaultVelocityTemplatingEngine.java:128) at com.atlassian.jira.template.velocity.DefaultVelocityTemplatingEngine$DefaultRenderRequest$1.with(DefaultVelocityTemplatingEngine.java:108) at com.atlassian.jira.template.velocity.DefaultVelocityTemplatingEngine$DefaultRenderRequest$StringRepresentation.toString(DefaultVelocityTemplatingEngine.java:88) at com.atlassian.jira.template.velocity.DefaultVelocityTemplatingEngine$DefaultRenderRequest.asPlainText(DefaultVelocityTemplatingEngine.java:104) at com.atlassian.jira.mail.builder.EmailRenderer.renderEmailBody(EmailRenderer.java:117) at com.atlassian.jira.mail.builder.EmailRenderer.render(EmailRenderer.java:165) at com.atlassian.jira.mail.builder.EmailBuilder.renderNow(EmailBuilder.java:162) at com.atlassian.jira.mail.builder.EmailBuilder.renderNowAsQueueItem(EmailBuilder.java:152) at com.atlassian.jira.mail.MailingListCompiler$1.processRecipient(MailingListCompiler.java:306) at com.atlassian.jira.mail.NotificationRecipientProcessor.process(NotificationRecipientProcessor.java:39) at com.atlassian.jira.mail.MailingListCompiler.addMailsToQueue(MailingListCompiler.java:331) at com.atlassian.jira.mail.MailingListCompiler.access$200(MailingListCompiler.java:46) at com.atlassian.jira.mail.MailingListCompiler$NotificationCompiler.addEmailsToQueue(MailingListCompiler.java:454) at com.atlassian.jira.mail.MailingListCompiler$NotificationCompiler.sendLists(MailingListCompiler.java:424) at com.atlassian.jira.mail.MailingListCompiler$NotificationCompiler.sendNoLevelsIgnoreGroup(MailingListCompiler.java:404) at com.atlassian.jira.mail.MailingListCompiler$NotificationCompiler.sendToAll(MailingListCompiler.java:399) at com.atlassian.jira.mail.MailingListCompiler.sendLists(MailingListCompiler.java:144) at com.atlassian.jira.mail.IssueMailQueueItem.send(IssueMailQueueItem.java:149) at com.atlassian.mail.queue.MailQueueImpl.sendBuffer(MailQueueImpl.java:66) at com.atlassian.jira.service.services.mail.MailQueueService.run(MailQueueService.java:28) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) Caused by: com.atlassian.jira.issue.customfields.impl.FieldValidationException: Invalid priority name 'Enhancement'. at com.atlassian.jira.issue.fields.PrioritySystemField.getPriorityTypeIdByName(PrioritySystemField.java:176) at com.atlassian.jira.issue.fields.PrioritySystemField.prettyPrintChangeHistory(PrioritySystemField.java:375) at com.atlassian.jira.util.JiraVelocityHelper.getPrettyFieldString(JiraVelocityHelper.java:275) at com.atlassian.jira.util.JiraVelocityHelper.printChangelog(JiraVelocityHelper.java:184) at sun.reflect.GeneratedMethodAccessor2050.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:381) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:370) at com.atlassian.velocity.htmlsafe.introspection.UnboxingMethod.invoke(UnboxingMethod.java:30) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270) ... 39 more {quote}

    Atlassian JIRA | 3 years ago | Bruce Cran
    org.apache.velocity.exception.MethodInvocationException: Invocation of method 'printChangelog' in class com.atlassian.jira.util.JiraVelocityHelper threw exception com.atlassian.jira.issue.customfields.impl.FieldValidationException: Invalid priority name 'Enhancement'. at templates/email/macros.vm[line 40, column 74]
  2. 0

    A ticket was created with a priority which was later deleted. I edited the ticket to change the priority to one that would exist after the deletion, then deleted the priority. A user reported the following error: {quote} An error occurred whilst rendering this message. Please contact the administrators, and inform them of this bug. Details: ------- org.apache.velocity.exception.MethodInvocationException: Invocation of method 'printChangelog' in class com.atlassian.jira.util.JiraVelocityHelper threw exception com.atlassian.jira.issue.customfields.impl.FieldValidationException: Invalid priority name 'Enhancement'. at templates/email/macros.vm[line 40, column 74] at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:284) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:342) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212) at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336) at org.apache.velocity.runtime.RuntimeInstance.render(RuntimeInstance.java:1277) at org.apache.velocity.runtime.RuntimeInstance.evaluate(RuntimeInstance.java:1216) at org.apache.velocity.runtime.RuntimeInstance.evaluate(RuntimeInstance.java:1165) at org.apache.velocity.app.VelocityEngine.evaluate(VelocityEngine.java:219) at com.atlassian.velocity.DefaultVelocityManager.writeEncodedBodyForContent(DefaultVelocityManager.java:86) at com.atlassian.jira.template.velocity.DefaultVelocityTemplatingEngine$DefaultRenderRequest.toWriterImpl(DefaultVelocityTemplatingEngine.java:157) at com.atlassian.jira.template.velocity.DefaultVelocityTemplatingEngine$DefaultRenderRequest.asPlainText(DefaultVelocityTemplatingEngine.java:128) at com.atlassian.jira.template.velocity.DefaultVelocityTemplatingEngine$DefaultRenderRequest$1.with(DefaultVelocityTemplatingEngine.java:108) at com.atlassian.jira.template.velocity.DefaultVelocityTemplatingEngine$DefaultRenderRequest$StringRepresentation.toString(DefaultVelocityTemplatingEngine.java:88) at com.atlassian.jira.template.velocity.DefaultVelocityTemplatingEngine$DefaultRenderRequest.asPlainText(DefaultVelocityTemplatingEngine.java:104) at com.atlassian.jira.mail.builder.EmailRenderer.renderEmailBody(EmailRenderer.java:117) at com.atlassian.jira.mail.builder.EmailRenderer.render(EmailRenderer.java:165) at com.atlassian.jira.mail.builder.EmailBuilder.renderNow(EmailBuilder.java:162) at com.atlassian.jira.mail.builder.EmailBuilder.renderNowAsQueueItem(EmailBuilder.java:152) at com.atlassian.jira.mail.MailingListCompiler$1.processRecipient(MailingListCompiler.java:306) at com.atlassian.jira.mail.NotificationRecipientProcessor.process(NotificationRecipientProcessor.java:39) at com.atlassian.jira.mail.MailingListCompiler.addMailsToQueue(MailingListCompiler.java:331) at com.atlassian.jira.mail.MailingListCompiler.access$200(MailingListCompiler.java:46) at com.atlassian.jira.mail.MailingListCompiler$NotificationCompiler.addEmailsToQueue(MailingListCompiler.java:454) at com.atlassian.jira.mail.MailingListCompiler$NotificationCompiler.sendLists(MailingListCompiler.java:424) at com.atlassian.jira.mail.MailingListCompiler$NotificationCompiler.sendNoLevelsIgnoreGroup(MailingListCompiler.java:404) at com.atlassian.jira.mail.MailingListCompiler$NotificationCompiler.sendToAll(MailingListCompiler.java:399) at com.atlassian.jira.mail.MailingListCompiler.sendLists(MailingListCompiler.java:144) at com.atlassian.jira.mail.IssueMailQueueItem.send(IssueMailQueueItem.java:149) at com.atlassian.mail.queue.MailQueueImpl.sendBuffer(MailQueueImpl.java:66) at com.atlassian.jira.service.services.mail.MailQueueService.run(MailQueueService.java:28) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) Caused by: com.atlassian.jira.issue.customfields.impl.FieldValidationException: Invalid priority name 'Enhancement'. at com.atlassian.jira.issue.fields.PrioritySystemField.getPriorityTypeIdByName(PrioritySystemField.java:176) at com.atlassian.jira.issue.fields.PrioritySystemField.prettyPrintChangeHistory(PrioritySystemField.java:375) at com.atlassian.jira.util.JiraVelocityHelper.getPrettyFieldString(JiraVelocityHelper.java:275) at com.atlassian.jira.util.JiraVelocityHelper.printChangelog(JiraVelocityHelper.java:184) at sun.reflect.GeneratedMethodAccessor2050.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:381) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:370) at com.atlassian.velocity.htmlsafe.introspection.UnboxingMethod.invoke(UnboxingMethod.java:30) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270) ... 39 more {quote}

    Atlassian JIRA | 3 years ago | Bruce Cran
    org.apache.velocity.exception.MethodInvocationException: Invocation of method 'printChangelog' in class com.atlassian.jira.util.JiraVelocityHelper threw exception com.atlassian.jira.issue.customfields.impl.FieldValidationException: Invalid priority name 'Enhancement'. at templates/email/macros.vm[line 40, column 74]
  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 | 4 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

    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

    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

      Invalid priority name 'Enhancement'.

      at com.atlassian.jira.issue.fields.PrioritySystemField.getPriorityTypeIdByName()
    2. com.atlassian.jira
      JiraVelocityHelper.printChangelog
      1. com.atlassian.jira.issue.fields.PrioritySystemField.getPriorityTypeIdByName(PrioritySystemField.java:176)
      2. com.atlassian.jira.issue.fields.PrioritySystemField.prettyPrintChangeHistory(PrioritySystemField.java:375)
      3. com.atlassian.jira.util.JiraVelocityHelper.getPrettyFieldString(JiraVelocityHelper.java:275)
      4. com.atlassian.jira.util.JiraVelocityHelper.printChangelog(JiraVelocityHelper.java:184)
      4 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor2050.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      3. java.lang.reflect.Method.invoke(Unknown Source)
      3 frames
    4. Apache Velocity
      UberspectImpl$VelMethodImpl.invoke
      1. org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:381)
      2. org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:370)
      2 frames
    5. com.atlassian.velocity
      UnboxingMethod.invoke
      1. com.atlassian.velocity.htmlsafe.introspection.UnboxingMethod.invoke(UnboxingMethod.java:30)
      1 frame
    6. Apache Velocity
      VelocityEngine.evaluate
      1. org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
      2. org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262)
      3. org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:342)
      4. org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
      5. org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
      6. org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
      7. org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)
      8. org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247)
      9. org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
      10. org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
      11. org.apache.velocity.runtime.RuntimeInstance.render(RuntimeInstance.java:1277)
      12. org.apache.velocity.runtime.RuntimeInstance.evaluate(RuntimeInstance.java:1216)
      13. org.apache.velocity.runtime.RuntimeInstance.evaluate(RuntimeInstance.java:1165)
      14. org.apache.velocity.app.VelocityEngine.evaluate(VelocityEngine.java:219)
      14 frames
    7. com.atlassian.velocity
      DefaultVelocityManager.writeEncodedBodyForContent
      1. com.atlassian.velocity.DefaultVelocityManager.writeEncodedBodyForContent(DefaultVelocityManager.java:86)
      1 frame
    8. com.atlassian.jira
      IssueMailQueueItem.send
      1. com.atlassian.jira.template.velocity.DefaultVelocityTemplatingEngine$DefaultRenderRequest.toWriterImpl(DefaultVelocityTemplatingEngine.java:157)
      2. com.atlassian.jira.template.velocity.DefaultVelocityTemplatingEngine$DefaultRenderRequest.asPlainText(DefaultVelocityTemplatingEngine.java:128)
      3. com.atlassian.jira.template.velocity.DefaultVelocityTemplatingEngine$DefaultRenderRequest$1.with(DefaultVelocityTemplatingEngine.java:108)
      4. com.atlassian.jira.template.velocity.DefaultVelocityTemplatingEngine$DefaultRenderRequest$StringRepresentation.toString(DefaultVelocityTemplatingEngine.java:88)
      5. com.atlassian.jira.template.velocity.DefaultVelocityTemplatingEngine$DefaultRenderRequest.asPlainText(DefaultVelocityTemplatingEngine.java:104)
      6. com.atlassian.jira.mail.builder.EmailRenderer.renderEmailBody(EmailRenderer.java:117)
      7. com.atlassian.jira.mail.builder.EmailRenderer.render(EmailRenderer.java:165)
      8. com.atlassian.jira.mail.builder.EmailBuilder.renderNow(EmailBuilder.java:162)
      9. com.atlassian.jira.mail.builder.EmailBuilder.renderNowAsQueueItem(EmailBuilder.java:152)
      10. com.atlassian.jira.mail.MailingListCompiler$1.processRecipient(MailingListCompiler.java:306)
      11. com.atlassian.jira.mail.NotificationRecipientProcessor.process(NotificationRecipientProcessor.java:39)
      12. com.atlassian.jira.mail.MailingListCompiler.addMailsToQueue(MailingListCompiler.java:331)
      13. com.atlassian.jira.mail.MailingListCompiler.access$200(MailingListCompiler.java:46)
      14. com.atlassian.jira.mail.MailingListCompiler$NotificationCompiler.addEmailsToQueue(MailingListCompiler.java:454)
      15. com.atlassian.jira.mail.MailingListCompiler$NotificationCompiler.sendLists(MailingListCompiler.java:424)
      16. com.atlassian.jira.mail.MailingListCompiler$NotificationCompiler.sendNoLevelsIgnoreGroup(MailingListCompiler.java:404)
      17. com.atlassian.jira.mail.MailingListCompiler$NotificationCompiler.sendToAll(MailingListCompiler.java:399)
      18. com.atlassian.jira.mail.MailingListCompiler.sendLists(MailingListCompiler.java:144)
      19. com.atlassian.jira.mail.IssueMailQueueItem.send(IssueMailQueueItem.java:149)
      19 frames
    9. com.atlassian.mail
      MailQueueImpl.sendBuffer
      1. com.atlassian.mail.queue.MailQueueImpl.sendBuffer(MailQueueImpl.java:66)
      1 frame
    10. com.atlassian.jira
      ServiceRunner.execute
      1. com.atlassian.jira.service.services.mail.MailQueueService.run(MailQueueService.java:28)
      2. com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61)
      3. com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48)
      3 frames
    11. quartz
      SimpleThreadPool$WorkerThread.run
      1. org.quartz.core.JobRunShell.run(JobRunShell.java:195)
      2. org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
      2 frames