You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Mirza Aliev (Jira)" <ji...@apache.org> on 2024/05/03 09:12:00 UTC

[jira] [Created] (IGNITE-22163) Fix potential NPE in IndexManager

Mirza Aliev created IGNITE-22163:
------------------------------------

             Summary: Fix potential NPE in IndexManager 
                 Key: IGNITE-22163
                 URL: https://issues.apache.org/jira/browse/IGNITE-22163
             Project: Ignite
          Issue Type: Bug
            Reporter: Mirza Aliev


{{org.apache.ignite.internal.index.IndexManager#getMvTableStorage}} could produce NPE 
if {{tableAsync}} is not ready 

{code:java}
    CompletableFuture<MvTableStorage> getMvTableStorage(long causalityToken, int tableId) {
        return tableManager.tableAsync(causalityToken, tableId).thenApply(table -> table.internalTable().storage());
    }
{code}

Need to fix this 




--
This message was sent by Atlassian Jira
(v8.20.10#820010)