7 Replies Latest reply on Dec 3, 2008 8:25 AM by Tim Fox

    Exception in thread "Thread-108" - java.util.NoSuchElementEx

    Prakash M Novice

      I am working on Migrating JBossMQ to JbossMessaging.
      Currently I am using Jboss-messaging-1.4.0.SP3-CP04, which is a fixpack 4 for Jbossmessaging 1.4.0.SP3.
      This is not an official release from JbossMessaging. I took from Jboss CVS repository.

      However I got the following exception while processing messages.

      25/10/2008 01:16:37,475 ERROR STDERR Exception in thread "Thread-108"

      25/10/2008 01:16:37,476 ERROR STDERR java.util.NoSuchElementException

      25/10/2008 01:16:37,476 ERROR STDERR at java.util.LinkedList.remove(LinkedList.java:644)

      25/10/2008 01:16:37,476 ERROR STDERR at java.util.LinkedList.removeFirst(LinkedList.java:134)

      25/10/2008 01:16:37,477 ERROR STDERR at java.util.LinkedList.poll(LinkedList.java:475)

      25/10/2008 01:16:37,485 ERROR STDERR at org.jboss.messaging.util.OrderedExecutorFactory$ChildExecutor.run(OrderedExecutorFactory.java:126)

      25/10/2008 01:16:37,485 ERROR STDERR at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)

      25/10/2008 01:16:37,485 ERROR STDERR at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)

      25/10/2008 01:16:37,486 ERROR STDERR at java.lang.Thread.run(Thread.java:595)

      How to resolve the above exception? Is there any configuration missing or is an known exception which doesn't affect the functionality?