You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Spyros Kapnissis (JIRA)" <ji...@apache.org> on 2014/03/24 20:48:47 UTC

[jira] [Updated] (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 ]

Spyros Kapnissis updated SOLR-5905:
-----------------------------------

    Attachment: SOLR-5905.patch

A simple patch to handle this case.

> 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
>            Priority: Minor
>         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