You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2014/03/25 06:13:43 UTC
[jira] [Resolved] (SOLR-5905) CollapsingQParserPlugin throws a NPE
if required 'field' param is missing
[ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org