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

Alan Woodward commented on SOLR-8194:
-------------------------------------

Throwing NPE is fine, I think, but we should do that when add() is called, 
rather than later during processing.

> 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
>
>
> 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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to