lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erick Erickson (JIRA)" <>
Subject [jira] [Resolved] (SOLR-9700) NPE in export handler when "fl" parameter is omitted.
Date Fri, 11 Nov 2016 00:28:58 GMT


Erick Erickson resolved SOLR-9700.
    Resolution: Duplicate

I managed to open two JIRAs for the price of one. Fixed in SOLR-9701

> NPE in export handler when "fl" parameter is omitted.
> -----------------------------------------------------
>                 Key: SOLR-9700
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>    Affects Versions: trunk, 6x
>            Reporter: Erick Erickson
>            Assignee: Erick Erickson
>            Priority: Minor
>             Fix For: trunk, 6.4
> This started when a user reported that if you do not specify any parameters for the export
handler, you get an NPE. I tracked it down to not specifying an "fl" parameter.
> But in general I rearranged the error reporting in SortingResponseWriter.write so that
immediately upon detecting a problem, the exception gets written to the output stream and
then return immediately rather than save it up for the end. Preliminary version of the patch
attached; it fixes the immediate problem.
> Still to see is if it breaks any tests since the first error detected will be returned
to the user rather than the last. I'll fix any tests that are sensitive to this and check
in sometime this weekend.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message