[BUG] NPE when updating ML index · Issue #3669 · opensearch-project/ml-commons

What is the bug? In some edge cases, we can get a null mapping through cluster service for an index, like .plugin-ml-task. We should check the mapping is null or not. The exception. java.lang.NullP...