Copy Operation Fails with Retention-DFC_ASPECT_CALLBACK_EXCEPTION

NidhiJayas
edited May 17, 2012 in Documentum #1

Hi,

We are doing a simple DFC copy operation, picking content from one documentum

docbase (6.5sp2) to another. The requirement is that documents from Docbase 1 are

copied to Docbase 2, under folder which has retention policy applied.

The environment is new and issues due to environment have been already ruled out.

Also, when we remove the retention on the folder, code works perfectly fine.

We are using 'Linked' type retention.

We are using OTB copy operation via DFC.

IDfCopyNode node = (IDfCopyNode)operation.add(rDRDocumentObject );

/* Set folder path - Some Custom Code */

operation.execute();

Error :

12:16:31,304 ERROR [main] com.documentum.fc.client.DfDocument - Failed to rebuild

class for object 09009e408000927f

DfAspectCallbackException:: THREAD: main; MSG: [DFC_ASPECT_CALLBACK_EXCEPTION] An

exception occured within an attach or detach aspect callback -

[[DM_API_E_BADID]error: "Bad ID given: 0000000000000000"]; ERRORCODE: ff; NEXT:

null

at

com.documentum.fc.client.aspect.impl.DfAspectCallbackException.newCallbackException

(DfAspectCallbackException.java:17)

at

com.documentum.fc.client.DfPersistentObject.invokeCallbacksAfterObjectReinitialized

(DfPersistentObject.java:147)

at

com.documentum.fc.client.DfPersistentObject.reinitialize(DfPersistentObject.java:13

0)

at

com.documentum.rpm.policyengine.aspect.DefaultPolicyCoordinator___PROXY.reinitializ

e(DefaultPolicyCoordinator___PROXY.java)

at

com.documentum.fc.client.impl.objectmanager.PObjectFactoryWithAspects.rebuildClassI

fNeeded(PObjectFactoryWithAspects.java:146)

at

com.documentum.fc.client.DfPersistentObject.onNoActiveCalls(DfPersistentObject.java

:824)

at

com.documentum.fc.impl.util.reflection.proxy.BaseProxy.____unreferenceImp____(BaseP

roxy.java:62)

at

com.documentum.fc.impl.util.reflection.proxy.BaseDoubleProxy.____unreferenceImp____

(BaseDoubleProxy.java:50)

at com.documentum.fc.client.DfDocument___PROXY.link(DfDocument___PROXY.java)

at

com.documentum.operations.impl.copy.CopyObjectHelper.fixupLinks(CopyObjectHelper.ja

va:121)

at

com.documentum.operations.impl.copy.CopyObjectHelper.setupCopy(CopyObjectHelper.jav

a:57)

at

com.documentum.operations.nodeactions.DfCopyDocuments.setupCopy(DfCopyDocuments.jav

a:161)

at

com.documentum.operations.nodeactions.DfCopyDocuments.copyDocument(DfCopyDocuments.

java:66)

at

com.documentum.operations.nodeactions.DfCopyDocuments.execute(DfCopyDocuments.java:

36)

at

com.documentum.operations.steps.impl.OperationStep.executeStep(OperationStep.java:1

51)

at

com.documentum.operations.steps.impl.OperationStep.execute(OperationStep.java:40)

at

com.documentum.operations.impl.OperationExecutionEngine.execute(OperationExecutionE

ngine.java:51)

at com.documentum.operations.DfOperation.execute(DfOperation.java:342)

at com.erp.tmo.archivejob.MoveRdrToRdra.doCopy(MoveRdrToRdra.java:179)

at com.erp.tmo.archivejob.MoveRdrToRdra.main(MoveRdrToRdra.java:89)

Comments

  • Did you get this resolved. We are experiencing same issue though it is intermittent for some of documents only.