activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremy Leung (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQCPP-476) Reading of Stomp Frame with content length may throw excecption
Date Thu, 11 Apr 2013 09:23:16 GMT

    [ https://issues.apache.org/jira/browse/AMQCPP-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13628784#comment-13628784
] 

Jeremy Leung commented on AMQCPP-476:
-------------------------------------

I forgot this can be reproduced by using the BytesMessage instead of TextMessage.

activemq::test::stomp::StompSimpleRollbackTest::testRollbacks. : OK
activemq::test::stomp::StompTransactionTest::testSendReceiveTransactedBatches. : OK
activemq::test::stomp::StompTransactionTest::testSendRollback. : OK
activemq::test::stomp::StompTransactionTest::testWithTTLSet. : OK
activemq::test::stomp::StompSlowListenerTest::testSlowListener. : OK
activemq::test::stomp::StompSimpleTest::testAutoAck. : OK
activemq::test::stomp::StompSimpleTest::testClientAck. : OK
activemq::test::stomp::StompSimpleTest::testProducerWithNullDestination. : OK
activemq::test::stomp::StompSimpleTest::testSyncReceive. : OK
activemq::test::stomp::StompSimpleTest::testSyncReceiveClientAck. : OK
activemq::test::stomp::StompSimpleTest::testMultipleConnections. : OK
activemq::test::stomp::StompSimpleTest::testMultipleSessions. : OK
activemq::test::stomp::StompSimpleTest::testReceiveAlreadyInQueue. : OK
activemq::test::stomp::StompSimpleTest::testQuickCreateAndDestroy. : OK
activemq::test::stomp::StompExpirationTest::testExpired. : OK
activemq::test::stomp::StompExpirationTest::testNotExpired. : OK
activemq::test::stomp::StompDurableTest::testDurableConsumer. : assertionF
activemq::test::stomp::StompCmsConnectionStartStopTest::testStoppedConsumerHoldsMessagesTillStarted.
: OK
activemq::test::stomp::StompCmsConnectionStartStopTest::testMultipleConnectionStops. : OK
activemq::test::stomp::StompCmsConnectionStartStopTest::testConcurrentSessionCreateWithStart.
: OK
activemq::test::stomp::StompCmsTemplateTest::testBasics. : OK
activemq::test::stomp::StompCmsTemplateTest::testReceiveException. : OK
activemq::test::stomp::StompCmsTemplateTest::testSendException. : OK
activemq::test::stomp::StompBulkMessageTest::testBulkMessageSendReceive. : assertionF
activemq::test::stomp::StompAsyncSenderTest::testAsyncSends. : OK



!!!FAILURES!!!
Test Results:
Run:  25   Failures: 1   Errors: 0


1) test: activemq::test::stomp::StompBulkMessageTest::testBulkMessageSendReceive (F) line:
108 activemq/test/BulkMessageTest.cpp
unexpected exception caught
- Caught: cms::CMSException
- What(): StompWireFormat::readStompBody: Read Content Length, and no trailing null

                
> Reading of Stomp Frame with content length may throw excecption
> ---------------------------------------------------------------
>
>                 Key: AMQCPP-476
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-476
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: Stomp
>    Affects Versions: 3.6.0
>         Environment: Solaris 10
>            Reporter: Jeremy Leung
>            Assignee: Timothy Bish
>         Attachments: consumer.cpp, Publisher.java, StompFrame.cpp.patch.txt
>
>
> -- HOW TO REPRODUCE --
> 1) Setup a consumer to listen for messages on Topic XXX using CMS with stomp.
> 2) Setup a publisher to send a messages from java JMS interface to Topic XXX continually.
(with org.fusesource.stomp.jms.*)
> 3) An exception is thrown in consumer from StompWireFormat::readStompBody() with description
"Read Content Length, and no trailing null"
> -- BLOCK DIAGRAM --
> All components are in different hosts and all run under Solaris 10 environment.
> | C++ CONSUMER | <- | APOLLO 1.6 | <- | JAVA PUBLISHER |

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message