Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Duplicate
-
1.3
-
None
-
None
-
Tomcat 5.5
Description
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.
Attachments
Attachments
Issue Links
- duplicates
-
SOLR-435 QParser must validate existence/absence of "q" parameter
- Closed