[
https://issues.apache.org/jira/browse/SOLR-525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ryan McKinley resolved SOLR-525.
--------------------------------
Resolution: Duplicate
Thanks for posting a solution! This is the same as SOLR-435, but that has
lingered for a while.
> NullPointerException with no query or empty query
> -------------------------------------------------
>
> Key: SOLR-525
> URL: https://issues.apache.org/jira/browse/SOLR-525
> Project: Solr
> Issue Type: Bug
> Components: search
> Affects Versions: 1.3
> Environment: Tomcat 5.5
> Reporter: Lars Kotthoff
> Priority: Minor
> Attachments: solr-search-empty-query.patch
>
>
> When calling the search URL with no query or an empty query (i.e.
> http://localhost:8080/solr/select/ or http://localhost:8080/solr/select/?q=),
> Solr throws a NullPointerException. The value for the query string returned
> by the SolrParams object is null, but QueryComponent tries to process it.
> I encountered this bug because of a bug in my application calling the search
> URL, but arguably the response should be more constructive.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.