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 GitHub Bot (Jira)" <ji...@apache.org> on 2021/11/18 18:13:00 UTC
[jira] [Work logged] (ARTEMIS-3586) ActiveMQActivationSpec equals method has switched singleConnection and useJNDI null pointer verification
[ https://issues.apache.org/jira/browse/ARTEMIS-3586?focusedWorklogId=683534&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-683534 ]
ASF GitHub Bot logged work on ARTEMIS-3586:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 18/Nov/21 18:12
Start Date: 18/Nov/21 18:12
Worklog Time Spent: 10m
Work Description: tlbueno opened a new pull request #3861:
URL: https://github.com/apache/activemq-artemis/pull/3861
The equals method on ActiveMQActivationSpec has a switched null pointer verification for singleConnection and useJNDI fields.
Since both fields are initialized with a value by default it should not be a problem but if one of these fields are set as null at some point and then equals is called it throws a NPE.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: gitbox-unsubscribe@activemq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Issue Time Tracking
-------------------
Worklog Id: (was: 683534)
Remaining Estimate: 0h
Time Spent: 10m
> ActiveMQActivationSpec equals method has switched singleConnection and useJNDI null pointer verification
> --------------------------------------------------------------------------------------------------------
>
> Key: ARTEMIS-3586
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3586
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Affects Versions: 2.19.0
> Reporter: Tiago Bueno
> Priority: Minor
> Fix For: 2.20.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The equals method on ActiveMQActivationSpec has a switched null pointer verification for singleConnection and useJNDI fields.
> Since both fields are initialized with a value by default it should not be a problem but if one of these fields are set as null at some point and then equals is called it throws a NPE.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)