activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Paulsen (JIRA)" <>
Subject [jira] [Created] (APLO-371) ClassCastException on receiving first TRANSFER message
Date Thu, 13 Nov 2014 15:40:34 GMT
Lars Paulsen created APLO-371:

             Summary: ClassCastException on receiving first TRANSFER message
                 Key: APLO-371
             Project: ActiveMQ Apollo
          Issue Type: Bug
          Components: apollo-amqp
    Affects Versions: 1.6, 1.7
         Environment: INFO  | OS     : Windows Vista 6.0
INFO  | JVM    : Java HotSpot(TM) Client VM 1.8.0_25 (Oracle Corpo
INFO  | Apollo : 1.7 (at: C:\apollo\apache-apollo-1.7)
INFO  | Starting store: leveldb store at C:\apollo\mybroker\data
            Reporter: Lars Paulsen

I am running tests of an embedded system using QPID proton C stack connecting to a Windows
Vista PC running Apache Apollo 1.7. The transport protocol used is AMQP.

The connection establishment succeeds but when the Apollo server receives the first TRANSFER
message a ClassCastException is thrown:

2014-11-13 15:41:59,602 | WARN  | stackref=149a9991438
java.lang.ClassCastException: org.apache.qpid.proton.codec.DecoderImpl$UnknownDescribedType
cannot be cast to org.apache.qpid.proton.amqp.messaging.Section
	at org.apache.qpid.proton.message.impl.MessageImpl.decode(
	at org.apache.activemq.apollo.amqp.AmqpMessage.decoded(AmqpMessage.scala:86)
	at org.apache.activemq.apollo.amqp.AmqpProtocolHandler$AmqpProducerRoute.onMessage(AmqpProtocolHandler.scala:812)
	at org.apache.activemq.apollo.amqp.AmqpProtocolHandler$ProducerSupport$class.process(AmqpProtocolHandler.scala:782)
	at org.apache.activemq.apollo.amqp.AmqpProtocolHandler$AmqpProducerRoute.process(AmqpProtocolHandler.scala:788)
	at org.apache.activemq.apollo.amqp.AmqpProtocolHandler$$anon$3.processDelivery(AmqpProtocolHandler.scala:479)
	at org.apache.qpid.proton.hawtdispatch.impl.AmqpTransport.fireListenerEvents(
	at org.apache.qpid.proton.hawtdispatch.impl.AmqpTransport$AmqpTransportListener.process(
	at org.apache.qpid.proton.hawtdispatch.impl.AmqpTransport$AmqpTransportListener.onTransportCommand(
	at org.fusesource.hawtdispatch.transport.TcpTransport.drainInbound(
	at org.fusesource.hawtdispatch.transport.TcpTransport$
	at org.fusesource.hawtdispatch.internal.NioDispatchSource$

I am not sure if this problem is related to the Apache Apollo project or the Apache QPID project.
Also, I'm not sure if probably the received TRANSFER message is miscoded.

This is the message dump of the received TRANSFER:
RECV: / | Transfer{handle=0, deliveryId=0, deliveryTag=\x00Sp\xd0\x00\x00\x00\x0b\x00\x00\x00\x05BP\x04@
x83\x00\x00\x00\x00\x00\x00\x00\x00@R\x00@, messageFormat=0, settled=false, more=false, rcvSettleMode=null,
resume=false, aborted=false, batchable=false}

I hope this is not a fault from my side but I did not find any information to continue further
on my own.

This message was sent by Atlassian JIRA

View raw message