We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 962cff9 commit e207c44Copy full SHA for e207c44
server/src/main/java/org/elasticsearch/ingest/IngestDocument.java
@@ -344,6 +344,9 @@ public void removeField(String path) {
344
345
@Nullable
346
private WriteField getWriteField(String path) {
347
+ if (path == null) {
348
+ return null;
349
+ }
350
if ((path.startsWith("$('") && path.endsWith("')")) || (path.startsWith("$(\"") && path.endsWith("\")"))) {
351
return new WriteField(path.substring(3, path.length() - 2), this::getCtxMap);
352
}
0 commit comments