lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-9701) NPE in export handler when "fl" parameter is omitted.
Date Sun, 30 Oct 2016 02:48:59 GMT

    [ https://issues.apache.org/jira/browse/SOLR-9701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15619120#comment-15619120
] 

ASF subversion and git services commented on SOLR-9701:
-------------------------------------------------------

Commit 42eab7035ed0d5ebc7ba87f8c08a7677b87b7bef in lucene-solr's branch refs/heads/master
from [~erickerickson]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=42eab70 ]

SOLR-9701: NPE in export handler when fl parameter is omitted.


> NPE in export handler when "fl" parameter is omitted.
> -----------------------------------------------------
>
>                 Key: SOLR-9701
>                 URL: https://issues.apache.org/jira/browse/SOLR-9701
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>    Affects Versions: trunk, 6.4
>            Reporter: Erick Erickson
>            Assignee: Erick Erickson
>            Priority: Minor
>         Attachments: SOLR-9701.patch, SOLR-9701.patch
>
>
> 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
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message