Error when start process with "start from repository"

Options

Hello this is the error i got when i start process from repository:

2018-06-02 02:22:14,220 ERROR [default task-2] [com.documentum.mthdservlet.DoMethod] - Exception invoking com.documentum.bpm.services.BPSIntegrationMethod.
DfSysObjectException:: THREAD: default task-2; MSG: [DM_SYSOBJECT_E_MUST_HAVE_NAME]error: "A Folder/Cabinet must have an object_name."; ERRORCODE: 100; NEXT: null
at com.documentum.fc.client.DfSysObjectException.newMustHaveNameException(DfSysObjectException.java:174)
at com.documentum.fc.client.DfFolder.doSave(DfFolder.java:46)
at com.emc.xcp.runtime.aspect.impl.DataTypeAspect.doDefaultSave(DataTypeAspect.java:68)
at com.emc.xcp.runtime.aspect.impl.DataTypeAspectUtils.xcpSave(DataTypeAspectUtils.java:83)
at com.emc.xcp.runtime.aspect.impl.DataTypeAspectUtils.xcpSave(DataTypeAspectUtils.java:27)
at com.emc.xcp.runtime.aspect.impl.DataTypeAspect.doSave(DataTypeAspect.java:48)
at com.documentum.services.collaboration.impl.TopicAspect.doSave(Unknown Source)
at com.documentum.fc.client.DfPersistentObject.saveEx(DfPersistentObject.java:924)
at com.documentum.fc.client.DfPersistentObject.save(DfPersistentObject.java:919)
at com.documentum.services.collaboration.impl.TopicAspect___PROXY.save(TopicAspect___PROXY.java)
at com.documentum.bps.services.AbstractExecutionContext.savePackages(AbstractExecutionContext.java:274)
at com.documentum.bps.services.AbstractExecutionContext.save(AbstractExecutionContext.java:199)
at com.documentum.bps.services.WorkItemExecutionContext.save(WorkItemExecutionContext.java:290)
at com.documentum.bpm.services.BPSIntegrationFramework.executeService(BPSIntegrationFramework.java:262)
at com.documentum.bpm.services.BPSIntegrationFramework.executeMethod(BPSIntegrationFramework.java:92)
at com.documentum.bpm.services.BPSIntegrationMethod.executeMethod(BPSIntegrationMethod.java:26)
....

and this is the error the i check the process in the xcp designer debug mode:

2018-06-02T19:29:28.453 DEBUG [TThread-40] [com.documentum.bps.dql.inbound.runtime.DQLPoller:121] DQL poller waiting for 30,000 milliseconds
2018-06-02T19:29:30.117 INFO [Tpool-4-thread-1] [com.documentum.fc.client.impl.bof.classmgmt.ModuleClassLoader:69] privilege escalation -- enhanced permissions: java.security.Permissions@96d423e (
("java.io.FilePermission" "\C:\xCPDesigner\documentum\cache\7.2.0300.0231\bof\xcp_dev\090511d480035d73.jar" "read")
("com.documentum.fc.client.impl.bof.security.RolePermission" "dcs_privileged_users.xcp_dev" "propagate")
)
codesource: (file:/C:/xCPDesigner/documentum/cache/7.2.0300.0231/bof/xcp_dev/090511d480035d73.jar ) interfaces: [com.documentum.fc.client.impl.ISysObject, com.documentum.fc.client.impl.IPersistentObject, com.documentum.fc.client.impl.ITypedObject, com.documentum.fc.client.internal.ITypedObjectInternal, com.documentum.fc.client.IDfTypedObject, com.documentum.fc.tracing.IUserIdentifyingObject, com.documentum.fc.client.internal.IPersistentObjectInternal, com.documentum.fc.client.IDfPersistentObject, com.documentum.fc.client.internal.ISysObjectInternal, com.documentum.fc.client.IDfSysObject, com.documentum.fc.client.impl.IAliasResolution, com.documentum.fc.client.IDfSysObjectInternal, com.documentum.fc.client.IDfPersistentObjectInternal, com.documentum.fc.client.IDfSysObjectRetention, com.documentum.fc.impl.util.reflection.proxy.IProxyTarget, com.documentum.fc.client.relationship.IDfRelatable, com.documentum.fc.client.aspect.IDfAspects, java.lang.Cloneable, com.documentum.fc.client.IDfTypedObjectInternal]
2018-06-02T19:29:30.132 INFO [Tpool-4-thread-1] [com.documentum.fc.client.impl.bof.classmgmt.ModuleClassLoader:69] privilege escalation -- enhanced permissions: java.security.Permissions@3c747fdd (
("java.io.FilePermission" "\C:\xCPDesigner\documentum\cache\7.2.0300.0231\bof\xcp_dev\090511d480035d6f.jar" "read")
("com.documentum.fc.client.impl.bof.security.RolePermission" "dcs_privileged_users.xcp_dev" "propagate")
)
codesource: (file:/C:/xCPDesigner/documentum/cache/7.2.0300.0231/bof/xcp_dev/090511d480035d6f.jar ) interfaces: [com.documentum.fc.client.impl.ISysObject, com.documentum.fc.client.impl.IPersistentObject, com.documentum.fc.client.impl.ITypedObject, com.documentum.fc.client.internal.ITypedObjectInternal, com.documentum.fc.client.IDfTypedObject, com.documentum.fc.tracing.IUserIdentifyingObject, com.documentum.fc.client.internal.IPersistentObjectInternal, com.documentum.fc.client.IDfPersistentObject, com.documentum.fc.client.internal.ISysObjectInternal, com.documentum.fc.client.IDfSysObject, com.documentum.fc.client.impl.IAliasResolution, com.documentum.fc.client.IDfSysObjectInternal, com.documentum.fc.client.IDfPersistentObjectInternal, com.documentum.fc.client.IDfSysObjectRetention, com.documentum.fc.impl.util.reflection.proxy.IProxyTarget, com.documentum.fc.client.relationship.IDfRelatable, com.documentum.fc.client.aspect.IDfAspects, java.lang.Cloneable, com.documentum.fc.client.IDfTypedObjectInternal]
2018-06-02T19:29:30.718 DEBUG [Tpool-4-thread-1] [com.documentum.bps.inbound.AbstractTask:92] Transaction started
2018-06-02T19:29:30.718 DEBUG [Tpool-4-thread-1] [com.documentum.bps.inbound.AbstractTask:222] Preparing to create a workflow
2018-06-02T19:29:30.749 WARN [Tpool-4-thread-1] [com.documentum.bps.inbound.AbstractTask:520] Logging inbound message failed
java.lang.NullPointerException
at com.documentum.bps.dql.inbound.runtime.DQLTask.getDocumentForMessageStore(DQLTask.java:101)
at com.documentum.bps.inbound.AbstractTask.sendInputMessageIfEnabled(AbstractTask.java:517)
at com.documentum.bps.inbound.AbstractTask.startProcessInstance(AbstractTask.java:241)
at com.documentum.bps.inbound.AbstractTask.processMessage(AbstractTask.java:223)
at com.documentum.bps.inbound.AbstractTask.run(AbstractTask.java:93)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

what can be the problem?

tnx a lot

Answers

  • Issue was resolved by ensuring a package object_ID was set in the Process Data Mapping of the "Start from repository" activity, what was happening was that a workflow was being initiated with no package and when the Set Process Data activity reached and attempted to mapping data to the package attributes, this caused the activity to create a package object type in the repository, The object name when this happened was empty, hence the repository exception that is raised.