qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bhupendra Bhardwaj (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Created: (QPID-377) NumberFormatException thrown by roker when running one performance test
Date Fri, 16 Feb 2007 11:52:05 GMT
NumberFormatException thrown by roker when running one performance test
-----------------------------------------------------------------------

                 Key: QPID-377
                 URL: https://issues.apache.org/jira/browse/QPID-377
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker
    Affects Versions: M2
            Reporter: Bhupendra Bhardwaj


Broker throws following error when running following test-

==
java -Xms256m -Dlog4j.configuration=perftests.log4j -Xmx3072m -Dbadger.level=warn -Damqj.test.logging.level=info
-Damqj.logging.level=info -cp qpid-perftests-1.0-incubating-M2-SNAPSHOT-all-test-deps.jar
uk.co.thebadgerset.junit.extensions.TKTestRunner -n PT-Qpid-2 -s [2] -t testAsyncPingOk org.apache.qpid.ping.PingAsyncTestPerf
pubsub=true  -o $QPID_WORK/results

==

2007-02-16 11:46:10,034 ERROR [pool-2-thread-6] protocol.AMQPFastProtocolHandler (AMQPFastProtocolHandler.java
:185) - Exception caught inAMQProtocolSession(/127.0.0.1:52851), closing session explictly:
org.apache.mina.fi
lter.codec.ProtocolDecoderException: java.lang.NumberFormatException: null (Hexdump: 00 00
00 00 CA 5F A3 E4 C
E)
org.apache.mina.filter.codec.ProtocolDecoderException: java.lang.NumberFormatException: null
(Hexdump: 00 00 0
0 00 CA 5F A3 E4 CE)
        at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:169)
        at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.
java:502)
        at org.apache.mina.common.support.AbstractIoFilterChain.access$1000(AbstractIoFilterChain.java:52)
        at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterCh
ain.java:777)
        at org.apache.qpid.pool.Event$ReceivedEvent.process(Event.java:55)
        at org.apache.qpid.pool.Job.processAll(Job.java:81)
        at org.apache.qpid.pool.Job.run(Job.java:103)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NumberFormatException: null
        at java.lang.Long.parseLong(Long.java:372)
        at java.lang.Long.parseLong(Long.java:461)
        at org.apache.qpid.framing.BasicContentHeaderProperties.decode(BasicContentHeaderProperties.java:301)
        at org.apache.qpid.framing.BasicContentHeaderProperties.populatePropertiesFromBuffer(BasicContentHeade
rProperties.java:256)
        at org.apache.qpid.framing.ContentHeaderPropertiesFactory.createContentHeaderProperties(ContentHeaderP
ropertiesFactory.java:54)
        at org.apache.qpid.framing.ContentHeaderBody.populateFromBuffer(ContentHeaderBody.java:69)
        at org.apache.qpid.framing.AMQFrame.populateFromBuffer(AMQFrame.java:69)
        at org.apache.qpid.framing.AMQDataBlockDecoder.createAndPopulateFrame(AMQDataBlockDecoder.java:101)
        at org.apache.qpid.framing.AMQDataBlockDecoder.decode(AMQDataBlockDecoder.java:114)
        at org.apache.qpid.codec.AMQDecoder.doDecodeDataBlock(AMQDecoder.java:74)
        at org.apache.qpid.codec.AMQDecoder.doDecode(AMQDecoder.java:57)
        at org.apache.mina.filter.codec.CumulativeProtocolDecoder.decode(CumulativeProtocolDecoder.java:135)
        at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:158)
        ... 9 more
2007-02-16 11:46:10,038 ERROR [pool-2-thread-6] protocol.AMQPFastProtocolHandler (AMQPFastProtocolHandler.java
:185) - Exception caught inAMQProtocolSession(/127.0.0.1:52851), closing session explictly:
org.apache.mina.fi
lter.codec.ProtocolDecoderException: java.lang.NumberFormatException: null (Hexdump: 00 00
00 00 CA 5F A3 E5 C
E)
org.apache.mina.filter.codec.ProtocolDecoderException: java.lang.NumberFormatException: null
(Hexdump: 00 00 0
0 00 CA 5F A3 E5 CE)
        at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:169)
        at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.
java:502)
        at org.apache.mina.common.support.AbstractIoFilterChain.access$1000(AbstractIoFilterChain.java:52)
        at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterCh
ain.java:777)
        at org.apache.qpid.pool.Event$ReceivedEvent.process(Event.java:55)
        at org.apache.qpid.pool.Job.processAll(Job.java:81)
        at org.apache.qpid.pool.Job.run(Job.java:103)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NumberFormatException: null
        at java.lang.Long.parseLong(Long.java:372)
        at java.lang.Long.parseLong(Long.java:461)
        at org.apache.qpid.framing.BasicContentHeaderProperties.decode(BasicContentHeaderProperties.java:301)
        at org.apache.qpid.framing.BasicContentHeaderProperties.populatePropertiesFromBuffer(BasicContentHeade
rProperties.java:256)
        at org.apache.qpid.framing.ContentHeaderPropertiesFactory.createContentHeaderProperties(ContentHeaderP
ropertiesFactory.java:54)
        at org.apache.qpid.framing.ContentHeaderBody.populateFromBuffer(ContentHeaderBody.java:69)
        at org.apache.qpid.framing.AMQFrame.populateFromBuffer(AMQFrame.java:69)
        at org.apache.qpid.framing.AMQDataBlockDecoder.createAndPopulateFrame(AMQDataBlockDecoder.java:101)
        at org.apache.qpid.framing.AMQDataBlockDecoder.decode(AMQDataBlockDecoder.java:114)
        at org.apache.qpid.codec.AMQDecoder.doDecodeDataBlock(AMQDecoder.java:74)
        at org.apache.qpid.codec.AMQDecoder.doDecode(AMQDecoder.java:57)
        at org.apache.mina.filter.codec.CumulativeProtocolDecoder.decode(CumulativeProtocolDecoder.java:135)
        at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:158)
        ... 9 more
2007-02-16 11:46:10,040 ERROR [pool-2-thread-6] protocol.AMQPFastProtocolHandler (AMQPFastProtocolHandler.java
:185) - Exception caught inAMQProtocolSession(/127.0.0.1:52851), closing session explictly:
java.lang.IllegalS
tateException: Handed undecoded ByteBuffer buf = HeapBuffer[pos=0 lim=12 cap=32768: 01 00
00 00 00 00 04 00 0A
 00 3D CE]
java.lang.IllegalStateException: Handed undecoded ByteBuffer buf = HeapBuffer[pos=0 lim=12
cap=32768: 01 00 00
 00 00 00 04 00 0A 00 3D CE]
        at org.apache.qpid.server.protocol.AMQPFastProtocolHandler.messageReceived(AMQPFastProtocolHandler.jav
a:207)
        at org.apache.mina.common.support.AbstractIoFilterChain$2.messageReceived(AbstractIoFilterChain.java:1
89)
        at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.
java:502)
        at org.apache.mina.common.support.AbstractIoFilterChain.access$1000(AbstractIoFilterChain.java:52)
        at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterCh
ain.java:777)
        at org.apache.qpid.pool.Event$ReceivedEvent.process(Event.java:55)
        at org.apache.qpid.pool.Job.processAll(Job.java:81)
        at org.apache.qpid.pool.Job.run(Job.java:103)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message