You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Andrey Aleksandrov (Jira)" <ji...@apache.org> on 2021/04/08 10:39:00 UTC

[jira] [Created] (IGNITE-14504) ClusterGroupEmptyException: Cluster group is empty error after client reconnect

Andrey Aleksandrov created IGNITE-14504:
-------------------------------------------

             Summary: ClusterGroupEmptyException: Cluster group is empty error after client reconnect
                 Key: IGNITE-14504
                 URL: https://issues.apache.org/jira/browse/IGNITE-14504
             Project: Ignite
          Issue Type: Bug
          Components: messaging
    Affects Versions: 2.10
            Reporter: Andrey Aleksandrov
            Assignee: Andrey Aleksandrov
             Fix For: 2.11
         Attachments: SendMessageAfterClientReconnect.java

Please run the attached test.

It will produce the following exception:

Exception in thread "main" class org.apache.ignite.cluster.ClusterGroupEmptyException: Cluster group is empty.
at org.apache.ignite.internal.util.IgniteUtils$6.apply(IgniteUtils.java:927)
at org.apache.ignite.internal.util.IgniteUtils$6.apply(IgniteUtils.java:925)
at org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:1083)
at org.apache.ignite.internal.IgniteMessagingImpl.send0(IgniteMessagingImpl.java:105)
at org.apache.ignite.internal.IgniteMessagingImpl.send(IgniteMessagingImpl.java:81)
at npe.IgnitePartitioningTest.main(IgnitePartitioningTest.java:110)
Caused by: class org.apache.ignite.internal.cluster.ClusterGroupEmptyCheckedException: Cluster group is empty.
at org.apache.ignite.internal.util.IgniteUtils.emptyTopologyException(IgniteUtils.java:5106)
at org.apache.ignite.internal.IgniteMessagingImpl.send0(IgniteMessagingImpl.java:100)
... 2 more

Fix:

change

return new ClusterGroupAdapter(ctx, null, Collections.singleton(cfg.getNodeId()));



--
This message was sent by Atlassian Jira
(v8.3.4#803005)