[ https://issues.apache.org/jira/browse/ARTEMIS-1672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Bertram resolved ARTEMIS-1672. ------------------------------------- Resolution: Invalid This bit of code no longer exists. > Coverity: Null pointer dereferences (REVERSE_INULL) in > ActiveMQServerImpl.java > ------------------------------------------------------------------------------- > > Key: ARTEMIS-1672 > URL: https://issues.apache.org/jira/browse/ARTEMIS-1672 > Project: ActiveMQ Artemis > Issue Type: Bug > Components: Broker > Affects Versions: 2.5.0 > Reporter: Jiri Daněk > Priority: Major > > {noformat} > ________________________________________________________________________________________________________ > *** CID 1465014: Null pointer dereferences (REVERSE_INULL) > /activemq-artemis/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ActiveMQServerImpl.java: > 2795 in > org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createQueue(org.apache.activemq.artemis.core.server.impl.AddressInfo, > org.apache.activemq.artemis.api.core.SimpleString, > org.apache.activemq.artemis.api.core.SimpleString, > org.apache.activemq.artemis.api.core.SimpleString, boolean, boolean, boolean, > boolean, boolean, int, boolean, boolean, boolean, boolean)() > 2789 } catch (Throwable ignored) { > 2790 logger.debug(ignored.getMessage(), ignored); > 2791 } > 2792 throw e; > 2793 } > 2794 > >>> CID 1465014: Null pointer dereferences (REVERSE_INULL) > >>> Null-checking "addrInfo" suggests that it may be null, but it has > >>> already been dereferenced on all paths leading to the check. > 2795 if (addrInfo == null || !addrInfo.isInternal()) { > 2796 managementService.registerQueue(queue, queue.getAddress(), > storageManager); > 2797 } > 2798 > 2799 callBrokerPlugins(hasBrokerPlugins() ? plugin -> > plugin.afterCreateQueue(queue) : null); > 2800 > {noformat} -- This message was sent by Atlassian Jira (v8.20.10#820010)