fix possible NPE introduced in #60591
This commit is contained in:
parent
cfab3bccab
commit
1e01832b0c
|
@ -565,7 +565,7 @@ public class CompositeBucketsChangeCollector implements ChangeCollector {
|
|||
entry.getKey(),
|
||||
entry.getValue().getMissingBucket(),
|
||||
((DateHistogramGroupSource) entry.getValue()).getRounding(),
|
||||
entry.getValue().getField().equals(synchronizationField)
|
||||
entry.getValue().getField() != null && entry.getValue().getField().equals(synchronizationField)
|
||||
)
|
||||
);
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue