You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alan Woodward (JIRA)" <ji...@apache.org> on 2015/11/23 10:22:11 UTC

[jira] [Updated] (SOLR-8194) Improve error reporting UpdateRequest

     [ https://issues.apache.org/jira/browse/SOLR-8194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan Woodward updated SOLR-8194:
--------------------------------
    Attachment: SOLR-8194.patch

Patch adding Objects.requireNonNull() checks to the various UpdateRequest.add() methods, and some javadoc as well for good measure.  I'll get this in before the 5.4 branch is created.

> Improve error reporting UpdateRequest
> -------------------------------------
>
>                 Key: SOLR-8194
>                 URL: https://issues.apache.org/jira/browse/SOLR-8194
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 5.3
>            Reporter: Markus Jelsma
>            Assignee: Alan Woodward
>            Priority: Trivial
>             Fix For: 5.4
>
>         Attachments: SOLR-8194.patch
>
>
> SolrJ throws NPE if null documents are added to UpdateRequest. It should report a proper error message so i don't get confused the next time i skrew up. Please see: https://www.mail-archive.com/solr-user@lucene.apache.org/msg115074.html



--
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