_all query returning null pointer exception while parent-child document exists

Hi,

I am getting a nullpointerexception while doing _all query with a index which have parent-child relation
Index Document:

This is not hapenning if I index only the child type. Any clues??

Can you provide us with the stack trace that you are hitting? It might be the same as https://github.com/elastic/elasticsearch/pull/15506