[ 
https://issues.apache.org/jira/browse/QPID-6411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14335136#comment-14335136
 ] 

ASF subversion and git services commented on QPID-6411:
-------------------------------------------------------

Commit 1662051 from [~godfrer] in branch 'qpid/trunk'
[ https://svn.apache.org/r1662051 ]

QPID-6411 : Don't throw an NPE if there is no Error associated with the a 
broker initiated detach

> [AMQP 1.0 JMS Client ] NPE during session#unsubscribe is link is refused but 
> detach contains no error condition
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-6411
>                 URL: https://issues.apache.org/jira/browse/QPID-6411
>             Project: Qpid
>          Issue Type: Bug
>          Components: JMS AMQP 1.0 Client
>    Affects Versions: 0.31
>            Reporter: Robbie Gemmell
>            Assignee: Rob Godfrey
>
> There is an NPE during session#unsubscribe if the created link is refused 
> (i.e null source on response) but is detached without an error code:
> {noformat}
> java.lang.NullPointerException: null
>       at org.apache.qpid.amqp_1_0.client.Receiver.<init>(Receiver.java:199)
>       at org.apache.qpid.amqp_1_0.client.Receiver.<init>(Receiver.java:88)
>       at 
> org.apache.qpid.amqp_1_0.jms.impl.SessionImpl.unsubscribe(SessionImpl.java:641)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to