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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to