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

Atlassian JIRA | Adam Laskowski | 5 years ago
  1. 0

    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.

    Atlassian JIRA | 5 years ago | Adam Laskowski [Atlassian]
    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
  2. 0

    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.

    Atlassian JIRA | 5 years ago | Adam Laskowski
    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
  3. 0

    Upgrade to Confluence with MySQL Fails Due to java.sql.SQLException: Incorrect string value - Atlassian Documentation

    atlassian.com | 2 months ago
    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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. com.atlassian.confluence
      ForceUpgradeAction$1.doInTransactionWithoutResult
      1. com.atlassian.confluence.content.render.xhtml.migration.DefaultWikiToXhtmlSiteMigrator.migrateSite(DefaultWikiToXhtmlSiteMigrator.java:164)
      2. com.atlassian.confluence.upgrade.upgradetask.WikiToXhtmlMigrationUpgradeTask.doDeferredUpgrade(WikiToXhtmlMigrationUpgradeTask.java:40)
      3. com.atlassian.confluence.admin.actions.upgrade.ForceUpgradeAction$1.doInTransactionWithoutResult(ForceUpgradeAction.java:85)
      3 frames
    3. Spring Tx
      TransactionTemplate.execute
      1. org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33)
      2. org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128)
      2 frames
    4. com.atlassian.confluence
      ForceUpgradeAction.execute
      1. com.atlassian.confluence.admin.actions.upgrade.ForceUpgradeAction.execute(ForceUpgradeAction.java:103)
      1 frame
    5. XWork Tiger Extensions
      DefaultActionInvocation.invoke
      1. com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:168)
      1 frame
    6. com.opensymphony.xwork
      AroundInterceptor.intercept
      1. com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
      1 frame
    7. XWork Tiger Extensions
      DefaultActionInvocation.invoke
      1. com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
      1 frame