We just upgraded from JIRA 5.2 to JIRA 6.0 and now any attempt to create or edit a ticket fails with this exception:
java.lang.ClassCastException: com.atlassian.jira.user.BridgedDirectoryUser cannot be cast to java.lang.String
Any ideas of how to fix or troubleshoot this error? We've created a support request, but thinking someone might have an idea here as well.
UPDATE:
Looking at the first part of the stacktrace:
java.lang.ClassCastException: com.atlassian.jira.user.BridgedDirectoryUser cannot be cast to java.lang.String
at com.atlassian.jira.issue.customfields.impl.MultiUserCFType.putInvalidUsersAtFront(MultiUserCFType.java:291)
at com.atlassian.jira.issue.customfields.impl.MultiUserCFType.getStringValueFromCustomFieldParams(MultiUserCFType.java:201)
at com.atlassian.jira.issue.customfields.CustomFieldUtils.buildParams(CustomFieldUtils.java:382)
at com.atlassian.jira.plugin.customfield.CustomFieldTypeModuleDescriptorImpl.getEditHtml(CustomFieldTypeModuleDescriptorImpl.java:157)
at com.atlassian.jira.issue.fields.CustomFieldImpl.getEditHtml(CustomFieldImpl.java:975)
at com.atlassian.jira.issue.fields.screen.AbstractFieldScreenLayoutItem.getEditHtml(AbstractFieldScreenLayoutItem.java:78)
at com.atlassian.jira.issue.fields.screen.FieldScreenRenderLayoutItemImpl.getEditHtml(FieldScreenRenderLayoutItemImpl.java:62)
at com.atlassian.jira.issue.fields.rest.FieldHtmlFactoryImpl.getEditFields(FieldHtmlFactoryImpl.java:151)
It looks like this error has something to do with custom fields and/or invalid users. The only other hit other than this question when Googling BridgedDirectoryUser is JRA-32514, which states that a multi-user custom field (in JRA-32514 it's a "Participant" custom field) is the cause of the problem... but we don't have a multi-user custom field. :-/
Still searching for an answer.