Current Position:Home > Cancel process instance CE 7.2

Cancel process instance CE 7.2

Update:10-11Source: network consolidation
Advertisement
Hi,
it is not possible to cancel some of the process instances shown in NWA->manage processes.
If I try there is an error and the default trace shows the following:
Error while resuming process instance '2713e1d90ae511e0c1de0000001532c2'.
[EXCEPTION]
com.sap.glx.adapter.api.AdapterException: Failed to cancel instance(s).
at com.sap.glx.process.adapter.bpmn.impl.BPMNAdapter.cancelProcessInstances(BPMNAdapter.java:2543)
at com.sap.glx.process.adapter.bpmn.impl.BPMNAdapter.cancelProcessInstance(BPMNAdapter.java:2511)
at com.sap.glx.process.impl.ProcessManagerImpl.cancelProcessInstance(ProcessManagerImpl.java:1248)
at com.sap.glx.process.impl.ProcessManagerImpl.cancelProcessInstances(ProcessManagerImpl.java:1266)
at com.sap.glx.process.impl.ProcessManagerBean.cancelProcessInstances(ProcessManagerBean.java:279)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
Any idea how to cancel these process instances?
Thanks,
Kevin

The Best Answer

Advertisement
Status is in process
Here the stack trace:
Error while resuming process instance '8e4c498309bc11e0b5eb0000001532c2'.
[EXCEPTION]
com.sap.glx.adapter.api.AdapterException: Failed to cancel instance(s).
at com.sap.glx.process.adapter.bpmn.impl.BPMNAdapter.cancelProcessInstances(BPMNAdapter.java:2543)
at com.sap.glx.process.adapter.bpmn.impl.BPMNAdapter.cancelProcessInstance(BPMNAdapter.java:2511)
at com.sap.glx.process.impl.ProcessManagerImpl.cancelProcessInstance(ProcessManagerImpl.java:1248)
at com.sap.glx.process.impl.ProcessManagerImpl.cancelProcessInstances(ProcessManagerImpl.java:1266)
at com.sap.glx.process.impl.ProcessManagerBean.cancelProcessInstances(ProcessManagerBean.java:279)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:47)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:71)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:39)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:23)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:16)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:25)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:17)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:138)
at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:164)
at $Proxy2199.cancelProcessInstances(Unknown Source)
at com.sap.glx.nwa.pm.SAP_ITSAMGalaxyProcessManagerImpl.cancelProcessInstance(SAP_ITSAMGalaxyProcessManagerImpl.java:696)
at com.sap.glx.nwa.pm.SAP_ITSAMGalaxyProcessManagerWrapper.invoke(SAP_ITSAMGalaxyProcessManagerWrapper.java:329)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
at com.sap.pj.jmx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:468)
at com.sap.pj.jmx.server.interceptor.MBeanServerWrapperInterceptor.invoke(MBeanServerWrapperInterceptor.java:288)
at com.sap.engine.services.jmx.CompletionInterceptor.invoke(CompletionInterceptor.java:547)
at com.sap.pj.jmx.server.interceptor.BasicMBeanServerInterceptor.invoke(BasicMBeanServerInterceptor.java:277)
at com.sap.jmx.provider.ProviderInterceptor.invoke(ProviderInterceptor.java:340)
at com.sap.engine.services.jmx.RedirectInterceptor.invoke(RedirectInterceptor.java:340)
at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:367)
at com.sap.engine.services.jmx.MBeanServerSecurityWrapper.invoke(MBeanServerSecurityWrapper.java:289)
at com.sap.engine.services.jmx.ClusterInterceptor.invoke(ClusterInterceptor.java:813)
at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:367)
at com.sap.lm.itsam.ui.connection.impl.ITSAMUIMBeanServerConnectionWrapper.invoke(ITSAMUIMBeanServerConnectionWrapper.java:350)
at com.sap.tc.lm.itsam.ui.proxy.JMXGenericModelClassMBean.invokeOperation(JMXGenericModelClassMBean.java:613)
at com.sap.tc.lm.itsam.ui.proxy.JMXAbstractModelClass.invokeOperation(JMXAbstractModelClass.java:159)
at com.sap.tc.bpem.nwa.processmgmt.procmgmt.model.SAP_ITSAMGalaxyProcessManager.cancelProcessInstance(SAP_ITSAMGalaxyProcessManager.java:155)
at com.sap.tc.bpem.nwa.processmgmt.procmgmt.procmgmt.ProcMgmt.CancelProcesses(ProcMgmt.java:847)
at com.sap.tc.bpem.nwa.processmgmt.procmgmt.procmgmt.wdp.InternalProcMgmt.CancelProcesses(InternalProcMgmt.java:395)
at com.sap.tc.bpem.nwa.processmgmt.procmgmt.procmgmt.ProcMgmtView.onActionProcessCommand(ProcMgmtView.java:2030)
at com.sap.tc.bpem.nwa.processmgmt.procmgmt.procmgmt.wdp.InternalProcMgmtView.wdInvokeEventHandler(InternalProcMgmtView.java:896)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:142)
at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:75)
at com.sap.tc.webdynpro.clientserver.phases.ProcessingEventPhase.doHandleActionEvent(ProcessingEventPhase.java:159)
at com.sap.tc.webdynpro.clientserver.phases.ProcessingEventPhase.execute(ProcessingEventPhase.java:94)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequestPartly(WindowPhaseModel.java:162)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doProcessRequest(WindowPhaseModel.java:110)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:97)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:514)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:55)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doExecute(ClientApplication.java:1689)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doProcessing(ClientApplication.java:1503)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doApplicationProcessingStandalone(ApplicationSession.java:918)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doApplicationProcessing(ApplicationSession.java:890)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:343)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:315)
at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doContent(AbstractDispatcherServlet.java:87)
at com.sap.tc.webdynpro.serverimpl.wdc.DispatcherServlet.doContent(DispatcherServlet.java:76)
at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doPost(AbstractDispatcherServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:152)
at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:38)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:400)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:203)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:438)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:427)
at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:80)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:268)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)
at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:54)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:42)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:447)
at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:264)
at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)
Caused by: com.sap.glx.core.kernel.api.TransitionRollbackException: Exception during prepare, rolling back
at com.sap.glx.core.kernel.mmtx.AbstractTransactionBase.rollback(AbstractTransactionBase.java:746)
at com.sap.glx.core.kernel.mmtx.AbstractTransaction.do_prepare(AbstractTransaction.java:202)
at com.sap.glx.core.kernel.mmtx.AbstractTransaction.commit(AbstractTransaction.java:81)
at com.sap.glx.process.adapter.bpmn.impl.BPMNAdapter.cancelProcessInstances(BPMNAdapter.java:2540)
... 105 more
Caused by: com.sap.glx.core.kernel.api.TransitionException: An exception occurred while executing the script "_PDF_Rolle:DISRUPTOR(
object){
  delete object;
at com.sap.glx.core.kernel.execution.transition.ScriptTransition.execute(ScriptTransition.java:68)
at com.sap.glx.core.kernel.execution.transition.Transition.commence(Transition.java:138)
at com.sap.glx.core.kernel.mmtx.PrimaryTransaction.inPrepare(PrimaryTransaction.java:119)
at com.sap.glx.core.kernel.mmtx.AbstractTransaction.do_prepare(AbstractTransaction.java:200)
... 107 more
Caused by: com.sap.glx.core.kernel.api.TransitionException: An exception occurred while executing the script command "delete object"
at com.sap.glx.core.kernel.trigger.config.Script.execute(Script.java:803)
at com.sap.glx.core.kernel.execution.transition.ScriptTransition.execute(ScriptTransition.java:63)
... 110 more
Caused by: com.sap.bpem.tm.exception.TechnicalTaskException: Unable to retrieve parent go for go: 952bd6d6-09bc-11e0-ca1e-0000001532c2
at com.sap.bpem.tm.adapter.cachestore.CachingTaskStore.getTaskInstanceId(CachingTaskStore.java:346)
at com.sap.bpem.tm.adapter.cachestore.CachingTaskStore.dump(CachingTaskStore.java:319)
at com.sap.bpem.tm.adapter.cachestore.CachingTaskStore.remove(CachingTaskStore.java:334)
at com.sap.bpem.tm.adapter.invocation.TaskInvocationHandler.onDestruction(TaskInvocationHandler.java:311)
at com.sap.glx.core.dock.impl.DockObjectImpl.deletion(DockObjectImpl.java:226)
at com.sap.glx.core.dock.impl.DockObjectImpl.delete(DockObjectImpl.java:565)
at com.sap.glx.core.kernel.trigger.config.Script$DeleteInstance.execute(Script.java:298)
at com.sap.glx.core.kernel.trigger.config.Script.execute(Script.java:798)
... 111 more
  • Cancel process instance CE 7.2 Update:10-11

