Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Incorrect string value

I have been getting the following error on restoring xml backup

com.atlassian.activeobjects.spi.ActiveObjectsImportExportException: There was an error during import/export with plugin Service Desk Notifications Plugin(com.atlassian.servicedesk.servicedesk-notifications-plugin) #3.12.0-REL-0008 (table AO_4E8AE6_NOTIF_BATCH_QUEUE):
at com.atlassian.activeobjects.backup.ImportExportErrorServiceImpl.newImportExportSqlException(
at com.atlassian.dbexporter.importer.DataImporter$BatchInserter.flush(
at com.atlassian.dbexporter.importer.DataImporter$BatchInserter.close(
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(
at java.util.concurrent.ThreadPoolExecutor$
Caused by: java.sql.BatchUpdateException: Incorrect string value: '\xF0\x9F\x93\xB1</...' for column 'HTML_CONTENT' at row 1
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
at java.lang.reflect.Constructor.newInstance(
at com.mysql.jdbc.Util.handleNewInstance(
at com.mysql.jdbc.SQLError.createBatchUpdateException(
at com.mysql.jdbc.PreparedStatement.executeBatchSerially(
at com.mysql.jdbc.PreparedStatement.executeBatchInternal(
at com.mysql.jdbc.StatementImpl.executeBatch(
at org.apache.commons.dbcp2.DelegatingStatement.executeBatch(
at org.apache.commons.dbcp2.DelegatingStatement.executeBatch(
at com.atlassian.dbexporter.importer.DataImporter$BatchInserter.flush(
... 23 more
Caused by: java.sql.SQLException: Incorrect string value: '\xF0\x9F\x93\xB1</...' for column 'HTML_CONTENT' at row 1
at com.mysql.jdbc.SQLError.createSQLException(
at com.mysql.jdbc.MysqlIO.checkErrorPacket(
at com.mysql.jdbc.MysqlIO.checkErrorPacket(
at com.mysql.jdbc.MysqlIO.sendCommand(
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(
at com.mysql.jdbc.PreparedStatement.executeInternal(
at com.mysql.jdbc.PreparedStatement.executeUpdateInternal(
at com.mysql.jdbc.PreparedStatement.executeBatchSerially(
... 28 more

Jira DB and all tables in DB are utf8 character set with utf8_bin collation. 

I have even done the Workaround section discussed and it still gives the error show above.

Any assistance will be great, thank you.

2 answers

Hello Brent,

Sorry to hear you are facing problems to import your XML backup.

Searching for similar errors, I was able to find two possible scenarios that could be causing it:

1 - JIRA throws a Syntax error when restoring from a XML backup

2 - There was an error during import/export with <unknown plugin>:Could not import data

Please, check if one of the articles above helps.

If both scenarios above do not apply to you, please provide us the following information:

- Have you taken the XML backup from a different instance?

- Does the version from the XML file and your current JIRA server instance match?

- Is the Service Desk Notifications Plugin inactive in your JIRA instance? 

Let us know if this information helps.

Hello Petterson,

Thank you for taking your time to assist. The provided links are something I have looked into but does not match my issue.

1- All primaryKey parameters are set for each table with only ONE set to true in each table section.

2- Nothing too big for the columns as the columns with paragraphs or comments are set to Longtext data type.

- Have you taken the XML backup from a different instance?

--- The XML backup is from our current JIRA instance which is on a Windows Server and I am migrating to a Linux instance

- Does the version from the XML file and your current JIRA server instance match?

--- Yes, they are currently both on version 7.9.0. Once I can migrate successfully, I will be updating to the latest version I can without breaking any Plugins we use.

- Is the Service Desk Notifications Plugin inactive in your JIRA instance? 

--- No, the Service Desk plugin is enabled.

Hello Brent,

Thank you for your detailed answer.

Per your description, I think we will need to go deeper in the JIRA logs to better troubleshoot the problem.

That been said, please contact our internal support so you can provide them with your log files:

Hello @Brent Deirocini

Did you fix your problem? I have the same problem while migrating, there is no solution in whole internet :(

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira Software

Presenting the "Best of 2020" Jira Software roundup!

Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...

4,396 views 5 15
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you