[
https://issues.apache.org/jira/browse/IGNITE-19559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vadim Pakhnushev reassigned IGNITE-19559:
-----------------------------------------
Assignee: Vadim Pakhnushev
> 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
> Assignee: Vadim Pakhnushev
> Priority: Major
> Labels: ignite-3
>
> 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)