lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernd Fehling (Created) (JIRA)" <>
Subject [jira] [Created] (SOLR-3084) SolrException from QueryResponseWriter initWriters
Date Wed, 01 Feb 2012 09:01:00 GMT
SolrException from QueryResponseWriter initWriters

                 Key: SOLR-3084
             Project: Solr
          Issue Type: Bug
          Components: Response Writers
            Reporter: Bernd Fehling
             Fix For: 3.6, 4.0

This is from issue SOLR-2718 and came up after backporting that issue to branch_3x.
After that backport I get a SolrException.

Jan 31, 2012 1:50:15 PM org.apache.solr.core.SolrCore initListeners
INFO: [] Added SolrEventListener for firstSearcher: org.apache.solr.core.QuerySenderListener{queries=[{q=*:*,start=0,rows=10,},
Jan 31, 2012 2:00:10 PM org.apache.solr.common.SolrException log
SEVERE: org.apache.solr.common.SolrException: QueryResponseWriter init failure
    at org.apache.solr.core.SolrCore.initWriters(
    at org.apache.solr.core.SolrCore.<init>(
    at org.apache.solr.core.CoreContainer.create(
    at org.apache.solr.core.CoreContainer.load(

It turned out that log.warn is always triggered, also for the first default queryResponseWriter.
       defaultResponseWriter = writer;
       if(defaultResponseWriter != null)
          log.warn("Multiple default queryResponseWriter registered ignoring: " + old.getClass().getName());

Solution is to place "defaultResponseWriter = writer;" after the if clause.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


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

View raw message