Restoring jira from XML - problem restoring ActiveObjects data for the plugin Email This Issue


we are using facing following problem:


Via jira gui (/secure/admin/XmlRestore!finish.jspa) I can see:

There was a problem restoring ActiveObjects data for the plugin Email This Issue(com.metainf.jira.plugin.emailissue) #7.0.21-jira6 plugin. Importing table AO_544E33_AUDIT_LOG_ENTRY failed. Please check the log for details.


Jira version: 6.4.14

Email this issue version: 7.0.21-jira6


We were using Mysql and we are migrating to PostgreSQL

Log output can be seen in comments.

We welcome any advice.




5 answers

[jira.bc.dataimport.DefaultDataImportService] Importing data is 89% complete...
2017-04-06 14:47:59,324 JiraImportTaskExecutionThread-1 INFO admin 875x162x1 17m1ei6,0:0:0:0:0:0:0:1 /secure/admin/XmlRestore.jspa [jira.bc.dataimport.DefaultDataImportService] Importing data is 90% complete...
2017-04-06 14:48:04,854 JiraImportTaskExecutionThread-1 INFO admin 875x162x1 17m1ei6,0:0:0:0:0:0:0:1 /secure/admin/XmlRestore.jspa [jira.bc.dataimport.DefaultDataImportService] Finished storing Generic Values.
2017-04-06 14:48:15,151 JiraImportTaskExecutionThread-1 ERROR admin 875x162x1 17m1ei6,0:0:0:0:0:0:0:1 /secure/admin/XmlRestore.jspa [jira.bc.dataimport.DefaultDataImportService] Error during ActiveObjects restore
com.atlassian.activeobjects.spi.ActiveObjectsImportExportException: There was an error during import/export with plugin Email This Issue(com.metainf.jira.plugin.emailissue) #7.0.21-jira6 (table AO_544E33_AUDIT_LOG_ENTRY):
at com.atlassian.activeobjects.backup.ImportExportErrorServiceImpl.newImportExportSqlException(
at com.atlassian.dbexporter.importer.DataImporter$BatchInserter.flush(
at ...

at com.atlassian.dbexporter.importer.DataImporter$BatchInserter.executePS(
at com.atlassian.dbexporter.importer.DataImporter$BaseInserter.execute(
at com.atlassian.dbexporter.importer.DataImporter.importTable(
at com.atlassian.dbexporter.importer.DataImporter.access$000(
at com.atlassian.dbexporter.importer.DataImporter$
at com.atlassian.dbexporter.importer.DataImporter$
at com.atlassian.dbexporter.jdbc.JdbcUtils.withConnection(
at com.atlassian.dbexporter.importer.DataImporter.doImportNode(
at com.atlassian.dbexporter.importer.AbstractImporter.importNode(
at com.atlassian.dbexporter.DbImporter.importData(
at com.atlassian.activeobjects.backup.ActiveObjectsBackup.restore(
at com.atlassian.jira.bc.dataimport.DefaultDataImportService.restoreActiveObjects(

at com.atlassian.jira.bc.dataimport.DefaultDataImportService.performImport(
at com.atlassian.jira.bc.dataimport.DefaultDataImportService.doImport(
at com.atlassian.jira.task.ImportTaskManagerImpl$
at com.atlassian.jira.task.ImportTaskManagerImpl$
at java.util.concurrent.Executors$
at java.util.concurrent.ThreadPoolExecutor.runWorker(


was aborted. Call getNextException to see the cause.
at org.postgresql.jdbc2.AbstractJdbc2Statement$BatchResultHandler.handleError(
at org.postgresql.core.v3.QueryExecutorImpl$1.handleError(
at org.postgresql.core.v3.QueryExecutorImpl$ErrorTrackingResultHandler.handleError(
at org.postgresql.core.v3.QueryExecutorImpl.processResults(
at org.postgresql.core.v3.QueryExecutorImpl.sendQuery(
at org.postgresql.core.v3.QueryExecutorImpl.execute(
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(
at org.apache.commons.dbcp.DelegatingStatement.executeBatch(
at org.apache.commons.dbcp.DelegatingStatement.executeBatch(
at com.atlassian.dbexporter.importer.DataImporter$BatchInserter.flush(
... 24 more

2017-04-06 14:48:15,176 JiraImportTaskExecutionThread-1 WARN admin 875x162x1 17m1ei6,0:0:0:0:0:0:0:1 /secure/admin/XmlRestore.jspa [dvcs.dao.impl.CachingOrganizationDaoImpl] onImportCompleted - clearing cache !!
2017-04-06 14:48:15,181 JiraImportTaskExecutionThread-1 INFO admin 875x162x1 17m1ei6,0:0:0:0:0:0:0:1 /secure/admin/XmlRestore.jspa [jira.bc.dataimport.DefaultDataImportService] Importing data is 100% complete...
2017-04-06 14:48:15,181 JiraImportTaskExecutionThread-1 INFO admin 875x162x1 17m1ei6,0:0:0:0:0:0:0:1 /secure/admin/XmlRestore.jspa [jira.bc.dataimport.DefaultDataImportService] JIRA Data Import has finished.

Any updates on this? We ran into a similar case last week and were unable to find a workaround yet.

@Tomáš Burdahave you been successful in the meantime?


i workarounded this by doing database dump

and restore to new db.

But we had to still use mysql.

For us null values were causing this error. We found only 4 email log entries with null by querying the database, then we deleted through the user interface.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira Service Desk

How the Telegram Integration for Jira helps Sergey's team take their support efficiency to the bank

...+ reading Fantasy). The same is true for him at the bank he works for: Efficiency is key when time literally equals money. Read on to learn how Sergey makes most of the time he has by...

203 views 0 2
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you