com.atlassian.jira.issue.customfields.impl.FieldValidationException: User 'bob' was not found in the system

Atlassian JIRA | Jeff Turner | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    When a user is selected as the 'default' in a user picker custom field, and that user is then deleted, one gets the following in the logs, eg. when accessing the issue navigator: {noformat} 2006-06-09 11:45:19,874 ERROR [issue.customfields.impl.AbstractSingleFieldType] Incorrect formatted custom field stored as default com.atlassian.jira.issue.customfields.impl.FieldValidationException: User 'bob' was not found in the system at com.atlassian.jira.issue.customfields.converters.UserConverter.getUser(UserConverter.java:38) at com.atlassian.jira.issue.customfields.impl.UserCFType.getSingularObjectFromString(UserCFType.java:33) at com.atlassian.jira.issue.customfields.impl.StringCFType.getObjectFromDbValue(StringCFType.java:25) at com.atlassian.jira.issue.customfields.impl.AbstractSingleFieldType.getDefaultValue(AbstractSingleFieldType.ja va:141) at com.atlassian.jira.plugin.customfield.CustomFieldTypeModuleDescriptor.getDefaultViewHtml(CustomFieldTypeModul eDescriptor.java:136) at com.atlassian.jira.issue.customfields.config.item.DefaultValueConfigItem.getViewHtml(DefaultValueConfigItem.j ava:21) at com.atlassian.jira.issue.fields.config.FieldConfigItemImpl.getViewHtml(FieldConfigItemImpl.java:24) 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:585) 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.secure.admin.views.customfields.configurecustomfield_jsp._jspx_meth_webwork_property_16(org.ap ache.jsp.secure.admin.views.customfields.configurecustomfield_jsp:1873) at org.apache.jsp.secure.admin.views.customfields.configurecustomfield_jsp._jspx_meth_webwork_iterator_2(org.apa che.jsp.secure.admin.views.customfields.configurecustomfield_jsp:1488) at org.apache.jsp.secure.admin.views.customfields.configurecustomfield_jsp._jspx_meth_webwork_iterator_1(org.apa che.jsp.secure.admin.views.customfields.configurecustomfield_jsp:1441) at org.apache.jsp.secure.admin.views.customfields.configurecustomfield_jsp._jspx_meth_webwork_if_2(org.apache.js p.secure.admin.views.customfields.configurecustomfield_jsp:1404) at org.apache.jsp.secure.admin.views.customfields.configurecustomfield_jsp._jspService(org.apache.jsp.secure.adm in.views.customfields.configurecustomfield_jsp:282) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) ..... {noformat} User-visible functionality is not affected.

    Atlassian JIRA | 1 decade ago | Jeff Turner
    com.atlassian.jira.issue.customfields.impl.FieldValidationException: User 'bob' was not found in the system
  2. 0

    When a user is selected as the 'default' in a user picker custom field, and that user is then deleted, one gets the following in the logs, eg. when accessing the issue navigator: {noformat} 2006-06-09 11:45:19,874 ERROR [issue.customfields.impl.AbstractSingleFieldType] Incorrect formatted custom field stored as default com.atlassian.jira.issue.customfields.impl.FieldValidationException: User 'bob' was not found in the system at com.atlassian.jira.issue.customfields.converters.UserConverter.getUser(UserConverter.java:38) at com.atlassian.jira.issue.customfields.impl.UserCFType.getSingularObjectFromString(UserCFType.java:33) at com.atlassian.jira.issue.customfields.impl.StringCFType.getObjectFromDbValue(StringCFType.java:25) at com.atlassian.jira.issue.customfields.impl.AbstractSingleFieldType.getDefaultValue(AbstractSingleFieldType.ja va:141) at com.atlassian.jira.plugin.customfield.CustomFieldTypeModuleDescriptor.getDefaultViewHtml(CustomFieldTypeModul eDescriptor.java:136) at com.atlassian.jira.issue.customfields.config.item.DefaultValueConfigItem.getViewHtml(DefaultValueConfigItem.j ava:21) at com.atlassian.jira.issue.fields.config.FieldConfigItemImpl.getViewHtml(FieldConfigItemImpl.java:24) 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:585) 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.secure.admin.views.customfields.configurecustomfield_jsp._jspx_meth_webwork_property_16(org.ap ache.jsp.secure.admin.views.customfields.configurecustomfield_jsp:1873) at org.apache.jsp.secure.admin.views.customfields.configurecustomfield_jsp._jspx_meth_webwork_iterator_2(org.apa che.jsp.secure.admin.views.customfields.configurecustomfield_jsp:1488) at org.apache.jsp.secure.admin.views.customfields.configurecustomfield_jsp._jspx_meth_webwork_iterator_1(org.apa che.jsp.secure.admin.views.customfields.configurecustomfield_jsp:1441) at org.apache.jsp.secure.admin.views.customfields.configurecustomfield_jsp._jspx_meth_webwork_if_2(org.apache.js p.secure.admin.views.customfields.configurecustomfield_jsp:1404) at org.apache.jsp.secure.admin.views.customfields.configurecustomfield_jsp._jspService(org.apache.jsp.secure.adm in.views.customfields.configurecustomfield_jsp:282) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) ..... {noformat} User-visible functionality is not affected.

    Atlassian JIRA | 1 decade ago | Jeff Turner
    com.atlassian.jira.issue.customfields.impl.FieldValidationException: User 'bob' was not found in the system

    Root Cause Analysis

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

      User 'bob' was not found in the system

      at com.atlassian.jira.issue.customfields.converters.UserConverter.getUser()
    2. com.atlassian.jira
      FieldConfigItemImpl.getViewHtml
      1. com.atlassian.jira.issue.customfields.converters.UserConverter.getUser(UserConverter.java:38)
      2. com.atlassian.jira.issue.customfields.impl.UserCFType.getSingularObjectFromString(UserCFType.java:33)
      3. com.atlassian.jira.issue.customfields.impl.StringCFType.getObjectFromDbValue(StringCFType.java:25)
      4. com.atlassian.jira.issue.customfields.impl.AbstractSingleFieldType.getDefaultValue(AbstractSingleFieldType.java:141)
      5. com.atlassian.jira.plugin.customfield.CustomFieldTypeModuleDescriptor.getDefaultViewHtml(CustomFieldTypeModuleDescriptor.java:136)
      6. com.atlassian.jira.issue.customfields.config.item.DefaultValueConfigItem.getViewHtml(DefaultValueConfigItem.java:21)
      7. com.atlassian.jira.issue.fields.config.FieldConfigItemImpl.getViewHtml(FieldConfigItemImpl.java:24)
      7 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:585)
      4 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
      configurecustomfield_jsp._jspService
      1. org.apache.jsp.secure.admin.views.customfields.configurecustomfield_jsp._jspx_meth_webwork_property_16(org.apache.jsp.secure.admin.views.customfields.configurecustomfield_jsp:1873)
      2. org.apache.jsp.secure.admin.views.customfields.configurecustomfield_jsp._jspx_meth_webwork_iterator_2(org.apache.jsp.secure.admin.views.customfields.configurecustomfield_jsp:1488)
      3. org.apache.jsp.secure.admin.views.customfields.configurecustomfield_jsp._jspx_meth_webwork_iterator_1(org.apache.jsp.secure.admin.views.customfields.configurecustomfield_jsp:1441)
      4. org.apache.jsp.secure.admin.views.customfields.configurecustomfield_jsp._jspx_meth_webwork_if_2(org.apache.jsp.secure.admin.views.customfields.configurecustomfield_jsp:1404)
      5. org.apache.jsp.secure.admin.views.customfields.configurecustomfield_jsp._jspService(org.apache.jsp.secure.admin.views.customfields.configurecustomfield_jsp:282)
      5 frames
    7. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
      1 frame