qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robbie Gemmell (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (QPID-5792) Decoding destinations with no attributes can lead to NullPointerException
Date Tue, 24 Jun 2014 13:36:26 GMT

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

Robbie Gemmell resolved QPID-5792.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.29

> 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


Mime
View raw message