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 2023/05/24 10:23:00 UTC
[jira] [Created] (IGNITE-19559) NPE in deploy/undeploy calls in non-REPL mode
Vadim Pakhnushev created IGNITE-19559:
-----------------------------------------
Summary: NPE in deploy/undeploy calls in non-REPL mode
Key: IGNITE-19559
URL: https://issues.apache.org/jira/browse/IGNITE-19559
Project: Ignite
Issue Type: Bug
Components: cli
Reporter: Vadim Pakhnushev
When running ItDeployUndeployCallsTest the following exception is printed:
{code:java}
java.lang.NullPointerException
at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1690)
at org.apache.ignite.internal.cli.logger.CliLoggers.addApiClient(CliLoggers.java:65)
at org.apache.ignite.internal.cli.core.rest.ApiClientFactory.getClient(ApiClientFactory.java:83)
at org.apache.ignite.internal.cli.call.unit.ListUnitCall.execute(ListUnitCall.java:46)
at org.apache.ignite.internal.cli.core.repl.registry.impl.UnitsRegistryImpl.lambda$updateState$1(UnitsRegistryImpl.java:57)
{code}
This happens due to the {{UnitsRegistryImpl}} being called from the {{DeployUnitCall}} even if we are not in the REPL mode.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)