Description
We saw test AMQPriorityQueueTest.testPriorityOrdering fail in build 133 with the following exception on the Qpid-Java-Java-Test-IBMJDK1.6 job profile.
org.apache.qpid.server.queue.AMQPriorityQueueTest.testPriorityOrdering
Failing for the past 1 build (Since #133 )
Took 0.17 sec.
Error Message
Index: 0, Size: 0
Stacktrace
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.get(ArrayList.java:343)
at org.apache.qpid.server.queue.AMQPriorityQueueTest.testPriorityOrdering(AMQPriorityQueueTest.java:69)
at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:137)
It also appears the delivery thread failed with a NPE:
Exception in thread "pool-3-thread-49" java.util.concurrent.RejectedExecutionException at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:1770) at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:778) at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:669) at org.apache.qpid.server.queue.SimpleAMQQueue.execute(SimpleAMQQueue.java:305) at org.apache.qpid.server.queue.QueueRunner.run(QueueRunner.java:100) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:896) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:735) Exception in thread "pool-3-thread-67" java.lang.NullPointerException at org.apache.qpid.server.queue.SimpleAMQQueue.setLastSeenEntry(SimpleAMQQueue.java:836) at org.apache.qpid.server.queue.SimpleAMQQueue.deliverMessage(SimpleAMQQueue.java:819) at org.apache.qpid.server.queue.SimpleAMQQueue.attemptDelivery(SimpleAMQQueue.java:1843) at org.apache.qpid.server.queue.SimpleAMQQueue.processQueue(SimpleAMQQueue.java:2010) at org.apache.qpid.server.queue.QueueRunner.run(QueueRunner.java:71) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:896) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:735)