Open ddashenkov opened 3 weeks ago
I can't easily reproduce this, but adding some more null checks might help. It looks like this problem requires sorting, do you have a sorting or 'order' also? also, what does the "my_array" field look like in the schema?
The NPE is fixed by https://github.com/vespa-engine/vespa/pull/32507 but if you have any more details that could help me reproduce this I would be interested in digging a bit deeper.
@arnej27959, thanks for the update. I'll try to come up with a working example within a few days, one which, hopefully, I'll be able to test on a newer version of Vespa to check if the NPE is gone for me.
Describe the bug I run a complex query with several grouping requests. With this one particular grouping request, I first ouput all the hits of each group to get their IDs and then also output a single hit per group with a larger summary to get a particular field.
However, when I do so, the default renderer fails with a NPE:
It seems that the check at
AsynchronousSectionedRenderer.java:409
does not work as expected:The main issue is that I don't even get an error. Instead, the response JSON just cuts off like this:
To Reproduce
Here is the grouping request (formatted for better readability):
Expected behavior The output is rendered normally. Or, if this is the intended behavior, an error is rendered.
Environment (please complete the following information):
Vespa version 8.360.19 (I am not able to check if the behavior is different with a newer version at this time).
Additional context Since the input was cut off at the
summaryfeatures
, I addedomit-summary-features
to both summary classes. This did not seem to help.At this moment, I am not horribly affected by the issue because I process the group request results in a custom searcher and use a custom renderer.