[ 
https://issues.apache.org/jira/browse/SOLR-3084?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bernd Fehling updated SOLR-3084:
--------------------------------

    Attachment: SOLR-3084.patch
    
> SolrException from QueryResponseWriter initWriters
> --------------------------------------------------
>
>                 Key: SOLR-3084
>                 URL: https://issues.apache.org/jira/browse/SOLR-3084
>             Project: Solr
>          Issue Type: Bug
>          Components: Response Writers
>            Reporter: Bernd Fehling
>             Fix For: 3.6, 4.0
>
>         Attachments: SOLR-3084.patch
>
>
> 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,spellcheck.build=true},
>  {q=(text:(*:*).....
> 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(SolrCore.java:1499)
>     at org.apache.solr.core.SolrCore.<init>(SolrCore.java:557)
>     at org.apache.solr.core.CoreContainer.create(CoreContainer.java:466)
>     at org.apache.solr.core.CoreContainer.load(CoreContainer.java:319)
> ... 
> It turned out that log.warn is always triggered, also for the first default 
> queryResponseWriter.
>     if(info.isDefault()){
>        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: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to