Self-Solve Knowledge Search

Minimize Maximize
Error when clicked on Realign repository
Title :
Error when clicked on Realign repository
Document ID :
KM01015623
Product - Version:
quality center ;
OS :
Updated :
Mon Jul 07 06:22:54 GMT 2014
Summary :
Error when clicked on Realign repository after the project is upgraded
Problem

Realigning "<PROJECT>"...

2014-06-19 03:18:26.0  Run actual optimized repository aligner steps ...

2014-06-19 03:18:26.0   alignment.SmartRepositoryAlignerTask ...

2014-06-19 03:18:26.0  SmartRep.Aligner.Error.Not.Smart.Repository

2014-06-19 03:18:26.0  ALM-V10140: Repository alignment failed. Resume the alignment process by starting the process again.

2014-06-19 03:18:26.0  Dropping temporary table for optimized repository realigning

2014-06-19 03:18:26.0  Exception occurred. Message: Actual optimized repository alignment failed

2014-06-19 03:18:26.0  Error: ALM-V10140: Repository alignment failed. Resume the alignment process by starting the process again.

2014-06-19 03:18:26.0  Stack: com.hp.alm.platform.siteadmin.maintenance.smartrepository.alignment.SmartRepositoryAlignerTask.reportFailure(SmartRepositoryAlignerTask.java:173)

2014-06-19 03:18:26.0  Stack: com.hp.alm.platform.siteadmin.maintenance.smartrepository.alignment.SmartRepositoryAlignerTask.run(SmartRepositoryAlignerTask.java:84)

2014-06-19 03:18:26.0  Stack:      at

2014-06-19 03:18:26.0  Error: Actual optimized repository alignment failed

2014-06-19 03:18:26.0  Stack: com.hp.alm.platform.siteadmin.maintenance.AlignRepositoryTask.alignRepository(AlignRepositoryTask.java:78)

2014-06-19 03:18:26.0  Stack: com.hp.alm.platform.siteadmin.maintenance.AlignRepositoryTask.runTask(AlignRepositoryTask.java:47)

2014-06-19 03:18:26.0  Stack: com.hp.alm.platform.siteadmin.maintenance.AlignRepositoryTask.runTask(AlignRepositoryTask.java:19)

2014-06-19 03:18:26.0  Stack: com.hp.alm.platform.siteadmin.maintenance.AbsMaintenanceTask.run(AbsMaintenanceTask.java:370)

2014-06-19 03:18:26.0  Stack: java.lang.Thread.run(Thread.java:662)

2014-06-19 03:18:26.0  The task that failed belongs to ALM platform

Server exception. Process stopped

2014-06-19 03:18:26.0  Exception occurred.

Cause

This error occurs for either of the following reasons

1. If the repository migration is not 100% complete. This can be checked by logging into Site Administrator -> Tools -> Repository Migration status

2. If there are any other unwanted folders other than required folders in repository of the project

Fix

1 ) If this is due to repository migration , wait for the Repositorymigration to complete and show as 100%.

2 ) If this due to unwanted folders in the repository , compare the repository folder structure of the problematic project with that of a working project. Remove the unwanted folders only after you verify them and take a backup .