Exporting Data Fails due to java.lang.ArrayIndexOutOfBoundsException

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

Symptoms

When attempting to create a backup, the following error is encountered:

1 2 3 4 5 6 7 8 9 10 com.atlassian.core.AtlassianCoreException: Error in action: com.atlassian.jira.action.admin.DataExport@1965391, result: error Error exporting data: java.lang.ArrayIndexOutOfBoundsException: -1 at com.atlassian.core.action.ActionUtils.checkForErrors(ActionUtils.java:51) at com.atlassian.jira.service.services.export.ExportService.invokedAction(ExportService.java:119) at com.atlassian.jira.service.services.export.ExportService.run(ExportService.java:100) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:67) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:61) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)

Cause

The Oracle JDBC driver is out of date. For example, for Oracle databases, make sure to use the 11.2.x driver.

Resolution

Update the database JDBC driver as specified in Connecting JIRA to Oracle.

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.