D2 Workflow error - "Could not initialize class com.emc.d2.api.workflows.D2cWorkflowTrack"

Hello, i'm trying to start a Workflow inside another Workflow, but i get this error:

java.lang.NoClassDefFoundError: Could not initialize class com.emc.d2.api.workflows.D2cWorkflowTracker
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.lang.Class.newInstance(Class.java:442)
at com.documentum.fc.client.impl.objectmanager.AbstractPersistentObjectFactory.newObjectInstance(AbstractPersistentObjectFactory.java:58)
at com.documentum.fc.client.impl.objectmanager.PObjectFactoryWithAspects.makeObject(PObjectFactoryWithAspects.java:52)
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:948)
at com.documentum.fc.client.impl.session.SessionHandle.newObject(SessionHandle.java:901)
at com.emc.d2.api.workflows.D2cWorkflowTracker.newObject(D2cWorkflowTracker.java:813)
at com.mth.ae_mth_ejecuta_wf_documentacion_operativa.createTrackerWF(ae_mth_ejecuta_wf_documentacion_operativa.java:184)
at com.mth.ae_mth_ejecuta_wf_documentacion_operativa.startWorkflow(ae_mth_ejecuta_wf_documentacion_operativa.java:144)
at com.mth.ae_mth_ejecuta_wf_documentacion_operativa.doTask(ae_mth_ejecuta_wf_documentacion_operativa.java:68)
at com.documentum.bpm.rtutil.WorkflowMethod.execute(WorkflowMethod.java:214)
at com.documentum.bpm.rtutil.AbstractWorkflowMethod.executeMethod(AbstractWorkflowMethod.java:27)
at com.documentum.bpm.rtutil.GenericWorkflowMethod.execute(GenericWorkflowMethod.java:123)
at com.documentum.bpm.rtutil.GenericWorkflowMethod.execute(GenericWorkflowMethod.java:290)
at com.documentum.bpm.rtutil.GenericWorkflowMethod.execute(GenericWorkflowMethod.java:65)
at com.documentum.mthdservlet.DfMethodRunner.runIt(Unknown Source)
at com.documentum.mthdservlet.AMethodRunner.runAndReturnStatus(Unknown Source)
at com.documentum.mthdservlet.DoMethod.invokeMethod(Unknown Source)
at com.documentum.mthdservlet.DoMethod.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:86)
at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58)
at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:72)
at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
at io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:282)
at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:261)
at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:80)
at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:172)
at io.undertow.server.Connectors.executeRootHandler(Connectors.java:199)
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:774)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

Thanks in advance.

Comments

  • Hello and thanks for your post. This "channel" of the OpenText Forum is dedicated to Core Share and Core Signature - our SaaS cloud content management and electronic signature services -- and I don't believe anyone with domain expertise with D2 workflows monitors it.

    I would suggest either https://forums.opentext.com/forums/categories/documentum-d2 - the D2 "channel" or the Documentum community forum (the "parent channel" of that one).

    Kind regards,

    Jay Weir
    OpenText Core Communications

    Jay Weir
    Sr. Communications Specialist
    OpenText

  • @JWeir said:
    Hello and thanks for your post. This "channel" of the OpenText Forum is dedicated to Core Share and Core Signature - our SaaS cloud content management and electronic signature services -- and I don't believe anyone with domain expertise with D2 workflows monitors it.

    I would suggest either https://forums.opentext.com/forums/categories/documentum-d2 - the D2 "channel" or the Documentum community forum (the "parent channel" of that one).

    Kind regards,

    Jay Weir
    OpenText Core Communications

    Hello, i can't open discussion in that channel.

    Permission Problem

    You don't have permission to do that.

  • Hi @Velvedere
    In order to access the Documentum product forums, kindly upgrade your account to include "My Support access". Upon completing the form, our support team will update your permissions and send you an email notification upon completion.

    Karen

  • Looks like you do not have D2-API-x.y.z.jar within the serverApps.ear\lib or bpm.ear\lib. Please verify

    Syed Haque
    OpenText

  • Solved.

    Was the version of one .jar library.

    Thanks :)