Menu

#30 DctmSysObjectTarget causes DM_SYSOBJECT_E_INVALID_PAGE_NUM

v1.3
closed
nobody
5
2010-09-22
2009-09-14
Anonymous
No

Trying to implement a dctm-to-dctm migration using DctmSysObjectTarget gives the following error

2009-09-14 15:49:17,921 15421 tar[0] ERROR com.tsgrp.migration.target.DctmPersistentObjectTarget doImportNode 124 Exception caught in doImportNode.
com.tsgrp.migration.error.MigrationException: Error setting content
at com.tsgrp.migration.error.MigrationException.getMigrationException(MigrationException.java:222)
at com.tsgrp.migration.error.MigrationException.throwException(MigrationException.java:156)
at com.tsgrp.migration.error.MigrationException.throwException(MigrationException.java:136)
at com.tsgrp.migration.target.DctmSysObjectTarget.setObjectContent(DctmSysObjectTarget.java:219)
at com.tsgrp.migration.target.DctmSysObjectTarget.updateObject(DctmSysObjectTarget.java:120)
at com.tsgrp.migration.target.DctmSysObjectTarget.preSaveProcessing(DctmSysObjectTarget.java:99)
at com.tsgrp.migration.target.DctmPersistentObjectTarget.buildObject(DctmPersistentObjectTarget.java:167)
at com.tsgrp.migration.target.DctmPersistentObjectTarget.doImportNode(DctmPersistentObjectTarget.java:118)
at com.tsgrp.migration.target.AbstractMigrationTarget.importNode(AbstractMigrationTarget.java:240)
at com.tsgrp.migration.thread.TargetMigrationThread.process(TargetMigrationThread.java:120)
at com.tsgrp.migration.thread.AbstractMigrationThread.run(AbstractMigrationThread.java:84)
Caused by: DfException:: THREAD: tar[0]; MSG: [DM_SYSOBJECT_E_INVALID_PAGE_NUM]error: "Invalid page number = 0 for sysobject. Maximum page count is 1."

; ERRORCODE: 100; NEXT: null
at com.documentum.fc.client.DfSession.createServerException(DfSession.java:3556)
at com.documentum.fc.client.DfSession.convertToDfException(DfSession.java:3538)
at com.documentum.fc.client.DfSession.apiExec(DfSession.java:178)
at com.documentum.fc.client.DfTypedObjHelperSessionBased.apiExec(DfTypedObjHelperSessionBased.java:322)
at com.documentum.fc.client.DfTypedObject.apiExec(DfTypedObject.java:208)
at com.documentum.fc.client.DfPersistentObject.apiExec(DfPersistentObject.java:165)
at com.documentum.fc.client.DfSysObject.doSetFile(DfSysObject.java:1651)
at com.documentum.fc.client.DfSysObject.setFileEx(DfSysObject.java:1636)
at com.documentum.fc.client.DfDocument___PROXY.setFileEx(DfDocument___PROXY.java)
at com.tsgrp.migration.target.DctmSysObjectTarget.setObjectContent(DctmSysObjectTarget.java:206)
... 7 more

Discussion

  • Brian Shin

    Brian Shin - 2009-09-21

    Fixed this bug, a setAttrList is required to be injected for this target to work correctly. There was also an error in the setAcl function that I fixed.

     
  • Brian Shin

    Brian Shin - 2009-09-21
    • status: open --> pending
     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 365 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending --> closed
     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.