[
https://issues.apache.org/jira/browse/QPID-6002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14098380#comment-14098380
]
Rob Godfrey commented on QPID-6002:
-----------------------------------
Would I be correct in guessing that you are sending the message to the "no
name" default exchange?
the line in question where the NPE occurs is
{code}
getVirtualHost().getEventLogger().message(ExchangeMessages.DISCARDMSG(_currentMessage.getExchangeName().asString(),
_currentMessage.getMessagePublishInfo().getRoutingKey()
== null
? null
:
_currentMessage.getMessagePublishInfo()
.getRoutingKey()
.toString()));
{code}
which makes me suspect that the exchange on the message is null (which is not
itself an error, and the broker clearly has a bug here)
> 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
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]