You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Robbie Gemmell (JIRA)" <ji...@apache.org> on 2014/06/24 15:36:25 UTC

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

     [ https://issues.apache.org/jira/browse/QPID-5792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robbie Gemmell reassigned QPID-5792:
------------------------------------

    Assignee: Robbie Gemmell

> 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
>            Assignee: Robbie Gemmell
>             Fix For: 0.29
>
>         Attachments: patch.txt
>
>
> 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