Commit 5d28df2
authored
EnrichProcessorFactory should not throw NPE if missing metadata (elastic#55977) (elastic#56843)
In some cases the Enrich processor factory may be called before it is
ready to create processors. While these calls are usually made in error,
the response from the Enrich processor is an NPE which is almost always
an unhelpful error when debugging an issue.1 parent e6d545e commit 5d28df2
File tree
1 file changed
+3
-0
lines changed- x-pack/plugin/enrich/src/main/java/org/elasticsearch/xpack/enrich
1 file changed
+3
-0
lines changedLines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
41 | 44 | | |
42 | 45 | | |
43 | 46 | | |
| |||
0 commit comments