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

Shalin Shekhar Mangar resolved SOLR-5905.
-----------------------------------------

       Resolution: Fixed
    Fix Version/s: 4.7.1
                   5.0
         Assignee: Shalin Shekhar Mangar

I changed the IllegalStateException to a SolrException with a bad request 
status to be in line with what we do in other places.

This fix will be available in 4.7.1. Thanks Spyros!

> CollapsingQParserPlugin throws a NPE if required 'field' param is missing
> -------------------------------------------------------------------------
>
>                 Key: SOLR-5905
>                 URL: https://issues.apache.org/jira/browse/SOLR-5905
>             Project: Solr
>          Issue Type: Bug
>          Components: query parsers
>    Affects Versions: 4.7, 5.0
>            Reporter: Spyros Kapnissis
>            Assignee: Shalin Shekhar Mangar
>            Priority: Minor
>             Fix For: 5.0, 4.7.1
>
>         Attachments: SOLR-5905.patch
>
>
> A NullPointerException is thrown if the required 'field' param is missing (in 
> the hashCode method). This might confuse the users if they forget or misspell 
> it.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to