Error while trying to create custom object type(created & installed through XCP Designer) through DA

SivaRaj
SivaRaj Member
edited August 5, 2016 in Documentum #1

Hi all,

I created and installed a xcp designer proj and it works fine. And as a part of the proj artifact, I created a custom content type - sha_invoice. When I try to create a object of this type through DA Import feature or DFC, I am facing the below error. please advise me on how to overcome these issues.

DA - import error.jpg

Error in composer while executing the stand alone DFC class

Exception in thread "main" java.lang.RuntimeException: Unable to retrieve model information for sha_invoice

      at com.emc.xcp.runtime.model.impl.runtimemodel.RuntimeModelFactory.getDataModelRuntimeFromTypeName(RuntimeModelFactory.java:115)

      at com.emc.xcp.runtime.model.impl.runtimemodel.RuntimeModelFactory.getDataTypeRuntime(RuntimeModelFactory.java:79)

      at com.emc.xcp.runtime.engine.handler.DefaultValueHandler.setDefaultValues(DefaultValueHandler.java:35)

      at com.emc.xcp.runtime.aspect.impl.DataTypeAspect.onObjectReinit(DataTypeAspect.java:24)

      at com.documentum.fc.client.DfPersistentObject.reinitialize(DfPersistentObject.java:129)

      at com.documentum.services.collaboration.impl.TopicAspect___PROXY.reinitialize(TopicAspect___PROXY.java)

      at com.documentum.fc.client.impl.objectmanager.PObjectFactoryWithAspects.rebuildClassIfNeeded(PObjectFactoryWithAspects.java:146)

      at com.documentum.fc.client.DfPersistentObject.onNoActiveCalls(DfPersistentObject.java:825)

      at com.documentum.fc.impl.util.reflection.proxy.BaseProxy.____unreferenceImp____(BaseProxy.java:62)

      at com.documentum.fc.impl.util.reflection.proxy.BaseDoubleProxy.____unreferenceImp____(BaseDoubleProxy.java:50)

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

      at com.documentum.fc.client.impl.objectmanager.PObjectFactoryWithAspects.makeObject(PObjectFactoryWithAspects.java:54)

      at com.documentum.fc.client.impl.objectmanager.PersistentObjectManager.newUncachedObject(PersistentObjectManager.java:100)

      at com.documentum.fc.client.impl.objectmanager.PersistentObjectManager.newObject(PersistentObjectManager.java:66)

      at com.documentum.fc.client.impl.objectmanager.PersistentObjectManager.newObject(PersistentObjectManager.java:52)

      at com.documentum.fc.client.impl.session.Session.newObject(Session.java:840)

      at com.documentum.fc.client.impl.session.SessionHandle.newObject(SessionHandle.java:834)

      at com.dctm.alshaya.fileimport.ImportFileToDctm.main(ImportFileToDctm.java:52)

Caused by: java.lang.NoSuchMethodError: com.documentum.fc.client.impl.IClientInternal.getModuleClass(Ljava/lang/String;Lcom/documentum/fc/client/IDfSession;)Ljava/lang/Class;

      at com.documentum.bps.utils.DocbaseUtils.newModuleEx(DocbaseUtils.java:76)

      at com.documentum.bps.utils.DocbaseUtils.newModule(DocbaseUtils.java:97)

      at com.emc.xcp.runtime.model.impl.convertor.action.ServiceConverter.createServiceModule(ServiceConverter.java:39)

      at com.emc.xcp.runtime.model.impl.convertor.action.ServiceConverter.createInvokeProcessService(ServiceConverter.java:25)

      at com.emc.xcp.runtime.model.impl.convertor.action.ServiceConverter.convert(ServiceConverter.java:20)

      at com.emc.xcp.runtime.model.impl.convertor.action.ActionDefinitionFactory.getActionDefinition(ActionDefinitionFactory.java:33)

      at com.emc.xcp.runtime.model.impl.convertor.EventConfigConverter.getAllActions(EventConfigConverter.java:70)

      at com.emc.xcp.runtime.model.impl.convertor.EventConfigConverter.convert(EventConfigConverter.java:54)

      at com.emc.xcp.runtime.model.impl.convertor.DatatypeConverter.convertEventConfigs(DatatypeConverter.java:95)

      at com.emc.xcp.runtime.model.impl.convertor.DatatypeConverter.convert(DatatypeConverter.java:68)

      at com.emc.xcp.runtime.model.impl.convertor.DocumentConverter.convert(DocumentConverter.java:36)

      at com.emc.xcp.runtime.model.impl.runtimemodel.RuntimeModelFactory.convertToRuntimeModel(RuntimeModelFactory.java:136)

      at com.emc.xcp.runtime.model.impl.runtimemodel.RuntimeModelFactory.getRuntimeModel(RuntimeModelFactory.java:37)

      at com.emc.xcp.runtime.model.impl.runtimemodel.RuntimeModelFactory.getDataModelRuntimeFromTypeName(RuntimeModelFactory.java:109)

      ... 17 more

Best Answer

  • Alvaro_de_Andres
    edited October 4, 2013 #2 Answer ✓

    Caused by: java.lang.NoSuchMethodError: com.documentum.fc.client.impl.IClientInternal.getModuleClass(Ljava/lang/String;Lcom/documentum/fc/client/IDfSession;)Ljava/lang/Class;

    This makes me think that DFCs bundled with xCP designer are different from those bundled with DA

Answers

  • bradkaufman
    bradkaufman Member
    edited October 2, 2013 #3

    Shiv,

    I'm having exactly the same problem with an object type created in xCP, and trying to update it in DFC.

  • jsilver
    jsilver Member
    edited October 3, 2013 #4

    This discussion has been moved to the Documentum community.

    Please don't post product-related questions to the ECN Help Forum.  That forum is for help with using this community site.

    If you want to know more about engaging with the community for Documentum products, please refer to

  • Alvaro_de_Andres
    edited October 4, 2013 #5 Answer ✓

    Caused by: java.lang.NoSuchMethodError: com.documentum.fc.client.impl.IClientInternal.getModuleClass(Ljava/lang/String;Lcom/documentum/fc/client/IDfSession;)Ljava/lang/Class;

    This makes me think that DFCs bundled with xCP designer are different from those bundled with DA

  • Haroon_A
    Haroon_A Member
    edited October 4, 2013 #6

    Interop (type adoption) functionality is only available in D7.1/xCP 2.1 and onward. In xCP 2.0 and D7, you can't share data between your xCP 2.0 and other apps, i.e. creating an object (of xCP 2.0) via DFC or other apps.

  • SivaRaj
    SivaRaj Member
    edited October 4, 2013 #7

    Thanks Alvaro...i too figured it out and used the jar files that come bundled up with xcp-runtime in workspace and it did teh trick..

  • SivaRaj
    SivaRaj Member
    edited October 4, 2013 #8

    Hi Brad,

    please find the below listed jar files from ur xcp-runtime and use them as referenced jars in ur eclipse workspace

    1. aspectjrt-1.6.8.jar
    2. certj-5.2.jar
    3. commons-lang-2.4.jar
    4. dfc-7.0.0000.0487.jar
    5. log4j-1.2.16.jar
  • viren71
    edited August 5, 2016 #9

    Thanks