qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Godfrey (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-6002) Server crash with Rabbit MQ C# client
Date Fri, 15 Aug 2014 11:10:18 GMT

    [ https://issues.apache.org/jira/browse/QPID-6002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14098459#comment-14098459

Rob Godfrey commented on QPID-6002:

OK - so you're seeing the issue because you are sending to a queue which does not exist, and
the Rabbit client is sending the default exchange as a null rather than an empty string (which
I think the Qpid clients do, which is why we've not seen this)... I've pathed the code on
trunk in the Qpid subversion repo to fix this... however to work around the issue with 0.28
you'd either need to ensure that you always send to queues that actually exist, or (if you
can - I'm unfamiliar with the Rabbit .net API) send the exchange as an empty string, rather
than null.

Apologies for the bug - I'll try to get the fix into the next release candidate for 0.30

> Server crash with Rabbit MQ C# client
> -------------------------------------
>                 Key: QPID-6002
>                 URL: https://issues.apache.org/jira/browse/QPID-6002
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.28
>         Environment: JVM : Oracle Corporation version: 1.7.0_45-b18 OS : Windows 8 version:
6.2 arch: amd64
>            Reporter: Antti Pirilä
> When I send a message using RabbitMQ C# client a get this exception to the log. The server
doesn't technically crash, but it becames unusable.
> java.lang.NullPointerException
> 	at org.apache.qpid.server.protocol.v0_8.AMQChannel.handleUnroutableMessage(AMQChannel.java:467)
> 	at org.apache.qpid.server.protocol.v0_8.AMQChannel.deliverCurrentMessageIfComplete(AMQChannel.java:403)
> 	at org.apache.qpid.server.protocol.v0_8.AMQChannel.publishContentBody(AMQChannel.java:508)
> 	at org.apache.qpid.server.protocol.v0_8.AMQProtocolEngine.contentBodyReceived(AMQProtocolEngine.java:655)
> 	at org.apache.qpid.framing.ContentBody.handle(ContentBody.java:72)
> 	at org.apache.qpid.server.protocol.v0_8.AMQProtocolEngine.frameReceived(AMQProtocolEngine.java:451)
> 	at org.apache.qpid.server.protocol.v0_8.AMQProtocolEngine.dataBlockReceived(AMQProtocolEngine.java:386)
> 	at org.apache.qpid.server.protocol.v0_8.AMQProtocolEngine.access$700(AMQProtocolEngine.java:88)
> 	at org.apache.qpid.server.protocol.v0_8.AMQProtocolEngine$2.run(AMQProtocolEngine.java:290)
> 	at org.apache.qpid.server.protocol.v0_8.AMQProtocolEngine$2.run(AMQProtocolEngine.java:273)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at javax.security.auth.Subject.doAs(Unknown Source)
> 	at org.apache.qpid.server.protocol.v0_8.AMQProtocolEngine.received(AMQProtocolEngine.java:272)
> 	at org.apache.qpid.server.protocol.v0_8.AMQProtocolEngine.received(AMQProtocolEngine.java:88)
> 	at org.apache.qpid.server.protocol.MultiVersionProtocolEngine.received(MultiVersionProtocolEngine.java:132)
> 	at org.apache.qpid.server.protocol.MultiVersionProtocolEngine.received(MultiVersionProtocolEngine.java:48)
> 	at org.apache.qpid.transport.network.io.IoReceiver.run(IoReceiver.java:161)
> 	at java.lang.Thread.run(Unknown Source)

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org

View raw message