FilterBatchOperationException while using PAPI API in BPM (Doc ID 1338887.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Business Process Management Suite - Version 6.0.0 to 10.3
Information in this document applies to any platform.
***Checked for relevance on 21-August-2013***

Symptoms


When the following PAPI block API is executed inside an BPM activity, it does not return any results.
ProcessService.getInstancesByFilter(filter);

When complete stacktrace is generated (refer to <Note 1066304.1>) , following error is seen in engine logs:


fuego.papi.exception.FilterBatchOperationException: Could not execute filter for some processes.
Internal Exceptions:
>> /Process1#Default-1.0:
Process '/Process1#Default-1.0' not available.
Message: Could not execute filter for some processes.
Internal Exceptions:
>> /Process1#Default-1.0:
Process '/Process1#Default-1.0' not available.
Stack Trace:
at fuego.papi.impl.InstanceCache.getInstancesByFilter(InstanceCache.java:364)
at fuego.papi.impl.ProcessServiceImpl.getInstancesByFilter(ProcessServiceImpl.java:1369)
at fuego.papi.impl.ProcessServiceSessionImpl.processesGetInstancesByFilter(ProcessServiceSessionImpl.java:2396)
at fuegoblock.papi.ProcessService.getInstancesByFilter(ProcessService.java:166)
at xobject.BusinessObjects.MyBPMObject.getInstances(JDCaseFilter.xcdl:142)
at xobject.Fuego__AutoGen__Screenflows__.__Screenflow.getInstancesActivity(__GetCaseSF.xcdl:177)
at oracle.MyMainProcess.Default_1_0.Instance.CIL_getInstances(Instance.xcdl:1)
at oracle.MyMainProcess.Default_1_0.Instance.CIL_getInstances(Instance.xcdl)
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 fuego.server.execution.EngineExecutionContext.invokeMethodAsCil(EngineExecutionContext.java:1084)
at fuego.server.execution.EngineExecutionContext.runCil(EngineExecutionContext.java:1283)
at fuego.server.execution.TaskExecution.invoke(TaskExecution.java:401)
at fuego.server.execution.GlobalTaskExecution.invoke(GlobalTaskExecution.java:146)
at fuego.server.execution.TaskExecution.executeCIL(TaskExecution.java:513)
at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:697)
at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:657)
at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:154)
at fuego.server.execution.GlobalTaskExecution.executeGlobalCIL(GlobalTaskExecution.java:116)
at fuego.server.execution.GlobalTaskExecution.executeGlobalCIL(GlobalTaskExecution.java:96)
at fuego.server.execution.microactivity.GlobalInteractiveMicroActivity.execute(GlobalInteractiveMicroActivity.java:98)
at fuego.server.execution.microactivity.GlobalInteractiveMicroActivity.execute(GlobalInteractiveMicroActivity.java:73)
at fuego.server.AbstractProcessBean$44.execute(AbstractProcessBean.java:2975)
at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304)
at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:470)
at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66)
at fuego.server.AbstractProcessBean.runGlobalActivity(AbstractProcessBean.java:2968)
at fuego.ejbengine.EJBProcessControlAdapter.runGlobalActivity(EJBProcessControlAdapter.java:1090)
at fuego.ejbengine.EJBProcessControl_1zamnl_EOImpl.runGlobalActivity(EJBProcessControl_1zamnl_EOImpl.java:2951)
at fuego.ejbengine.EJBProcessControl_1zamnl_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:345)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
at fuego.ejbengine.EJBProcessControl_1zamnl_EOImpl_1030_WLStub.runGlobalActivity(Unknown Source)
at fuego.papi.impl.j2ee.EJBProcessControlInterfaceWrapper.runGlobalActivity(EJBProcessControlInterfaceWrapper.java:2065)
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 fuego.papi.impl.AbstractProcessControlHandler.invokeInternal(AbstractProcessControlHandler.java:72)
at fuego.papi.impl.j2ee.EJBProcessControlHandler.doInvoke(EJBProcessControlHandler.java:116)
at fuego.papi.impl.j2ee.EJBProcessControlHandler.invoke(EJBProcessControlHandler.java:70)
at $Proxy164.runGlobalActivity(Unknown Source)
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 fuego.lang.JavaClass.invokeMethod(JavaClass.java:1410)
at fuego.lang.JavaObject.invoke(JavaObject.java:227)
at fuego.papi.impl.j2ee.EJBExecution.next(EJBExecution.java:189)
at fuego.web.execution.InteractiveExecution.process(InteractiveExecution.java:177)
at fuego.web.execution.impl.WebInteractiveExecution.process(WebInteractiveExecution.java:54)
at fuego.web.execution.InteractiveExecution.process(InteractiveExecution.java:223)
at fuego.web.papi.TaskExecutor.runApplicationTask(TaskExecutor.java:349)
at fuego.web.papi.TaskExecutor.execute(TaskExecutor.java:95)
at fuego.workspace.servlet.ExecutorServlet.doAction(ExecutorServlet.java:117)
at fuego.workspace.servlet.BaseServlet.doPost(BaseServlet.java:229)
at fuego.workspace.servlet.BaseServlet.doGet(BaseServlet.java:220)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at fuego.workspace.servlet.AuthenticatedServlet.service(AuthenticatedServlet.java:138)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at fuego.web.filter.NoCacheNoStoreFilter.doFilter(NoCacheNoStoreFilter.java:39)
at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at fuego.web.filter.SingleThreadPerSessionFilter.doFilter(SingleThreadPerSessionFilter.java:64)
at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at fuego.web.filter.CharsetFilter.doFilter(CharsetFilter.java:48)
at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
>>>>

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms