Hi Suresh,

Just in case ... you're not using JDK 1.6 are you ? I had a few issues
previously with NoSuchMethodError which turned out to be a JDK bug. (If so -
try 1.5.0_08).

If not, sorry - not in the office today so haven't done an update :-(

Hth,
Marnie


On 10/24/06, Kodichath, Suresh <[EMAIL PROTECTED]> wrote:

Hi,

I am seeing the following failure in the Java tests (even with a new
trunk checked-out just a few minutes back), and the test hangs there for
a long time after this. Anybody know why this is happening?.



[junit] 4103 [pool-9-thread-1] WARN
org.apache.qpid.server.protocol.AMQPFastProtocolHandler -
[anonymous(16290468)] Unexpected exception from exceptionCaught handler.

   [junit] java.lang.ClassCastException: java.lang.NoSuchMethodError

   [junit]     at org.apache.qpid.pool.Event.<init>(Event.java:48)

   [junit]     at
org.apache.qpid.pool.PoolingFilter.exceptionCaught(PoolingFilter.java:12
8)

   [junit]     at
org.apache.mina.filter.ReferenceCountingIoFilter.exceptionCaught(Referen
ceCountingIoFilter.java:80)

   [junit]     at
org.apache.mina.common.support.AbstractIoFilterChain.callNextExceptionCa
ught(AbstractIoFilterChain.java:551)

   [junit]     at
org.apache.mina.common.support.AbstractIoFilterChain.access$900(Abstract
IoFilterChain.java:52)

   [junit]     at
org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.excepti
onCaught(AbstractIoFilterChain.java:771)

   [junit]     at
org.apache.mina.common.support.AbstractIoFilterChain$1.exceptionCaught(A
bstractIoFilterChain.java:105)

   [junit]     at
org.apache.mina.common.support.AbstractIoFilterChain.callNextExceptionCa
ught(AbstractIoFilterChain.java:551)

   [junit]     at
org.apache.mina.common.support.AbstractIoFilterChain.fireExceptionCaught
(AbstractIoFilterChain.java:542)

   [junit]     at
org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageRece
ived(AbstractIoFilterChain.java:506)

   [junit]     at
org.apache.mina.common.support.AbstractIoFilterChain.access$1000(Abstrac
tIoFilterChain.java:52)

   [junit]     at
org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.message
Received(AbstractIoFilterChain.java:777)

   [junit]     at
org.apache.mina.filter.codec.support.SimpleProtocolDecoderOutput.flush(S
impleProtocolDecoderOutput.java:60)

   [junit]     at
org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(Protoco
lCodecFilter.java:185)

   [junit]     at
org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageRece
ived(AbstractIoFilterChain.java:502)

   [junit]     at
org.apache.mina.common.support.AbstractIoFilterChain.access$1000(Abstrac
tIoFilterChain.java:52)

   [junit]     at
org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.message
Received(AbstractIoFilterChain.java:777)

   [junit]     at org.apache.qpid.pool.Event.process(Event.java:77)

   [junit]     at
org.apache.qpid.pool.PoolingFilter.fireEvent(PoolingFilter.java:65)

   [junit]     at
org.apache.qpid.pool.PoolingFilter.messageReceived(PoolingFilter.java:13
5)

   [junit]     at
org.apache.mina.filter.ReferenceCountingIoFilter.messageReceived(Referen
ceCountingIoFilter.java:96)

   [junit]     at
org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageRece
ived(AbstractIoFilterChain.java:502)

   [junit]     at
org.apache.mina.common.support.AbstractIoFilterChain.access$1000(Abstrac
tIoFilterChain.java:52)

   [junit]     at
org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.message
Received(AbstractIoFilterChain.java:777)

   [junit]     at org.apache.qpid.pool.Event.process(Event.java:77)

   [junit]     at org.apache.qpid.pool.Job.processAll(Job.java:78)

   [junit]     at org.apache.qpid.pool.Job.run(Job.java:100)

   [junit]     at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecuto
r.java:650)

   [junit]     at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja
va:675)

   [junit]     at java.lang.Thread.run(Thread.java:595)



Thanks!,

Suresh



Reply via email to