    Hi, it is not possible to cancel some of the process instances shown in NWA->manage processes. If I try there is an error and the default trace shows the following: Error while resuming process instance '2713e1d90ae511e0c1de0000001532c2'. [EXCEPTION]

  • OIM 10g : SQL Script to Delete or Cancel process instance tasks for user resources Update:10-11

    Hello, I have users with a resource with a process instance that have a large number (1000) of task instance related to reconciliations (Reconciliation Update Received). And when trying to revoke this resource, OIM take a long time to perfom this job

  • Canceling a Process Instance in Process Workspace Update:10-11

    Hi I need to provide Admin User a functionality to Cancel a process Instance. As per the section 4.5 of User's Guide for Oracle Business Process Management 11g Release1 (11.1.1.6.1) E 15175-07, the Process Owner can Cancel the Process Instance from P

  • Guided Procedure Administration: Error trying to stop process instance Update:11-30

    Hi guys, I habve a problem with the guided procedures. When I try to cancel a running process instance in the guided procedure administration, I get the error below. Has someone an idea what the reason could be? Br Matthias java.lang.NullPointerExcep

  • GP SP6: Find completion date of a process instance Update:11-30

    Hi all,    We are using GP SP6. We want to find out the actual completion date of a particular process instance. Something like <i>getActualEndDate()</i> that's available in SP7.    Is there a way to do this? Regards, Satyajit.Hi Satyajit, You

