[ https://issues.apache.org/jira/browse/IGNITE-25122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vadim Pakhnushev updated IGNITE-25122: -------------------------------------- Description: When cluster is in the process of initialization and node config registry triggers an update, it can fail and log the following: {noformat} Caused by: java.lang.NullPointerException: Cannot invoke "org.apache.ignite.internal.cli.call.configuration.JsonString.getValue()" because the return value of "org.apache.ignite.internal.cli.core.call.DefaultCallOutput.body()" is null at org.apache.ignite.internal.cli.core.repl.registry.impl.NodeConfigRegistryImpl.doGetState(NodeConfigRegistryImpl.java:37) at org.apache.ignite.internal.cli.core.repl.registry.impl.NodeConfigRegistryImpl.doGetState(NodeConfigRegistryImpl.java:21) at org.apache.ignite.internal.cli.core.repl.registry.impl.RegistryImplBase.lambda$updateState$0(RegistryImplBase.java:37) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?] ... 6 more {noformat} was: When cluster is in the process of initialization and node config registry triggers an update, it can fail and log the following: {noformat} Caused by: java.lang.NullPointerException: Cannot invoke "org.apache.ignite.internal.cli.call.configuration.JsonString.getValue()" because the return value of "org.apache.ignite.internal.cli.core.call.DefaultCallOutput.body()" is null at org.apache.ignite.internal.cli.core.repl.registry.impl.NodeConfigRegistryImpl.doGetState(NodeConfigRegistryImpl.java:37) at org.apache.ignite.internal.cli.core.repl.registry.impl.NodeConfigRegistryImpl.doGetState(NodeConfigRegistryImpl.java:21) at org.apache.ignite.internal.cli.core.repl.registry.impl.RegistryImplBase.lambda$updateState$0(RegistryImplBase.java:37) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?] ... 6 more {noformat} > Improve node config registry error handling > ------------------------------------------- > > Key: IGNITE-25122 > URL: https://issues.apache.org/jira/browse/IGNITE-25122 > Project: Ignite > Issue Type: Bug > Components: cli > Reporter: Vadim Pakhnushev > Assignee: Vadim Pakhnushev > Priority: Major > Labels: ignite-3 > > When cluster is in the process of initialization and node config registry > triggers an update, it can fail and log the following: > {noformat} > Caused by: java.lang.NullPointerException: Cannot invoke > "org.apache.ignite.internal.cli.call.configuration.JsonString.getValue()" > because the return value of > "org.apache.ignite.internal.cli.core.call.DefaultCallOutput.body()" is null > at > org.apache.ignite.internal.cli.core.repl.registry.impl.NodeConfigRegistryImpl.doGetState(NodeConfigRegistryImpl.java:37) > at > org.apache.ignite.internal.cli.core.repl.registry.impl.NodeConfigRegistryImpl.doGetState(NodeConfigRegistryImpl.java:21) > at > org.apache.ignite.internal.cli.core.repl.registry.impl.RegistryImplBase.lambda$updateState$0(RegistryImplBase.java:37) > at > java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) > ~[?:?] > ... 6 more > {noformat} -- This message was sent by Atlassian Jira (v8.20.10#820010)