You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Dejan Bosanac (JIRA)" <ji...@apache.org> on 2014/05/29 16:03:02 UTC

[jira] [Created] (QPID-5792) Decoding destinations with no attributes can lead to NullPointerException

Dejan Bosanac created QPID-5792:
-----------------------------------

             Summary: Decoding destinations with no attributes can lead to NullPointerException
                 Key: QPID-5792
                 URL: https://issues.apache.org/jira/browse/QPID-5792
             Project: Qpid
          Issue Type: Bug
          Components: Java Client
    Affects Versions: 0.26
            Reporter: Dejan Bosanac


Decoding destinations with no attributes can lead to NullPointerException

{code}Exception in thread "Thread-5" java.lang.NullPointerException
	at org.apache.qpid.amqp_1_0.jms.impl.MessageImpl.join(MessageImpl.java:1341)
	at org.apache.qpid.amqp_1_0.jms.impl.MessageImpl.setJMSDestination(MessageImpl.java:231)
	at org.apache.activemq.transport.amqp.JmsClientRequestResponseTest.onMessage(JmsClientRequestResponseTest.java:226)
	at org.apache.qpid.amqp_1_0.jms.impl.SessionImpl$Dispatcher.run(SessionImpl.java:910)
	at java.lang.Thread.run(Thread.java:722){code}

This can happen when using replyTo destination from the broker that didn't set attributes. We need to add extra check if attributes exists.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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