lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <>
Subject NPE on startup when you comment out the queries in firstSearcher
Date Sun, 12 Jun 2011 13:03:09 GMT
I think this has been around forever (I'm seeing it in 1.4.1 too), but
I just happened to notice it. If you comment out the <arr
name="queries"> section in firstSearcher, you get an NPE as below:

Any reason I shouldn't make a patch and even apply it when I get my
credentials? It's a trivial fix, just return if the list is null.


SEVERE: java.lang.NullPointerException
	at org.apache.solr.core.QuerySenderListener.newSearcher(
	at org.apache.solr.core.SolrCore$
	at java.util.concurrent.FutureTask$Sync.innerRun(
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
	at java.util.concurrent.ThreadPoolExecutor$

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message