  • 'End Terminate' event does not completely terminate the process instance! Update:11-30

    Hi, my process make use of the 'End Terminate' event, this will be used pending on the outcome of a prior task, using the 'Exclusive' gateway. This works quite well but in case of process termination some strange behavior happens. The Enterprise Mana

  • Can not view audit trail of BPMN Process instance in Enterprise Manager Update:10-11

    I can not view the audit trail of BPMN Process instance in Enterprise Manager. When I try to click on BPMN process link inside process instance flow trace a NoClassDefFoundError error occurs. How can I fix this? ####<Jan 23, 2014 1:44:24 AM MSK> <

  • How to look for duplicate process instances? Update:10-11

    In Oracle BPM 11g, is there a good way to look for duplicate process instances based on process data attributes? For example, I have entered an instance of a process for 'John Smith' with a date of '4/1/2010' and I want to see if there is another ins

  • Inspection lot of cancelled process orders Update:10-11

    Hi Gurus, I would like to ask if there is an easier way of knowing if the order of an inspection lot was cancelled. Right now the business is on early lot creation, meaning once the order is created an inspection lot is also created. The problem is w

  • [OIM 9.1.0.2] Process Instance.Key missing with provisionResource API Update:10-11

    Hi guys, I face issue when i provision resource, i checked and it doesn't works because when resource is provisioned ORC_KEY in OIU table is not setted and i don't know why.. Resource is created in "Ready" state. This is what i do: ResourceData