Cannot build the assembly for the sysobject
Hello there!
I'm trying to assemble virtual document.
IDfDocument iDfDocument = (IDfDocument) dmManager.getSession().getObject(id);
IDfDocument doc2 = (IDfDocument) dmManager.getSession().getObject(new DfId("09001e618000a163"));
IDfVirtualDocument vd = iDfDocument.asVirtualDocument("CURRENT", false);
IDfVirtualDocumentNode node = vd.getRootNode();
vd.addNode(node, null, new DfId("09001e618000a161"), "CURRENT", false, true);
iDfDocument.checkin(false, "CURRENT");
node.assemble(doc2);
And I have this error
DfException:: THREAD: main; MSG: [DM_SYSOBJECT_E_CANT_ASSEMBLE]error: "Cannot build the assembly for the sysobject named TEST_DOCUMENT."; ERRORCODE: 100; NEXT: null
at com.documentum.fc.client.impl.docbase.DocbaseExceptionMapper.newException(DocbaseExceptionMapper.java:57)
at com.documentum.fc.client.impl.connection.docbase.MessageEntry.getException(MessageEntry.java:39)
at com.documentum.fc.client.impl.connection.docbase.DocbaseMessageManager.getException(DocbaseMessageManager.java:137)
at com.documentum.fc.client.impl.connection.docbase.netwise.NetwiseDocbaseRpcClient.checkForMessages(NetwiseDocbaseRpcClient.java:310)
at com.documentum.fc.client.impl.connection.docbase.netwise.NetwiseDocbaseRpcClient.applyForCollection(NetwiseDocbaseRpcClient.java:434)
at com.documentum.fc.client.impl.connection.docbase.DocbaseConnection$3.evaluate(DocbaseConnection.java:1210)
at com.documentum.fc.client.impl.connection.docbase.DocbaseConnection.evaluateRpc(DocbaseConnection.java:1072)
at com.documentum.fc.client.impl.connection.docbase.DocbaseConnection.applyForCollection(DocbaseConnection.java:1198)
at com.documentum.fc.client.impl.docbase.DocbaseApi.sysObjBuildAssembly(DocbaseApi.java:1568)
at com.documentum.fc.client.DfSysObject.doAssemble(DfSysObject.java:2883)
at com.documentum.fc.client.DfSysObject.assemble(DfSysObject.java:2868)
What I'm doing wrong?
Also I tried to create snapshot using Documentum Administrator.
But I have empty SelectBox with Types. When i click Next, it says "Type cannot be null".
How can I add some types there? Or may be our Content Server not configured properly?
Message was edited by: c0rp
Categories
- All Categories
- 108 Developer Announcements
- 53 Articles
- 106 General Questions
- 144 IM Services
- 43 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 899 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 120 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management