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 2024/02/09 10:56:00 UTC
[jira] [Commented] (ARTEMIS-4639) Artemis Cluster and NullpointerException in "sending topology"
[ https://issues.apache.org/jira/browse/ARTEMIS-4639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17816014#comment-17816014 ]
ASF subversion and git services commented on ARTEMIS-4639:
----------------------------------------------------------
Commit 20840cfdf1de78bf6a53aa9a98510cb52456b81a in activemq-artemis's branch refs/heads/main from Justin Bertram
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=20840cfdf1 ]
ARTEMIS-4639 NPEs when TopologyMember's primary is null
> Artemis Cluster and NullpointerException in "sending topology"
> --------------------------------------------------------------
>
> Key: ARTEMIS-4639
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4639
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: Broker, Clustering
> Affects Versions: 2.32.0
> Reporter: Jean-Pascal Briquet
> Assignee: Justin Bertram
> Priority: Major
> Fix For: 2.33.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> A {{NullPointerException}} may appear while the "sending topology" operation is being executed.
> *Configuration:*
> Artemis clustering enabled with static connectors using the option {{{}allow-direct-connections-only="true"{}}}.
> *Broker logs:*
> {noformat}
> 2024-02-06 22:06:14,259 WARN [org.apache.activemq.artemis.core.client] AMQ212030: error sending topology
> java.lang.NullPointerException: Cannot invoke "org.apache.activemq.artemis.api.core.TransportConfiguration.newTransportConfig(String)" because the return value of "org.apache.activemq.artemis.api.core.client.TopologyMember.getLive()" is null
> at org.apache.activemq.artemis.core.server.cluster.impl.ClusterConnectionImpl.nodeUP(ClusterConnectionImpl.java:755) ~[artemis-server-2.30.0.jar:2.30.0]
> at org.apache.activemq.artemis.core.client.impl.Topology$1.run(Topology.java:284) ~[artemis-core-client-2.30.0.jar:2.30.0]
> at org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:57) ~[artemis-commons-2.30.0.jar:?]
> at org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:32) ~[artemis-commons-2.30.0.jar:?]
> at org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:68) ~[artemis-commons-2.30.0.jar:?]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
> at org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118) [artemis-commons-2.30.0.jar:?]
> 2024-02-06 22:06:14,260 WARN [org.apache.activemq.artemis.core.client] AMQ212030: error sending topology
> java.lang.NullPointerException: Cannot invoke "org.apache.activemq.artemis.api.core.TransportConfiguration.getParams()" because "liveConnector" is null
> at org.apache.activemq.artemis.core.client.impl.TopologyMemberImpl.toURI(TopologyMemberImpl.java:133) ~[artemis-core-client-2.30.0.jar:2.30.0]
> at org.apache.activemq.artemis.core.protocol.openwire.OpenWireProtocolManager.generateMembersURI(OpenWireProtocolManager.java:536) ~[artemis-openwire-protocol-2.30.0.jar:2.30.0]
> at org.apache.activemq.artemis.core.protocol.openwire.OpenWireProtocolManager.newConnectionControl(OpenWireProtocolManager.java:521) ~[artemis-openwire-protocol-2.30.0.jar:2.30.0]
> at org.apache.activemq.artemis.core.protocol.openwire.OpenWireProtocolManager.updateClientClusterInfo(OpenWireProtocolManager.java:288) ~[artemis-openwire-protocol-2.30.0.jar:2.30.0]
> at org.apache.activemq.artemis.core.protocol.openwire.OpenWireProtocolManager.nodeUP(OpenWireProtocolManager.java:236) ~[artemis-openwire-protocol-2.30.0.jar:2.30.0]
> at org.apache.activemq.artemis.core.client.impl.Topology$1.run(Topology.java:284) ~[artemis-core-client-2.30.0.jar:2.30.0]
> at org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:57) ~[artemis-commons-2.30.0.jar:?]
> at org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:32) ~[artemis-commons-2.30.0.jar:?]
> at org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:68) ~[artemis-commons-2.30.0.jar:?]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
> at org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118) [artemis-commons-2.30.0.jar:?]{noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)