com.atlassian.confluence.content.render.xhtml.migration.exceptions.MigrationException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • The XHTML migration dies on this exception: {code} 2011-09-21 13:18:13,123 ERROR [http-8090-3] [admin.actions.upgrade.ForceUpgradeAction] doInTransactionWithoutResult Upgrade failed with exception: java.util.concurrent.ExecutionException: java.lang.RuntimeException: org.owasp.validator.html.ScanException: java.io.IOException: The character '^K' is an invalid XML character -- referer: http://localhost:8090/admin/do-force-upgrade.action?atl_token=b867c36fd0d30b43f1f3a79338556e13ce5f4eac&upgradeTaskToRun=wikiToXhtmlMigrationUpgradeTask&confirm=Force+Upgrade | url: /admin/do-force-upgrade.action | userName: admin | action: do-force-upgrade com.atlassian.confluence.content.render.xhtml.migration.exceptions.MigrationException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: org.owasp.validator.html.ScanException: java.io.IOException: The character '^K' is an invalid XML character at com.atlassian.confluence.content.render.xhtml.migration.DefaultWikiToXhtmlSiteMigrator.migrateSite(DefaultWikiToXhtmlSiteMigrator.java:164) at com.atlassian.confluence.upgrade.upgradetask.WikiToXhtmlMigrationUpgradeTask.doDeferredUpgrade(WikiToXhtmlMigrationUpgradeTask.java:40) at com.atlassian.confluence.admin.actions.upgrade.ForceUpgradeAction$1.doInTransactionWithoutResult(ForceUpgradeAction.java:85) at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128) at com.atlassian.confluence.admin.actions.upgrade.ForceUpgradeAction.execute(ForceUpgradeAction.java:103) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:168) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) {code} It looks like the whole process dies, and not just the batch. Forcing the upgrade task again fails at the same point.
    via by Adam Laskowski [Atlassian],
  • The XHTML migration dies on this exception: {code} 2011-09-21 13:18:13,123 ERROR [http-8090-3] [admin.actions.upgrade.ForceUpgradeAction] doInTransactionWithoutResult Upgrade failed with exception: java.util.concurrent.ExecutionException: java.lang.RuntimeException: org.owasp.validator.html.ScanException: java.io.IOException: The character '^K' is an invalid XML character -- referer: http://localhost:8090/admin/do-force-upgrade.action?atl_token=b867c36fd0d30b43f1f3a79338556e13ce5f4eac&upgradeTaskToRun=wikiToXhtmlMigrationUpgradeTask&confirm=Force+Upgrade | url: /admin/do-force-upgrade.action | userName: admin | action: do-force-upgrade com.atlassian.confluence.content.render.xhtml.migration.exceptions.MigrationException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: org.owasp.validator.html.ScanException: java.io.IOException: The character '^K' is an invalid XML character at com.atlassian.confluence.content.render.xhtml.migration.DefaultWikiToXhtmlSiteMigrator.migrateSite(DefaultWikiToXhtmlSiteMigrator.java:164) at com.atlassian.confluence.upgrade.upgradetask.WikiToXhtmlMigrationUpgradeTask.doDeferredUpgrade(WikiToXhtmlMigrationUpgradeTask.java:40) at com.atlassian.confluence.admin.actions.upgrade.ForceUpgradeAction$1.doInTransactionWithoutResult(ForceUpgradeAction.java:85) at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128) at com.atlassian.confluence.admin.actions.upgrade.ForceUpgradeAction.execute(ForceUpgradeAction.java:103) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:168) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) {code} It looks like the whole process dies, and not just the batch. Forcing the upgrade task again fails at the same point.
    via by Adam Laskowski,
    • com.atlassian.confluence.content.render.xhtml.migration.exceptions.MigrationException: java.util.concurrent.ExecutionException: org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: could not update: [com.atlassian.confluence.core.BodyContent#3310833]; uncategorized SQLException for SQL []; SQL state [HY000]; error code [1366]; Incorrect string value: '\xEF\xBF\xBD\x09In...' for column 'BODY' at row 1; nested exception is java.sql.SQLException: Incorrect string value: '\xEF\xBF\xBD\x09In...' for column 'BODY' at row 1 at com.atlassian.confluence.content.render.xhtml.migration.DefaultWikiToXhtmlSiteMigrator.migrateSite(DefaultWikiToXhtmlSiteMigrator.java:167) at com.atlassian.confluence.upgrade.upgradetask.WikiToXhtmlMigrationUpgradeTask.doDeferredUpgrade(WikiToXhtmlMigrationUpgradeTask.java:40) at com.atlassian.confluence.upgrade.PluginFrameworkDependentUpgrader.runDeferredUpgradeTasks(PluginFrameworkDependentUpgrader.java:56) at com.atlassian.confluence.upgrade.PluginFrameworkDependentUpgrader.startup(PluginFrameworkDependentUpgrader.java:25) at com.atlassian.config.lifecycle.DefaultLifecycleManager.startUp(DefaultLifecycleManager.java:40) at com.atlassian.config.lifecycle.LifecycleServletContextListener.contextInitialized(LifecycleServletContextListener.java:17)
    No Bugmate found.