-
Bug
-
Resolution: Fixed
-
Low
-
None
-
None
-
None
Issue Summary
Cloud Migration Assistant for Confluence does not work on Oracle 12c
Environment
Confluence Server running on Oracle 12c
Steps to Reproduce
- Deploy Confluence 6.15.1 running Oracle 12c
- Update Cloud Migration Assistant for Confluence to the latest version in Manage Apps
- Proceed all the way to export the Space to your Cloud site
Expected Results
Spaces are migrated
Actual Results
The below exception is thrown in the atlassian-confluence.log file:
019-06-21 17:32:23,848 ERROR [Caesium-1-2] [agent.service.stepexecutor.ProgressTracker] error Step failed, message: An unexpected error occurred during step: Migrating users and groups. Error: Unexpected char 0x0a at 130 in User-Agent value: MigrationPlugin/2.0.3 (Confluence/6.15.2.8100; Oracle/Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options) -- cloudId: bf5e3c93-160e-4482-8525-6a82b2ec7821 | planName: admin Atlassian migration plan | stepType: USERS_MIGRATION | stepId: 421ba6af-a354-4951-a6d8-d875c02c0777 | planId: 0a220161-d600-4fbc-b168-20788a85d4f8 | cloudUrl: https://ericlamtest.atlassian.net | taskName: Migrate users and groups | taskId: 1b90e7a3-82a7-40f5-8a01-0b3a25168e48 java.lang.IllegalArgumentException: Unexpected char 0x0a at 130 in User-Agent value: MigrationPlugin/2.0.3 (Confluence/6.15.2.8100; Oracle/Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options) at okhttp3.Headers$Builder.checkNameAndValue(Headers.java:352) at okhttp3.Headers$Builder.add(Headers.java:290) at okhttp3.Request$Builder.addHeader(Request.java:196) at com.atlassian.migration.agent.service.impl.UserAgentInterceptor.intercept(UserAgentInterceptor.java:52) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200) at okhttp3.RealCall.execute(RealCall.java:77) at com.atlassian.migration.agent.okhttp.HttpService.callImpl(HttpService.java:63) at com.atlassian.migration.agent.okhttp.HttpService.call(HttpService.java:47) at com.atlassian.migration.agent.okhttp.HttpService.callJson(HttpService.java:33) at com.atlassian.migration.agent.service.user.DefaultUsersMigrationService.initiateUsersAndGroupsMigration(DefaultUsersMigrationService.java:70) at com.atlassian.migration.agent.service.user.RetryingUsersMigrationService.lambda$initiateUsersAndGroupsMigration$0(RetryingUsersMigrationService.java:28) at net.jodah.failsafe.SyncFailsafe.call(SyncFailsafe.java:145) at net.jodah.failsafe.SyncFailsafe.get(SyncFailsafe.java:56) at com.atlassian.migration.agent.service.user.RetryingUsersMigrationService.initiateUsersAndGroupsMigration(RetryingUsersMigrationService.java:27) at com.atlassian.migration.agent.service.stepexecutor.user.UsersMigrationExecutor.initiateUsersAndGroupsImport(UsersMigrationExecutor.java:152) at com.atlassian.migration.agent.service.stepexecutor.user.UsersMigrationExecutor.consumeStep(UsersMigrationExecutor.java:126) at com.atlassian.migration.agent.service.stepexecutor.user.UsersMigrationExecutor.lambda$consume$0(UsersMigrationExecutor.java:119) at com.atlassian.migration.agent.service.stepexecutor.StepSchedulerService.lambda$runStep$4(StepSchedulerService.java:199) at com.atlassian.confluence.util.logging.LoggingContext.executeWithContext(LoggingContext.java:147) at com.atlassian.migration.agent.logging.LoggingContextBuilder.execute(LoggingContextBuilder.java:109) at com.atlassian.migration.agent.service.stepexecutor.StepSchedulerService.runStep(StepSchedulerService.java:197) at com.atlassian.migration.agent.service.stepexecutor.StepSchedulerService.consumeStep(StepSchedulerService.java:111) at com.atlassian.migration.agent.service.stepexecutor.user.UsersMigrationExecutor.consume(UsersMigrationExecutor.java:119) at com.atlassian.migration.agent.queue.QueueBroker.dispatch(QueueBroker.java:138) at com.atlassian.migration.agent.queue.QueueBroker.lambda$dispatchBatchToConsumer$1(QueueBroker.java:114) at java.util.ArrayList.forEach(ArrayList.java:1257) at com.atlassian.migration.agent.queue.QueueBroker.dispatchBatchToConsumer(QueueBroker.java:114) at java.util.ArrayList.forEach(ArrayList.java:1257) at com.atlassian.migration.agent.queue.QueueBroker.runJob(QueueBroker.java:100) at com.atlassian.confluence.impl.schedule.caesium.JobRunnerWrapper.doRunJob(JobRunnerWrapper.java:117) at com.atlassian.confluence.impl.schedule.caesium.JobRunnerWrapper.lambda$runJob$0(JobRunnerWrapper.java:88) at com.atlassian.confluence.impl.vcache.VCacheRequestContextManager.doInRequestContextInternal(VCacheRequestContextManager.java:87) at com.atlassian.confluence.impl.vcache.VCacheRequestContextManager.doInRequestContext(VCacheRequestContextManager.java:71) at com.atlassian.confluence.impl.schedule.caesium.JobRunnerWrapper.runJob(JobRunnerWrapper.java:88) at com.atlassian.scheduler.core.JobLauncher.runJob(JobLauncher.java:134) at com.atlassian.scheduler.core.JobLauncher.launchAndBuildResponse(JobLauncher.java:106) at com.atlassian.scheduler.core.JobLauncher.launch(JobLauncher.java:90) at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.launchJob(CaesiumSchedulerService.java:443) at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeLocalJob(CaesiumSchedulerService.java:410) at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeQueuedJob(CaesiumSchedulerService.java:388) at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService$1.consume(CaesiumSchedulerService.java:285) at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService$1.consume(CaesiumSchedulerService.java:282) at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.executeJob(SchedulerQueueWorker.java:65) at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.executeNextJob(SchedulerQueueWorker.java:59) at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.run(SchedulerQueueWorker.java:34) at java.lang.Thread.run(Thread.java:748)
UI Error
Resolution
Upgrade to Cloud Migration Assistant for Confluence v2.0.5 that contains the fix.