Failed to re-calculate permissions for Lab Project

Failed to re-calculate permissions for Lab Project error is thrown while upgrade PC project.

RecalculatePCPermissionsUpgrader.run(33) got an exception:
java.lang.NullPointerException
Messages:
Stack Trace:
java.lang.NullPointerException
at org.hp.qc.impl.customization.SiteCustomizationLoader.getSiteProjectDescriptor(SiteCustomizationLoader.java:241)

or

“UPGRADE task on project <Project Name> failed
com.hp.alm.platform.exception.CTdException
Messages:
ALM-E10011: Actual upgrade failed ; Failed to re-calculate permissions for Lab Project.;
Stack Trace:
com.hp.alm.platform.db.convertor.CUpgradeException: Failed to re-calculate permissions for Lab Project.
at com.mercury.td.pcprojectextension.upgrade.RecalculatePCPermissionsUpgrader.run(RecalculatePCPermissionsUpgrader.java:38)

Either Lab project is not upgraded or corrupted . or the project’s link to Lab project has some problem ( linked to more than one lab project)

When this error is thrown, below items need to be verified.
1. Lab project is upgraded to latest version, before the project ( which has lab extension) is upgraded.
2. Make sure the project is linked to only one lab project. ( some times user may opt to create a new lab project and leaves the old lab project and the links with the projects)
Refer PROJECT_LINKS table for the links information.
and PROJECTS table where PROJECT_TYPE is “LabManagement” for lab project information.
Note: you may remove ( NOT DELETE) the project and restore, which refreshes the Links table
3. If above does not helps,rerun the config and create new lab project then remove and restore the project to upgrade.

Advertisements