You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vadim Pakhnushev (Jira)" <ji...@apache.org> on 2025/04/14 12:14:00 UTC
[jira] [Created] (IGNITE-25122) Improve node config registry error handling
Vadim Pakhnushev created IGNITE-25122:
-----------------------------------------
Summary: 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
When cluster is in the process of initialization and node config registry triggers an update, it can fail and log the following:
{noformat}
java.util.concurrent.CompletionException: 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 java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315) ~[?:?]
at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320) [?:?]
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1770) [?:?]
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760) [?:?]
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) [?:?]
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) [?:?]
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) [?:?]
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) [?:?]
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) [?:?]
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)