Vadim Pakhnushev created IGNITE-26704:
-----------------------------------------
Summary: NPE in NodeConfigRegistryImpl.doGetState
Key: IGNITE-26704
URL: https://issues.apache.org/jira/browse/IGNITE-26704
Project: Ignite
Issue Type: Bug
Components: cli ai3
Reporter: Vadim Pakhnushev
Assignee: Vadim Pakhnushev
Sometimes there's a NPE in the logs when running CLI in REPL mode
{noformat}
[2025-10-13T21:12:15,303][WARN
][ForkJoinPool.commonPool-worker-2][LazyObjectRef] Got exception when fetch
from source
00:12:15
00:12:15 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
...
00:12:15 at
java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
00:12:15 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
00:12:15 at
org.apache.ignite.internal.cli.core.repl.registry.impl.NodeConfigRegistryImpl.doGetState(NodeConfigRegistryImpl.java:37)
00:12:15 at
org.apache.ignite.internal.cli.core.repl.registry.impl.NodeConfigRegistryImpl.doGetState(NodeConfigRegistryImpl.java:21)
00:12:15 at
org.apache.ignite.internal.cli.core.repl.registry.impl.RegistryImplBase.lambda$updateState$0(RegistryImplBase.java:37)
00:12:15 at
java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
00:12:15 ... 6 more
{noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)