You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/01/14 00:09:39 UTC

[jira] [Commented] (AMQ-6125) Potential NPE in session rollback if no default redlivery policy configured

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

ASF subversion and git services commented on AMQ-6125:
------------------------------------------------------

Commit 92870553389ef288d81c4ad670463c4fb1002c69 in activemq's branch refs/heads/master from [~tabish121]
[ https://git-wip-us.apache.org/repos/asf?p=activemq.git;h=9287055 ]

https://issues.apache.org/jira/browse/AMQ-6125

Ensure that the redelivery policy is never null in the consumer.

> Potential NPE in session rollback if no default redlivery policy configured
> ---------------------------------------------------------------------------
>
>                 Key: AMQ-6125
>                 URL: https://issues.apache.org/jira/browse/AMQ-6125
>             Project: ActiveMQ
>          Issue Type: Bug
>            Reporter: Timothy Bish
>
> If the RedliveryPolicyMap is set on a ConnectionFactory and no default entry is set on that instance than the MessageConsumer can throw an NPE on Rollback because its policy will be null.



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