NPE. Some Inbound queue messages are lost with an error in class com.collaxa.common.collections.BinaryHeap$MinComparator.compare (Doc ID 465150.1)

Last updated on JUNE 29, 2008

Applies to:

Oracle(R) BPEL Process Manager - Version: 10.1.3.1
This problem can occur on any platform.

Symptoms

On 10.1.3.1 in Production:
Under stress, some queue messages are losts and the following error is generated:

ERROR
<2007-10-22 17:56:16,293> <ERROR> <default.collaxa.cube.engine.dispatch>
<BaseScheduledWorker::process> Failed to handle dispatch message ... exception
java.lang.NullPointerException
at com.collaxa.common.collections.BinaryHeap$MinComparator.compare(BinaryHeap.java:308)
at com.collaxa.common.collections.BinaryHeap.percolateDownHeap(BinaryHeap.java:214)
at com.collaxa.common.collections.BinaryHeap.pop(BinaryHeap.java:192)
at com.collaxa.cube.engine.dispatch.InvokeQueue$IndexQueue.remove(InvokeQueue.java:221)
at com.collaxa.cube.engine.dispatch.InvokeQueue.fetchScheduled(InvokeQueue.java:123)
at
com.collaxa.cube.engine.dispatch.InvokeDispatchSet.fetchScheduled(InvokeDispatchSet.java:63)
at com.collaxa.cube.engine.dispatch.Dispatcher.fetchScheduled(Dispatcher.java:608)
at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:61)
at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
at sun.reflect.GeneratedMethodAccessor108.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at
com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at

com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at

com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at

com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterc
eptor.java:44)
at

com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at

oracle.j2ee.connector.messageinflow.MessageEndpointImpl.OC4J_invokeMethod(MessageEndpointImpl.java:2
97)
at WorkerBean_EndPointProxy_4bin6i8.onMessage(Unknown Source)
at oracle.j2ee.ra.jms.generic.WorkConsumer.run(WorkConsumer.java:266)
at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
at java.lang.Thread.run(Thread.java:797)

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