ClassCastException: java.lang.String when making getInstanceByFilter call (Doc ID 2297028.1)

Last updated on AUGUST 14, 2017

Applies to:

Oracle Business Process Management Suite - Version 10.3 to 10.3.3
Information in this document applies to any platform.

Symptoms

Executing a getInstanceByFilter call using PAPIWS throws the following error:

Jun 6, 2017 1:54:46 AM com.sun.xml.ws.server.sei.EndpointMethodHandler invoke
INFO: Could not execute filter for any process.
fuego.papi.webservice.OperationException: Could not execute filter for any process.
  at fuego.papi.webservice.ProcessServiceSession.processesGetInstancesByFilter(ProcessServiceSession.java:1117)
  at sun.reflect.GeneratedMethodAccessor2049.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
...
Caused by: java.lang.ClassCastException: java.lang.String
at fuego.server.InstancesFilter.fixStatus(InstancesFilter.java:325)
at fuego.server.InstancesFilter.fixFilter(InstancesFilter.java:238)
at fuego.server.InstancesFilter.(InstancesFilter.java:112)
at fuego.server.AbstractProcessBean.getInstancesByFilter(AbstractProcessBean.java:1651)
at fuego.ejbengine.EJBProcessControlAdapter.getInstancesByFilter(EJBProcessControlAdapter.java:370)
at fuego.ejbengine.EJBProcessControl_1zamnl_EOImpl.getInstancesByFilter(EJBProcessControl_1zamnl_EOImpl.java:2293)
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.getInstancesByFilter(Unknown Source)
at fuego.papi.impl.j2ee.EJBProcessControlInterfaceWrapper.getInstancesByFilter(EJBProcessControlInterfaceWrapper.java:1185)
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.Me

 

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