Symptom
- New Role From Backend/Role Upload is failing;
- Upon checking role upload logs (as per SAP Note 2011374 - How To: Collect Role Upload Logs on the Portal), the following logs are found:
com.sapportals.portal.pcd.gl.LockingException: Creation of lock object failed
Object already locked APPL_ID: com.sap.portal.pcd RES_ID
pcd:portal_content<UPLOAD_TARGET_PATH> [Root exception is
com.sapportals.portal.pcd.gl.LockingException: Object already locked APPL_ID: com.sap.portal.pcd RES_ID: com.sap.portal.pcd RES_ID
pcd:portal_content<UPLOAD_TARGET_PATH>]
at com.sapportals.portal.pcd.gl.LockHandle.create - On defaultTrace the following exception is found:
#Error#com.sap.portal.utilities.ThreadReporting##BC-PIN-PCD
#sap.com/com.sap.portal.util.threadreporting
#sap.com/tc~pp~admintls~role_upload_ui#com.sap.portal.utilities.ThreadReporting##
#Thread[RoleUpload_1431600961255,5,Dedicated_Application_Thread]#Plain##
Exception propagating Severity
[EXCEPTION]
java.lang.IllegalStateException: No parent
at com.sapportals.portal.util.threadreporting.WritableThreadReport.getParentRecord(WritableThreadReport.java:511)
at com.sapportals.portal.util.threadreporting.WritableThreadReport.getWritableParentRecord(WritableThreadReport.java:499)
at com.sapportals.portal.util.threadreporting.WritableThreadReportRecord.getWritableParent(WritableThreadReportRecord.java:344)
at com.sapportals.portal.util.threadreporting.WritableThreadReportRecord.propagateSeverity(WritableThreadReportRecord.java:384)
at com.sap.portal.pcd.rolemigration.util.ThreadLogger.warning(ThreadLogger.java:240)
at com.sap.portal.pcd.rolemigration.util.ThreadLogger.warning(ThreadLogger.java:211)
at com.sap.portal.pcd.rolemigration.RoleMigrationObject.addDragAndRelateAttrs(RoleMigrationObject.java:5475)
at com.sap.portal.pcd.rolemigration.RoleMigrationObject.save(RoleMigrationObject.java:5542)
at com.sap.portal.pcd.rolemigration.RoleMigrationObject.migrate(RoleMigrationObject.java:1291)
at com.sap.portal.pcd.rolemigration.RoleMigrationObject.doDependentObjects(RoleMigrationObject.java:5906)
at com.sap.portal.pcd.rolemigration.RoleMigrationObject.save(RoleMigrationObject.java:5643)
at com.sap.portal.pcd.rolemigration.RoleMigrationObject.save(RoleMigrationObject.java:5196)
at com.sap.portal.pcd.rolemigration.RoleMigrationObject.migrate(RoleMigrationObject.java:1679)
at com.sap.portal.pcd.rolemigration.RoleMigrationObject.migrate(RoleMigrationObject.java:763)
at com.sap.portal.pcd.rolemigration.RoleMigrationThread.run(RoleMigrationThread.java:392)
Read more...
Environment
- SAP NetWeaver Application Server Java
- SAP Enterprise Portal
Product
SAP NetWeaver 7.3 ; SAP NetWeaver 7.4 ; SAP NetWeaver 7.5 ; SAP enhancement package 1 for SAP NetWeaver 7.3
Keywords
configuration, com.sap.portal.pcd.rolemigration, role, migration, upload, backend, ABAP, PcdInconsistentUpdateException , KBA , EP-PIN-PCD-ROL-UPL , Role upload from ERP , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.