Project Import creates missing users in custom field value then prints ugly stacktraces in log when accessing the issue/cf value

XMLWordPrintable

    • 3.13

      UserCFType returns a User object, but the value doesn't map to a JIRA user. You get the following fairly regularly in the logs:

      2008-08-15 14:42:07,580 http-8090-Processor4 WARN [issue.customfields.impl.AbstractSingleFieldType] Value stored in database is invalid
      com.atlassian.jira.issue.customfields.impl.FieldValidationException: User 'betty' was not found in the system
      	at com.atlassian.jira.issue.customfields.converters.UserConverter.getUser(UserConverter.java:41)
      	at com.atlassian.jira.issue.customfields.impl.UserCFType.getSingularObjectFromString(UserCFType.java:59)
      	at com.atlassian.jira.issue.customfields.impl.StringCFType.getObjectFromDbValue(StringCFType.java:25)
      	at com.atlassian.jira.issue.customfields.impl.AbstractSingleFieldType.getValueFromIssue(AbstractSingleFieldType.java:87)
      	at com.atlassian.jira.issue.fields.CustomFieldImpl.getValue(CustomFieldImpl.java:266)
      	at com.atlassian.jira.issue.index.indexers.impl.DefaultCustomFieldIndexer.addIndex(DefaultCustomFieldIndexer.java:50)
              ...
      

            Assignee:
            Mark Lassau (Inactive)
            Reporter:
            Jed Wesley-Smith (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h
                2h