JIRA upgrade fails due to BridgedDirectoryUser cannot be cast to com.atlassian.jira.user.ApplicationUser

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

Symptoms

  • JIRA upgrade fails

  • XML Restore fails

  • Indexing fails

The following appears in the atlassian-jira.log:

1 2 3 4 5 6 7 8 9 10 11 2013-07-15 12:29:52,117 JiraImportTaskExecutionThread-1 ERROR optimus 748x177x1 14f67yj 192.168.1.118 /secure/admin/XmlRestore.jspa [jira.bc.dataimport.DefaultDataImportService] Error importing data: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.ClassCastException: com.atlassian.jira.user.BridgedDirectoryUser cannot be cast to com.atlassian.jira.user.ApplicationUser java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.ClassCastException: com.atlassian.jira.user.BridgedDirectoryUser cannot be cast to com.atlassian.jira.user.ApplicationUser at com.atlassian.jira.index.FutureResult.await(FutureResult.java:35) at com.atlassian.jira.index.CompositeResultBuilder$CompositeResult.await(CompositeResultBuilder.java:82) at com.atlassian.jira.issue.index.DefaultIndexManager.doIndexIssuesInBatchMode(DefaultIndexManager.java:857) at com.atlassian.jira.issue.index.DefaultIndexManager.doStopTheWorldReindex(DefaultIndexManager.java:827) at com.atlassian.jira.issue.index.DefaultIndexManager.reIndexAll(DefaultIndexManager.java:337) at com.atlassian.jira.issue.index.DefaultIndexManager.reIndexAll(DefaultIndexManager.java:303) at com.atlassian.jira.issue.index.DefaultIndexManager.activate(DefaultIndexManager.java:283) ... ... 28 more

Diagnosis

An incompatible version of JIRA Watcher Field Plugin is installed.

Cause

Incompatible version of JIRA Watcher Field Plugin

Solution

Resolution

  • Update Add-On to version compatible with JIRA 6.x

OR

  • Uninstall Add-On

Updated on April 2, 2025

Still need help?

The Atlassian Community is here for you.